need javascript to get drop down and slide out menus to work for IE?
not likely.
here, Stu Nicholls has a validating drop down and slide out css only menu that works cross browser.
http://www.cssplay.co.uk/menus/dd_valid.html
need javascript to get drop down and slide out menus to work for IE?
not likely.
here, Stu Nicholls has a validating drop down and slide out css only menu that works cross browser.
http://www.cssplay.co.uk/menus/dd_valid.html
Originally Posted by Jeff Henager
It is sad but true. In IE6 :hover only works for <a> elements as I already said, but a little javascript file fixes that in IE6.Originally Posted by Jaqui
"The Internet treats censorship as damage and routes around it." - John Gilmore
Validating doesn't necessarily mean valid. Sure, the page validates and is even valid when looking at Firefox's DOM tree. But IE's DOM tree is not valid.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
But the menu I posted the url to doesn't use js, and does function with IE.
it validates against the w3c xhtml/xml and css validation tools, which was what I meant by it is validating.
I never worry about browser specific dom trees, since to have a page be valid in the browser trees you need to have a page for each browser. If the W3C's tools say it's valid, then that is good enough for me.
[The standards setting body takes precidence over application developers choices ]
Originally Posted by Jeff Henager
On that page there's a special CSS file for IE, where the :hover is not on the LI element, but on the A.
But more complex dropdown menus (multi-level etc.) need :hover to work with LI too.
Also, look at this part of source code, this makes me laugh (it's taken from that site):
Code:<br /><br /> <h3>NO javascript - just CSS - and it validates</h3> <div id="adsie"> <script type="text/javascript"> google_ad_client = "pub-6651950180071236"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "aa4400"; google_color_url = "ff9933"; google_color_text = "555555"; </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div>
Last edited by maxorator; 10-24-2006 at 01:19 AM.
"The Internet treats censorship as damage and routes around it." - John Gilmore
yup, the advertisements are google, which is js.
the menu part is not js based.
since I turn off js by default, I just don't see the advertisements.
I actually do not enable any clientside scripting.
most of the time, I use lynx to browse online, so no images either.
or tables
or frames
only the textual content of the site.
Originally Posted by Jeff Henager
The site uses conditional comments to give IE different source code than other browsers. This is ingenious, I will admit, but the result is still that IE sees invalid code.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
How does that matter?This is ingenious, I will admit, but the result is still that IE sees invalid code.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)