• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Custom vertical slide navigation component in javascript.....

 
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, Im wanting to implement a custom vertical slide navigation component in javascript code.

I have it to where if you hover over an item that has a sub list, it goes to the next, but I only have it to where it can go to one sub list.

I'm not sure how I'm going to keep track of the other sub lists of sub lists.

I was thinking about using a 'this.next' variable that hold the string name of the id of the next menu, and also have a 'this.prev' for the string name of the id of the previous menu, but I don't know how I'm going to get around the fact that if I move off of an item, go back to the root node 'mainmenu', but if i go off of one menu to a submenu, it will execute that same cod on "onmouseout" and go back to root menu 'mainmenu' each time.

I'm lost

Justin Fox
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic