Jquery Dropdown Menu Onclick
I am trying to make a simple dropdown menu with jquery but I cant seem to get any of the javascript to work. I have tried calling it externally. I am not sure what the problem can
Solution 1:
try SuperFish => http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started
Solution 2:
Style and script tags should be inside your head tag. (though some people put all scripts just before the closing body tag)
Without having a doctype weird things can happen. add "<!doctype html>" before your opening html tag.
Solution 3:
Not sure why you've got a double forward slash in:
<scriptsrc="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"type="text/javascript"></script>
unless you mean something like:
<scriptsrc="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"type="text/javascript"></script>
Solution 4:
I copied your code and there's an illegal character at line 42, after the second "});". I deleted this and it's working.
Post a Comment for "Jquery Dropdown Menu Onclick"