[–] omgmog 14y ago ↗ Looks nice, but instead of using dreamweaver MM_ javascript functions to show/hide layers, why not use PURE css :hover?Something like:#stan #stanTeteOeilGaucheToucheTrait { display:none; } #stan:hover #stanTeteOeilGaucheToucheTrait { display:block; }and so on for each bit you are toggling, or even group the toggled layers into one div and show/hide that on hover:#stan .toggledLayers { display:none; } #stan:hover .toggledLayers { display:block; }Would reduce the amount of redundant code :)(hope yc doesn't destroy my comment)
1 comment
[ 3.6 ms ] story [ 7.1 ms ] threadSomething like:
#stan #stanTeteOeilGaucheToucheTrait { display:none; } #stan:hover #stanTeteOeilGaucheToucheTrait { display:block; }
and so on for each bit you are toggling, or even group the toggled layers into one div and show/hide that on hover:
#stan .toggledLayers { display:none; } #stan:hover .toggledLayers { display:block; }
Would reduce the amount of redundant code :)
(hope yc doesn't destroy my comment)