SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Oct 24, 2002, 08:06 #1
- Join Date
- May 2002
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Oct 25, 2002, 09:45 #2
- 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