having a bit of trouble with frames and loading a page correctly...

admin

Administrator
Staff member
ok, if you go to my site (<!-- w --><a class="postlink" href="http://www.alaskasnowandskate.f2s.com">www.alaskasnowandskate.f2s.com</a><!-- w -->), and you try to change the viewing type to 1024x768 in the left hand table, it loads the hi-res page instead of the low-res one.<br />
<br />
now you will notice the problem:<br />
<br />
instead of loading an entirely new page, it loads only in the bottom frame so there are now two top frames.<br />
<br />
how do i fix this?<br />
<br />
thanks,<br />
<br />
mojo.<!--content--><select class="combobox" name="SiteMap" onchange="if(options[selectedIndex].value){top.location = options[selectedIndex].value}" size="1"><br />
<option selected>Choose: </option><br />
<option value="index.html">800x600</option><option value="hires/index.html">1024x768</option><br />
</select><br />
<br />
<br />
The added top. should load the high res page into the window and not into the frame.... You may wish to use an automatic resolution redirector so your visitors do not have to change the page, try one of these:<br />
<br />
<!-- m --><a class="postlink" href="http://www.hotscripts.com/JavaScript/Scripts_and_Programs/Redirection/Resolution_Based/">http://www.hotscripts.com/JavaScript/Sc ... ion_Based/</a><!-- m --><br />
<br />
<br />
hope this helps,<br />
<br />
<br />
c9<!--content-->you're right dude, that redirector works a lot better!<br />
<br />
thanks!<!--content-->:D That's OK I aim to please :D<!--content-->
 
Back
Top