source: branches/1.7/template-common/tooltipfix.htc @ 5306

Last change on this file since 5306 was 1900, checked in by rub, 18 years ago

Apply property svn:eol-style Value: LF

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
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.