Results 1 to 4 of 4

Thread: Ajax XML Ticker (txt file source)

  1. #1
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax XML Ticker (txt file source)

    1) Script Title: Ajax XML Ticker (txt file source)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ajaxticker.htm

    3) Describe problem: Hello,
    how I can display more than one script in a unic page?

    Thanks,
    Andrea

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Do you mean multiple tickers on a single page? The script certainly supports this. Just call the initialization code multiple times. For example:

    Code:
    <script type="text/javascript">
    var xmlfile="tickercontent.txt" //path to ticker txt file on your server.
    new ajax_ticker(xmlfile, "ajaxticker1", "someclass", 3500, "fade")
    </script>
    And:

    Code:
    <script type="text/javascript">
    var xmlfile2="tickercontent.txt" //path to ticker txt file on your server.
    new ajax_ticker(xmlfile2, "ajaxticker2", "someclass", 3500, "fade")
    </script>
    Be sure the IDs for each ticker is unique for each instance (code in red).

  3. #3
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks

  4. #4
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello,
    with the same script, how I can rotate images instead text?

    Thanks,
    Andrea

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
  •