Click to See Complete Forum and Search --> : Framesets causing Browser History problems


neil-btcc
07-22-2003, 05:32 AM
i have designed a intranet site using framesets

all the links, navigation work perfectly except when going backwards and forwards in the browser history, you need to click twice every time instead of just once to get the left frame and the main frame to match each other.

This is quiet frustrating because it makes a nonsense of the site with navbars that don't match the main body of the page,

please help!!

what do i need to do, what code and where does it go amongst the code i allready have?

Charles
07-22-2003, 06:39 AM
Methinks you're using JavaScript to switchout two frames. Use the non-JavaScript method instead.

neil-btcc
07-22-2003, 07:18 AM
what is the non-JavaScript method?

in dreamweaver i'm using the go to URL in behaviours panel to get two frames to appear with one click from the navbars in the top and left frame

and from the main frame i'm using javascript code as below <a href="sidemenuteam1.htm"
onClick="window.self.location='team.htm'" target="leftFrame">

hope this makes sense

Charles
07-22-2003, 12:26 PM
Ah, there's the problem. You need to stop using Dreamweaver and learn HTML.Your links need to replace all or, in the case of nested framesets, part of the frameset. The idea is to make a new frameset document just like the old one but with the different files.