Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    SuperFish problem

    Hello, I tried to integrate my HTML site(works fine) into WordPress but shows an unexpected error. Says:
    Code:
    Uncaught TypeError: Object #<Object> has no method 'superfish'         script.js line #2


    In script.js line #2 is:

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

    Any help is highly appreciated!

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Nothing to do with Java.
    Moving from Java to Javascript frameworks.

  • Users who have thanked Fou-Lu for this post:

    Borce (03-01-2012)

  • #3
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks, I didn't knew that because I have no idea how this things work. I just integrated the js and the client said it looks amazing now I have to integrate it into WP and can't :/
    Last edited by Borce; 03-01-2012 at 05:21 PM.

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,950
    Thanks
    9
    Thanked 724 Times in 718 Posts
    Do you have the superfish plugin loaded on your Wordpress page?
    The error implies that you don't.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •