Hey all, okie i am having problems with making my menu links go form one side of the to the other side of the frames, meaing if i click on the Main link my page would come up in the second part fo the frame. please help me i have had a big headache over this... this is the code, if you can please help:
var clicked=""
var gtype=".gif"
var selstate="_over"
if (typeof(loc)=="undefined" || loc==""){
var loc=""
if (document.body&&document.body.innerHTML){
var tt = document.body.innerHTML.toLowerCase();
var last = tt.indexOf("da_site.js\"");
if (last>0){
var first = tt.lastIndexOf("\"", last);
if (first>0 && first<last) loc = document.body.innerHTML.substr(first+1,last-first-1);
}
}
}
That is some nice JavaScript you got there for your site navigation.
But tell me, how will the 10-15% of visitors that don't have JS navigate your site?
JavaScript is good for a lot of things, but not for creating the navigation menu on a site, as it breaks too easily.
The simple HTML you should use to get it to work in a frames enviromant is
<a href="..." target="the name you have in your frameset for the page you want the link to appear in">Link</a>
Bookmarks