Results 11 to 20 of 23
-
1st Mar 2012, 04:59 PM #11OPMember
no lol im not that dumb
-
1st Mar 2012, 05:11 PM #12Member
Have you got options or just the default superfish
If you have options it should look like this
Code:$('ul.menu').superfish({ Options here });
Code:$('ul.menu').superfish();
-
1st Mar 2012, 05:12 PM #13OPMember
Should I replace line #2 with that?
-
1st Mar 2012, 05:14 PM #14Member
Give it a try the whole thing should look like this if your just putting it in your header
Code:<script> $(document).ready(function() { $('ul.menu').superfish(); }); </script>
-
1st Mar 2012, 05:17 PM #15OPMember
another error lol
$(document).ready(function() { - not defined '$'
-
1st Mar 2012, 05:25 PM #16Member
Its all correct have you put this code below the jquery library ?
Thats indicating that its not loading the library correctly
-
1st Mar 2012, 05:27 PM #17OPMember
They're this way:
Code:<script src="jquery-1.6.3.min.js" type="text/javascript"></script> <script src="superfish.js" type="text/javascript"></script> <script src="script.js" type="text/javascript"></script> <script> $(document).ready(function() { $('ul.menu').superfish(); }); </script>
-
1st Mar 2012, 05:30 PM #18Member
Hm looks fine they are all in the right order are you running this on a localhost ? could be a permission error change the first line to google's cdn also just noticed your not using the latest jquery
Code:<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
-
1st Mar 2012, 05:34 PM #19OPMember
There must be something else. Here's why I'm thinking that way:
When I run on localhost/server as HTML everything is OK.
When I run the exact same code on server integrated in WordPress the slidebar doesn't show.
-
1st Mar 2012, 05:42 PM #20Member
Yea the code is fine its all correct
Just check all the permissions for all the scripts and make sure you haven't got jquery loaded twice go to view source and just do a search for jquery as wordpress already includes jquery
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Hiring] Settle Problem My PopUP Javascript
By kedenya in forum Completed TransactionsReplies: 1Last Post: 9th Aug 2011, 06:34 AM -
Problem using javascript in form field
By abhikala1 in forum Web Development AreaReplies: 4Last Post: 19th Apr 2011, 10:52 PM -
Need Javascript Help
By Netguy in forum Web Development AreaReplies: 7Last Post: 19th Mar 2011, 03:24 PM -
Help About JavaScript
By macypro in forum Technical Help Desk SupportReplies: 1Last Post: 7th Dec 2010, 12:23 AM -
help with some javascript
By bumilad20 in forum Web Application/Script SupportReplies: 2Last Post: 3rd Jun 2010, 05:01 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...