Click to See Complete Forum and Search --> : Javascript for links
badassrocker
11-25-2003, 03:34 AM
I have multiple sites on a single subject. If I exchange links with someone on one site, then I do it for all of the sites. It is very monotonous to have to sit here and open every site and add the same link to all of them.
Is there a way to just do one link and have it show up on all of the sites with javascript?
Any suggestions or actual coding would be great. Thanks.
Gollum
11-25-2003, 04:03 AM
I think Javascript won't help I'm afraid.
Have you considered having a links page?
Then all your sites could point to that page.
badassrocker
11-25-2003, 04:07 AM
I do have links pages. But other webmasters will obviously catch on to the fact that not every site is linking back them, so I have to put the same link on every site's link page. I'd rather be able to duplicate it on every site without manually typing it in every time.
Gollum
11-25-2003, 04:54 AM
you could use an iframe - though not all browsers support it
(pre NS6, Opera6, IE4, etc)
put all of your links into one file (call it links.html)
then you can include it on any page like this...
<iframe frameborder=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 width="100%" src="links.html" scrolling=no style="overflow:visible"></iframe>
Note, you will need to copy the links.html file to every site as I don't think you can have an iframe on a page pointing to a different domain.
but at least you only need to edit one file.
badassrocker
11-25-2003, 07:10 AM
That's *****in'. I'll give it a shot and see how well it works for me. I appreciate it alot. Take it easy.