page referencing... - page referencing... could be javascript... could be html... (Posted by christ
i need help with what could possibly be a javascript dillema...
i have two html pages. one page changes every day and the only things it has on it is 3 hyperlinks to articles. in the html, the hyperlinks would be on lines 6, 7, and 8. i would like to reference these hyperlinks from my other page with some kind of script so all i would have to worry about is changing the dynamic page.
for example, i would like to put something like
document.write('http://www.mycom.com/dynamic.html(line 6)'
in my non-dynamic page so that it references the hyperlinks from the other page...
do you see what i mean?
if you could, please help!
thanks in advance!
chris
John Pollock posted this at 17:42 — 5th November 1999.
He has: 628 posts
Joined: Mar 1999
You might ask your web host if they support SSI. If so, you can create a separate text or html file and just insert it in the page with an SSI command, like this:
<!--include virtual="filename.txt"-->
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.