|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is there any way to prevent a frameset page from reverting
to the original frames when a refresh or reload takes place? After new frames have been loaded by navigating through pages, a refresh or reload at the browser level returns the user to the original frames in the frameset page. This happens regardless of whether you've used location.replace() or simply changed the href. Any ideas on how to prevent this? Is it related to server header messages in the HTTP request? |
|
#2
|
|||
|
|||
|
What you could do is to fill you frames automatic. You could give the page you want to view in the main frame on the query string. The fill the src property of the frame-tag with the value from the query-string. If the query-string is empty use a default page. Now when you reload a page you reload it with the querystring.
http://www.somesite.com/index.html?...r/somepage.html <frameset cols="150,*"> <frame src="left.html"> <frame src=$main> </frameset> Where you need to fill $main with the value from the query-string (which is possible from Javascript, but I can't find it right now )------------------ Good luck, Bas ------------------ E-mail me at: b.vandermeijden@pecoma.nl |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Reload or refresh of frameset page reverts to orignal frames |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|