SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    library conflicts

    hi

    This is my link www.peacockbrand.in/demo/version1

    Here i have used <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script> for vertical slide down menu and right side in featured products I have used <script type="text/javascript" src="js/external/mootools.js"></script>

    Where both get clashed..

    If i comment jquery-1.4.4.js means right side works fine neither mootools.js are commented vertical slider works fine..

    I want both to work fine..please give me a solution as soon as possible

    Please

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,165
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    Hi ashwin. Welcome to the forums.

    This is a common problem for which there are easy solution:

    http://docs.jquery.com/Using_jQuery_...ther_Libraries
    http://uzbekjon.hubpages.com/hub/How...ery_noConflict

  3. #3
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi ralp....

    I saw
    http://docs.jquery.com/Using_jQuery_...ther_Libraries

    But cant understand it..because i dont know java script...

    http://uzbekjon.hubpages.com/hub/How...ery_noConflict

    is broken..

    Please help me

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,696
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by ashwini223 View Post
    Hi ralp....

    I saw
    http://docs.jquery.com/Using_jQuery_...ther_Libraries

    But cant understand it..because i dont know java script...

    http://uzbekjon.hubpages.com/hub/How...ery_noConflict

    is broken..

    Please help me
    The problem you're having here is that you seem to be copying the text of the link, which has "..." in it to shorten the visual display of the link.
    The proper links to both of those articles is using jQuery with other libraries and how to use jQuery's .noConflict() functionality

    We also have in our tips and tricks section a piece that demonstrates how to use noConflict too.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •