source: trunk/template-common/tooltipfix.htc @ 4423

Last change on this file since 4423 was 3282, checked in by plg, 15 years ago

change: according to topic:15067, svn:keywords property was removed

  • Property svn:eol-style set to LF
File size: 523 bytes
Line 
1<public:attach event="onmouseover" onevent="montrer()" />
2<public:attach event="onmouseout"  onevent="cacher()" />
3
4<script langage=javascript>
5var thisImg = this;
6var thisTitle = this.title;
7var thisAlt = this.alt;
8var thisA = this.parentNode;
9var aTitle = thisA.title;
10
11function montrer()
12{
13  if (aTitle)
14  {
15    thisAlt=thisImg.alt;
16    thisImg.alt=aTitle;
17    thisImg.title=aTitle;
18  }
19  return;
20}
21
22function cacher() {
23  if (thisAlt)
24  {
25    thisImg.alt=thisAlt;
26    thisImg.title=thisTitle;
27  }
28  return;
29}
30</script>
31
Note: See TracBrowser for help on using the repository browser.