|
-
February 13th, 2006, 10:16 PM
#1
Senior Member
Javascript, Links as "objects"?
I am designing a site for my friend and he wants a pseudo blog thing that's "better than a blog but isn't itself a blog". So I have a right hand column with all the articles he's written, but that would appear in every page. Is it possible to make a javascript application that "loads" the links onto that page, so my friend will only need to add links to a "remote" javascript?
That is to say, I would like to make an array of links that my friend can add on to; is this possible?
-
February 13th, 2006, 10:43 PM
#2
I would think it is. Just have a function that outputs the links, and save it as a .js. use a script tag with src=your.js and update the js file whenever you need to. Or did I misunderstand you?
-
February 19th, 2006, 02:24 AM
#3
Senior Member
No, that's actually a better idea than mine. Just use document.write("<a href="source">LINK</a><br><br>"); right?
"The Texan turned out to be good-natured, generous and likeable. In three days no one could stand him." Catch 22 by Joseph Heller.
Buddies? I have no buddies...
Give the BSD daemon some love (proud FreeBSD user) 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|