Results 1 to 3 of 3

Thread: calling JS ticker content from external file?? Help!

  1. #1
    Join Date
    Jun 2007
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default calling JS ticker content from external file?? Help!

    Hello

    I want to use the domticker that John wrote:

    http://www.dynamicdrive.com/forums/s...78&postcount=7

    on my music site: www.thesallyconnection.com

    This script basically serves up news content with auto fade and manual controls. I have tested it in my page and it works great.

    My question is:
    How do I convert John's script to call the content from an external file?

    I want to place the content in an external file, say a text doc or html file that can be easily updated in one place.

    Thanks in advance.
    Last edited by sol07; 06-30-2007 at 11:18 PM.

  2. #2
    Join Date
    May 2006
    Location
    Alaska
    Posts
    163
    Thanks
    5
    Thanked 2 Times in 2 Posts

    Default

    If your content is text, you could use AJAX to get it and then pass it to the other script, but modifing his script probably isn't too wise.

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

    Default

    Hi, Thanks for your reply. Actually, I have found another ticker which better suits my needs and is easier to work with - however, now I have another problem - how to modify the buttons on this ticker to show Prev and Next, instead of the 1 2 3 next buttons (as displayed in the test page below).



    As a secondary question which is not so urgent: is it possible to add a pause on mouseover effect?

    Could someone with better JS knowledge have a look and suggest the revised code? I had a go, but couldn't figure out the JS needed to make it work.

    My test page:
    www.thesallyconnection.com/index2.html
    (see the latest news section, bottom right)

    I am using the "Featured Content" ticker. The code etc can be viewed here
    (I have modified the CSS for this on my site for better design fit):
    http://www.dynamicdrive.com/dynamici...tentslider.htm

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
  •