Mentor
12-12-2004, 09:06 PM
My site usese iframes, but when a serch engine index's it such as google, it also indexs many of the seprt pages. so people are ogten linking in to a page without having any form of navigtion. wich is why i made this simple javascrip. all it does is write a link back to the main site, when the page is not in a frame.
im posting it in case anyoen else finds it useful
<SCRIPT language="JavaScript">
<!--
if (top.frames.length==0)
{
document.write('<br><strong><a href=" LINK URL">< < < Back to SITE NAME</a></strong><br><p> </p>');
}
//-->
</SCRIPT>
im posting it in case anyoen else finds it useful
<SCRIPT language="JavaScript">
<!--
if (top.frames.length==0)
{
document.write('<br><strong><a href=" LINK URL">< < < Back to SITE NAME</a></strong><br><p> </p>');
}
//-->
</SCRIPT>