trying_hal9000
trying_hal9000

Reputation: 4403

Jquery: re creating googles drop down menu

I've used this blog post to help recreate google's drop down menu but I'm having a problem getting drop down. Can someone re fiddle and let me know where I'm going wrong? thanks a lot.

http://jsfiddle.net/rKaPN/

Upvotes: 0

Views: 75

Answers (1)

BZink
BZink

Reputation: 7957

You never call the jQuery function. You define it but never call it. Look at line 8-12 on the tutorial's HTML source. That was all you were missing.

You also need to set up jsFiddle to load the jquery libraries and execute your code on load. All the menus on the left do that for you.

It's working after those two changes. Check out my update here...

http://jsfiddle.net/rKaPN/1/

Upvotes: 1

Related Questions