Creating an advanced jQuery dropdown


Post Number: 289

9 months ago

  • Posts: 5
  • Joined: Nov 27, 2010
euantor's Avatar

euantor

Member

I just thought I'd share the code I use when creating jQuery powered dropdowns. You can both demo it and see the actual code at jsFiddle here: http://jsfiddle.net/euantor/WsRkv/embedded/result/
The menu automatically closes if you click anywhere else on the page and the content of the drop down hook changes when the dropdown is opened. You could use the same technique to have an image that changes.
If you have any question, feel free to ask them.

Like
1 person likes this post.
Post Number: 775

4 months ago

  • Posts: 7
  • Joined: Jan 17, 2012
DarkGizmo's Avatar

DarkGizmo


Great tutorial of sorts :D Very useful. I'll be using this in an upcoming design I plan on making in the future :D