RE: [WSG]Can any JavaScript/DOM gurus help?
Ben, Thanks for the heads up. As I'm under time constraints, I've had to resort to using an HTML 4.01 doctype, which isn't the ultimate solution, but puts Mozilla etc into quirks mode which works. I see now that using indented lists is certainly a good solution for cross browser drop downs - I need to look at that further. Regards, David McDonald Web Designer http://www.davidmcdonald.org Southbank, Melbourne Australia Mobile: 0403 332 140 ICQ: 11814164 -Original Message- From: Ben Boyle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 September 2003 11:46 PM To: [EMAIL PROTECTED] Subject: [WSG]Can any JavaScript/DOM gurus help? I've not had time to review the script in question. But since the topic has come up, I have a drop-down menu in development that might be useful, for comparitive purposes if nothing else. I know there are still bugs with the stylesheet to track down in various browsers. http://inspire.server101.com/js/Benmb/mb.html Expanding menu is a bit more robust: http://inspire.server101.com/js/xc/ as are the tabbed panels ... http://inspire.server101.com/js/tp/ Enjoy :) ps: if anyone spots bugs let me know. cheers Ben * The discussion list for http://webstandardsgroup.org/ * * The discussion list for http://webstandardsgroup.org/ *
RE: [WSG]Can any JavaScript/DOM gurus help?
Oops..forgot the URL for the page: http://www.davidmcdonald.dyndns.org:8844/content.asp Regards, David McDonald Web Designer http://www.davidmcdonald.org Southbank, Melbourne Australia Mobile: 0403 332 140 ICQ: 11814164 -Original Message- From: David McDonald [mailto:[EMAIL PROTECTED] Sent: Monday, 29 September 2003 9:44 PM To: [EMAIL PROTECTED] Subject: [WSG]Can any JavaScript/DOM gurus help? This may be a little off list, but here goes: I'm building a CSS/XHTML site for a client. They have provided JavaScript menu drop down code, which I have scaled back to the bare essentials: http://www.davidmcdonald.dyndns.org:8844/DropDownMenu/menu.js http://www.davidmcdonald.dyndns.org:8844/DropDownMenu/nav_example.asp Things work OK in IE 6 if I use the transitional doctype with an XML declaration: drop downs work fine. However, in Mozilla, Opera etc the drop downs stay in the same position. If I use a strict doctype same thing happens in IE 6. The CSS is at: http://www.davidmcdonald.dyndns.org:8844/styles/global.css http://www.davidmcdonald.dyndns.org:8844/styles/menu.css The dropdown divs are absolutely positioned inside a relative div named #menudropdown. The JavaScript changes the display on the dropdown divs from 'none' to 'block' when needed. I am assuming that the 'block' display is the culprit here? Regards, David McDonald Web Designer http://www.davidmcdonald.org Southbank, Melbourne Australia Mobile: 0403 332 140 ICQ: 11814164 * The discussion list for http://webstandardsgroup.org/ * * The discussion list for http://webstandardsgroup.org/ *