HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 20th, 2000, 02:34 PM
Grace_pressure Grace_pressure is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 Grace_pressure User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old October 23rd, 2000, 02:00 AM
MeijdenB MeijdenB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: Alkmaar, The Netherlands
Posts: 123 MeijdenB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Reload or refresh of frameset page reverts to orignal frames


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway