Also, check out this page: http://www.useit.com/alertbox/9612.html for more (outdated but still true today)....
If you want your website to be found and indexed properly on the web - DO NOT USE FRAMES. Besdies, anything you can do with frames can be done with templates anyway...
My .0002c worth...
Cheers
Jason
Chris Wilkinson wrote:
Hi there,
I'm writing a commercial website for my brother in-law. It needs some JavaScript help to complete the navigation frame...the Linux link? I'm developing it in Mandrake Linux using Gimp/KWrite/other OSS... :-)
Anyway, I have lovely image buttons for the nav frame, and image swap routines are well within my JavaScript ability, but I'm stuck trying to figure how to 'deactivate' the link for the currently loaded content, and display a 3rd button image to show that link is already loaded in the content frame...
I thought of using 'document.getElementById("name").innerHTML' to try and replace the HTML inside the <DIV id="name"> tag with the link code, but that doesn't seem to work when the page that function runs from is not the one that contains the <DIV> tag...
Anyone in the CLUG have any JavaScript knowledge that may avail me of a solution? Sorry if its slightly off topic, but OSS will receive some airtime in my 'about this site' link! :-)
