Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    the Netherlands
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question ticker with external datasource

    Hello All,

    I want to have a ticker in every page of my site, but on every page the ticker will have the same text.
    I know there are a lot of tickers on the net, but I don't want to change the text of all pages every time the ticker text must change.
    So is there a ticker script that uses a external datasource to feed the ticker or what options do I have?
    Greetings,

    Patrick Schouten
    the Netherlands

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    just save the script in a separate file (.js) then include it in every page like:

    <script language="javascript" src="ticker.js"></script>

    if you want to change the text, just edit the .js file
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #3
    New Coder
    Join Date
    Jul 2002
    Location
    the Netherlands
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Easy

    Thanks Glenn.
    It is simple and easy
    Greetings,

    Patrick Schouten
    the Netherlands

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I posted one here: http://www.codingforums.com/showthre...&threadid=6777

    Perhaps you could modify the code to suit your needs.

    Hope this helps!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •