Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    1
    Member #
    9299
    Hi guys, I'm at a loss as to what is wrong with my website so I'm hoping that someone, anyone, can shed some light on what has happened! Most people come to my site via search engines so the frames were causing a few problems. Put this code in each page:
    HTML Code:
    <script language="javascript">
    <!--
    if(self.location==top.location)self.location="index.htm?asparagus.htm";</script>
    and this in the index page:
    HTML Code:
    <script language="javascript">
    <!--
    var fname="mainFrame";     //MAIN CONTENT AREA FRAME **NAME**
    
    window.onload=function(){
    var d=document.location.search;
    if(d!='')top.frames[fname].document.location.href=d.substring(d.lastIndexOf('?')+1,d.length);
    }
    </script>
    and all was happy for a few months. But now every page redirects to the home page - eg. typing in www.ratlab.co.uk/asparagus.htm should show the asparagus page and the address changes to http://www.ratlab.co.uk/index.htm?asparagus.htm but I see the home page instead. Anyone have any idea what could be happening? No worries if not!

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:51 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com