Hi Kepler,
css/museadvisory_menus.css isn't relevant any more. I was using it in a
previous version but hadn't removed the reference from the markup.
When the page started out there were no requirements for any dropdown
navigation, so everything was just handled by #contentLeft. Then a
request for a dropdown was made and I added the code & css per the
example on List Apart. The associated javascript uses the #dropnav id to
apply a class of 'over' - see below.
Maybe the problems are down to the confusion between #contentLeft and
#dropnav?
Javascript code is :
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("dropnav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}
window.onload=startList;
Nick
Kepler Gelotte wrote:
Have tested so far in FF, IE 6 and Opera 8.x on Windows. All seems fine
in FF and IE, but there is a positioning and functionality problem in
Opera, with the submenus appearing at top of page and not acting as links.
It doesn't appear that you have css/museadvisory_menus.css on your server
and css/museadvisory_main.css doesn't reference #dropnav at all so the
positioning of the list is being handled by #contentLeft. Did you forget to
move the menu CSS file to the server?
Regards,
Kepler Gelotte
http://www.neighborwebmaster.com
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
--
Nick Roper
partner
logical elements
innovative web and internet solutions
zend/php & mysql approved partner
email: [EMAIL PROTECTED]
phone: +44 1749 676798
www: www.logical.co.uk
skype: nick.roper / +44 20 7870 9587
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************