SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question javascript variable and applet coding

    I'm not very good at javascript but was wondering if there's a way to encapsulate existing links in my body content with a javascript variable and then have the variable be
    displayed by the ticker which is run by an applet.

    Here's an example of a piece of the applet code that displays a line in the ticker:

    <param name="headline_text1" value="Headlines:">
    <param name="message1" value="Title of Article
    <param name="link1" value="http://www.sitepointforums.com/">

    So to clarify a little better...I want to have the ticker automatically updated with the content(links) that's changes each day or so. Then it doesn't have to be updated in both places manually.

    Hope someone has some light to shed on this for me! Thanks!
    B. Jones

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Put the links in an array and a) write the links in the document, b) write the params for the applet?


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
  •