Activity Stream
48,167 MEMBERS
63422 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1.     
    #11
    Member
    no lol im not that dumb

  2.   Sponsored Links

  3.     
    #12
    Member
    Have you got options or just the default superfish

    If you have options it should look like this

    Code: 
    $('ul.menu').superfish({ 
    
    Options here
    
    });
    Or if you dont have options should look like this

    Code: 
     $('ul.menu').superfish();

  4.     
    #13
    Member
    Should I replace line #2 with that?

  5.     
    #14
    Member
    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>

  6.     
    #15
    Member
    another error lol


    $(document).ready(function() { - not defined '$'

  7.     
    #16
    Member
    Its all correct have you put this code below the jquery library ?

    Thats indicating that its not loading the library correctly

  8.     
    #17
    Member
    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>

  9.     
    #18
    Member
    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>
    


  10.     
    #19
    Member
    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.

  11.     
    #20
    Member
    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

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Hiring] Settle Problem My PopUP Javascript
    By kedenya in forum Completed Transactions
    Replies: 1
    Last Post: 9th Aug 2011, 06:34 AM
  2. Problem using javascript in form field
    By abhikala1 in forum Web Development Area
    Replies: 4
    Last Post: 19th Apr 2011, 10:52 PM
  3. Need Javascript Help
    By Netguy in forum Web Development Area
    Replies: 7
    Last Post: 19th Mar 2011, 03:24 PM
  4. Help About JavaScript
    By macypro in forum Technical Help Desk Support
    Replies: 1
    Last Post: 7th Dec 2010, 12:23 AM
  5. help with some javascript
    By bumilad20 in forum Web Application/Script Support
    Replies: 2
    Last Post: 3rd Jun 2010, 05:01 AM

Tags for this Thread

BE SOCIAL