Results 1 to 3 of 3

Thread: Script won't work with other script on same page

  1. #1
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Cool Script won't work with other script on same page

    Dynamic Ajax Content

    http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    http://mroldies.net/radio/flip1.php

    On this page I am trying to incorporate your script into the page but for what ever reason, does not work.
    Without the other script, it works fine.
    I am assuming then there is most like a conflict with the variables.
    Or perhaps something in the link.
    For the link, it uses your regular href stuff then the other script uses data-src.
    I would greatly appreciate someone taking a look and seeing if it can be fixed.

    Thanks

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    try

    Code:
    <li><a href="#" onclick="ajaxpage('ajax.php?r=66-179.mp3', 'bcol');" data-src='http://mroldies.net/audio/1966/66-179.mp3'>How Sweet It Is (To Be Loved By You) - 1966<br>Jr. Walker and the All Stars</a></li>
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks that worked just fine.

Similar Threads

  1. Can frames get code to work on a script-cluttered page?
    By cafman in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-02-2009, 11:27 AM
  2. Page loader script problem; not work in IE
    By rushiags in forum JavaScript
    Replies: 3
    Last Post: 01-01-2009, 05:47 PM
  3. Single editable page script won't work
    By rctxtreme in forum PHP
    Replies: 1
    Last Post: 07-26-2007, 06:34 PM
  4. I can only get this script to work on my index.html page
    By Quintox in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 07-20-2007, 02:12 PM
  5. how to get more than one script to work properly on one page
    By landrocket in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-26-2006, 03:58 AM

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
  •