/[suikacvs]/www/test/css/trident/expression/pseudo-hover.html
Suika

Diff of /www/test/css/trident/expression/pseudo-hover.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by wakaba, Tue May 24 01:41:33 2005 UTC revision 1.4 by wakaba, Tue May 24 01:43:49 2005 UTC
# Line 5  Line 5 
5  <style type="text/css">  <style type="text/css">
6  li {  li {
7    behavior: expression(function (el) {    behavior: expression(function (el) {
8      el.onmouseover = function () { this.className += ' hover' };      el.onmouseover = function () { this.className += ' HOVER' };
9      el.onmouseout = function () { this.className = this.className.replace (/\\s*hover\\b/g, '') };      el.onmouseout = function () { this.className = this.className.replace (/\\s*HOVER\\b/g, '') };
10      runtimeStyle.bahavior = 'none';      runtimeStyle.bahavior = 'none';
11    } (this));    } (this));
12  }  }
13  li.hover {  li:hover,
14    li.HOVER {
15    color: red;    color: red;
16    background-color: white;    background-color: white;
17  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24