• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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
 
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic