js help needed

Discussion in 'Programming' started by mrcountry, Oct 31, 2012.

  1. #1
    I am trying to run both " peel.js & fadeslideshow.js " both on the same page. The page peel works great as long as I pull the fadeslideshow.js referrence. Is it possible to have them both work together. I really want to figure this out as I really like both. All help will be greatly appreciated and thanks so much for any help in advance.
     
    mrcountry, Oct 31, 2012 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    Links to both would allow us to look at them and see where the conflict is.
     
    Rukbat, Nov 1, 2012 IP
  3. mrcountry

    mrcountry Active Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #3
    I removed it because i couldn't get it to work together, but I just put it back so maybe you have a fix for the issue that i'm having. I would greatly appreciate any help.

    http://www.countrycustomtile.com

    Preblem exists between the below

    <script src="/js/peel.js" type="text/javascript"></script>
    <script type="text/javascript" src="/js/fadeslideshow.js"></script>
    <script type="text/javascript" src="/js/fadeslideshowgallery.js"></script>
     
    mrcountry, Nov 1, 2012 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    Links to where you downloaded the scripts from. Links to your server (which is what you gave us) are useless to us.

    I'm guessing that either a few scripts are conflicting with the use of $ (like jQuery and mootools) or two of them are using the same function name or global variable name. But seeing the scripts would make it easier to tell you what the problem actually is, and how to fix it.
     
    Rukbat, Nov 2, 2012 IP
  5. mrcountry

    mrcountry Active Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #5
    I understand that those links were useless. I was giving those links as referrence to where the issues are. The link www.countrycustomtile.com is the page running the scripts that I listed. I really dont understand what else that your asking for. If I need to provde something else, please explain what you need and I will give it to you. I had the site designed by someone else and i am just trying to add this after the fact. I'm learning and am by no means a pro, just feeling my way through and i have hit a wall.
     
    mrcountry, Nov 2, 2012 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    Try commenting out the line

    jQuery.noConflict()

    in fadeslideshow.js. (It's right under the

    //No need to edit beyond here...

    line. Make it

    //jQuery.noConflict()
     
    Rukbat, Nov 2, 2012 IP
  7. mrcountry

    mrcountry Active Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #7
    I really appreciate it, but it didn't work. I went to the fadeslideshow.js and commented out the jQuery.noConflict() code by adding // which is now //jQuery.noConflict() but it still gives me nothing with the peel unless i remove the fadeslideshow
     
    mrcountry, Nov 2, 2012 IP