Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Conflict jQuery

  1. #11
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It doesn't just change it, it makes a second one, or tries to. The thing to do is to get rid of the one on the page, and edit the one in the script - Or get rid of the one in the script and edit the one on the page. Either way you're wanting to get rid of all references to the external file. So get rid of one, make the other like so:

    Code:
    var mystickybar=new expstickybar({id:"stickybar",position:'top',revealtype:'mouseover',peekamount:30,externalcontent:'',speed:300})
    That way you won't need the stickybarcontent.htm file.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. The Following User Says Thank You to jscheuer1 For This Useful Post:

    rexi (08-30-2012)

  3. #12
    Join Date
    Apr 2011
    Posts
    82
    Thanks
    43
    Thanked 0 Times in 0 Posts

    Default

    Hello John,..
    You are right about this code that causing problem,..but not all:

    Code:
    var mystickybar=new expstickybar({id:"stickybar",position:'top',revealtype:'mouseover',peekamount:30,externalcontent:'stickybarcontent.htm',speed:300})
    Now, it's working both on the page,but I am move out this script:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
    and I am put back old two:


    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    It is very strange and sensitive,..If I put first (1.3.2/jquery) above (1.4.2/jquery),..that is no work.
    But if I put (1.4.2/jquery) above (1.3.2/jquery),..that is working.

    It is looking like that:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://yourjavascript.com/3212001831/stickybar.js">
    /***********************************************
    * Expandable Sticky Bar- (c) Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://yourjavascript.com/9063801232/jquery.magnifier.js">
    /***********************************************
    * jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    </script>
    But is not work oposite like that:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://yourjavascript.com/9063801232/jquery.magnifier.js">
    /***********************************************
    * jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    </script>
    
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://yourjavascript.com/3212001831/stickybar.js">
    /***********************************************
    * Expandable Sticky Bar- (c) Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    This page,...Thank you very much.

  4. #13
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's odd, but understandable in a weird way. How about trying with only 1.4.2:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://yourjavascript.com/3212001831/stickybar.js">
    /***********************************************
    * Expandable Sticky Bar- (c) Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    
    
    <script type="text/javascript" src="http://yourjavascript.com/9063801232/jquery.magnifier.js">
    /***********************************************
    * jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    </script>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. The Following User Says Thank You to jscheuer1 For This Useful Post:

    rexi (08-30-2012)

  6. #14
    Join Date
    Apr 2011
    Posts
    82
    Thanks
    43
    Thanked 0 Times in 0 Posts

    Default

    Wow,..it's working with only 1.4.2/.
    Great job Mr.John,..Very,very thank you for help and time.
    This case can be resolved,but I can't find how make "resolved",..because new system on the forum change it??

Similar Threads

  1. Lightbox , jquery.min.js Conflict
    By Monclee in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 03-06-2012, 05:57 AM
  2. Lightbox Jquery conflict
    By smallbirdmedia in forum JavaScript
    Replies: 1
    Last Post: 02-29-2012, 02:01 AM
  3. Jquery Conflict
    By James Church in forum JavaScript
    Replies: 0
    Last Post: 05-24-2011, 11:20 AM
  4. jquery conflict
    By shereenm in forum JavaScript
    Replies: 0
    Last Post: 04-30-2011, 03:02 PM
  5. Conflict with jQuery?
    By Gazzab in forum JavaScript
    Replies: 1
    Last Post: 01-15-2010, 06:44 PM

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
  •