Horizontal Menu - can the second level be horizontal too?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
niq

Horizontal Menu - can the second level be horizontal too?

Post by niq »

Hi - I've used the Default CSSMenu Horizontal template. Is there are a way to make the second, or indeed third level menu also appear horizontally - For example on this website: http://www.stellaartoistennis.com/?

Thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Horizontal Menu - can the second level be horizontal too?

Post by Dr.CSS »

niq

Re: Horizontal Menu - can the second level be horizontal too?

Post by niq »

So I guess what i'm after is on rolling over the first level horizontal menu - for the second level menu to appear directly under and also horizontally - not vertically - like in the attached example and on this site: http://www.stellaartoistennis.com/

ie

nav1  |  nav2  |  nav3
subnav1  |  subnav2  |  subnav3  |  subnav4

as opposed to:

nav1  |  nav2  |  nav3
- subnav1
- subnav2
- subnav3
- subnav4


Thanks!

[attachment deleted by admin]
lexan

Re: Horizontal Menu - can the second level be horizontal too?

Post by lexan »

Hi I think your q was answered by Mark - he just have several menus in the second level - you dont have to have that many, you could make a third level to make it more readable.

Alex.
niq

Re: Horizontal Menu - can the second level be horizontal too?

Post by niq »

aah - the example Mark had isn't working for me in IE - just in Firefox. I'm getting a JavaScript error in IE.  I just checked in Firefox and I can see it working. I'll take a look at how this is done - thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Horizontal Menu - can the second level be horizontal too?

Post by Dr.CSS »

S**T thought i checked it in that Oso wonderful IE....
got this from  http://alistapart.com/articles/hybrid
that one works in IE ???
still can't tweak it to work ???  OH well back to hackin... someday IE will catchup with the standards HAHAHAHA  :D

JS error..
line:15
Char:2
Error: 'document.getElementById(...)' is null or not an object
Code: 0

Code: Select all

startList = function() {
if (document.all && document.getElementById) {
navRoot = document.getElementById("nav");
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;
Locked

Return to “Layout and Design (CSS & HTML)”