SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Nov 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post No Conflict Jquery Script

    Hi,

    Im Actually Desigining a Single page Web Template which uses 2 or more Java and jquery
    Scripts the site works perfect in IE and FF But not in Chrome

    im Not Pretty Sure how to use the no conflict Script in Jquey

    This is my Markup For Scripts

    Code:
    <link href="style.css" rel="stylesheet" type="text/css">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script>
    <script src="js/jquery.anchor.js" type="text/javascript"></script>
    <script src="js/jquery-1.7.2.min.js"></script>
    <script src="js/lightbox.js"></script>
    <script type="text/javascript">
      $.noConflict();
      // Code that uses other library's $ can follow here.
    </script>
    Your help is Really Appreciated

    thanks guys
    Last edited by Shyflower; Nov 10, 2012 at 13:59. Reason: added code tags


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
  •