PLEASE HELP! Major Problem...

liunx

Guest
Ok, I am finally getting hits from search engines, BUT- I have a problem- the engines are linking to seperate pages- I use frames and when someone goes to say /ext.html thay are not going in the frame, I need a script that will make the frame come up too, the site is in google, and I cant really change that, but there has to be a script that will meke the page open in the frames....<br />
help<br />
<!-- m --><a class="postlink" href="http://mohair.50megs.com">http://mohair.50megs.com</a><!-- m --><!--content-->This script in HEAD of every CONTENT page, when using frames.<br />
<SCRIPT language=JavaScript type=text/javascript><br />
<!-- Hide script from older browsers<br />
var url = "http://www.sitename.com/index.html"; <br />
// y for yes and n for no <br />
frameEnforcer("y");<br />
function frameEnforcer(frames) {<br />
if (frames == 'y'){<br />
if (self.parent.frames.length == 0){<br />
self.parent.location = url;<br />
}<br />
}<br />
else if (frames == 'n'){<br />
if (self.parent.frames.length != 0)<br />
{self.parent.location=url;<br />
}<br />
}<br />
}<br />
--><br />
</SCRIPT><!--content-->
 
Back
Top