[Javascript] Modern usage

Triche Osborne wdlists at triche-osborne.com
Wed Apr 19 13:49:41 CDT 2006


Bill Moseley wrote:
>>- The only thing this script provides that isn't possible using CSS 
>>alone is the sliding effect, which for me is too minor a benefit to 
>>justify its downsides.
> 
> 
> I also agree.  But even with css-based menus you still need
> javascript for IE, right?  Well, at least when using li:hover to
> trigger the menus.

If you want a pop-out or dropdown effect, JavaScript is necessary for IE 
because it doesn't support the pseudo-class for LI. If you want a true 
sliding effect, you have to use JavaScript for all browsers because the 
slide requires timing to create the effect.

Triche




More information about the Javascript mailing list