SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Error 404: Life not found silver trophybronze trophy
    Join Date
    Dec 2007
    Location
    UK Nr Manchester
    Posts
    3,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Resolve jquery conflict between slimbox and Camp26 FishEye Menu plugin?

    I have a site in development using Joomla and Virtuemart. Virtuemart uses slimbox lightbox for product displays but this stops working when the Camp26 FishEye Menu is plugged in. I finally tracked it down to a jquery conflict due to them sharing $ but the fix is beyond me.

    Can anyone point to a step by step solution, I've been unable to find one, or maybe spell it out for me?

    Thanks, JJ.
    It's 530 people, but do you really get it?
    ImgWebDesign - Web design in Buxton, High Peak, Derbyshire UK.

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by JJMcClure View Post
    Can anyone point to a step by step solution, I've been unable to find one, or maybe spell it out for me?
    We have an answer for that in our tips section. It's the jQuery noConflict post.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    Error 404: Life not found silver trophybronze trophy
    Join Date
    Dec 2007
    Location
    UK Nr Manchester
    Posts
    3,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul, but please don't underestimate my lack of knowledge, it is deep and profound and that post loses me at 'Load the jQuery library', who knows how these things work under the bonnet, not me...

    So, I just add this code to my 'HEAD' section?

    <script src="js/jquery.js"></script>
    <script>jQuery.noConflict();</script>

    Or do I need to do something else?
    It's 530 people, but do you really get it?
    ImgWebDesign - Web design in Buxton, High Peak, Derbyshire UK.

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by JJMcClure View Post
    Thanks Paul, but please don't underestimate my lack of knowledge, it is deep and profound and that post loses me at 'Load the jQuery library', who knows how these things work under the bonnet, not me...

    So, I just add this code to my 'HEAD' section?

    <script src="js/jquery.js"></script>
    <script>jQuery.noConflict();</script>
    That's all you need. Once the noConflict command is given, the $ symbol is no longer used by jQuery.

    You can still allow $ to be used from within a suitable enclosure though, so head along to the jQuery noConflict tips post for some more details.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    Error 404: Life not found silver trophybronze trophy
    Join Date
    Dec 2007
    Location
    UK Nr Manchester
    Posts
    3,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul, thanks for your help
    It's 530 people, but do you really get it?
    ImgWebDesign - Web design in Buxton, High Peak, Derbyshire UK.


Bookmarks

Posting Permissions

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