Closed Thread Icon

Topic awaiting preservation: Frameset reLoad or refresh (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8568" title="Pages that link to Topic awaiting preservation: Frameset reLoad or refresh (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Frameset reLoad or refresh <span class="small">(Page 1 of 1)</span>\

 
Big Cloud
Bipolar (III) Inmate

From: a little too close to NYC
Insane since: Oct 2002

posted posted 03-11-2003 22:28

I hope my question makes sense. I'm not a javascript programmer by trade... but I think the fix I'm looking for will be script.

I have pages using framesets running in a 'kiosk' mode. Navigation and display of these pages are fine except for the first time they are loaded. Until one hits F5 to refresh the page, the nested frameset(s) have an undrawn area on their bottom and right boundries (almost like it's leaving room for scroll bars but none are needed). Now, either there will be no keyboard to hit F5 (using a touch screen surface) or the user may not have the where-with-all to hit F5. Is there script that can be used to refresh a frameset (or sub-frameset) only once?

Here's asimplified example of the code:

<frameset rows="80,*" frameborder="no" border="0" framespacing="0">
<frame src="indexTop.htm" name="indexTop" scrolling="No" noresize="noresize"/>
<frame src="indexMain.htm" name="indexMainFrame" /> //--> (contains additional framesets)
</frameset>

Thanks,
-Paul

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 03-11-2003 22:42

Sounds like what you want to do is just avoid the problem in the first place. Let's see an example of the problem.

Big Cloud
Bipolar (III) Inmate

From: a little too close to NYC
Insane since: Oct 2002

posted posted 03-13-2003 16:41

Well, these projects are on an intranet and haven't copied anything to public websapce. However, I've run into a similar issue on my own website. ( http://www.bigcloud.us ) Ther are no frames here. But take a look at the upper left and right corners. I have a small gif file to form the rounded corners. The left sided lines up smoothly but the right side is offset from the edge of the page until you hit F5 (my evaulations are done with IE6 and Opera6).

-Paul

*edit - finger farts
* edit again
I also only notice this when the address is typed (or pasted into) the address bar of a newly launched browser. So I'm not sure if a link to the page will show the problem.

[This message has been edited by Big Cloud (edited 03-13-2003).]

[This message has been edited by Big Cloud (edited 03-13-2003).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 03-13-2003 23:51

You're right; following the link didn't work, but pasting it into a newly launched window did. This is strange.

Oh, this is probably because of the way you're using

leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"

to set the body's padding to zero. Try this bit of CSS instead:

<style type="text/css">
body {
margin:0px;
padding:0px;
}
</style>

Big Cloud
Bipolar (III) Inmate

From: a little too close to NYC
Insane since: Oct 2002

posted posted 03-14-2003 00:12

Thank you Slime! Seems to have done the trick locally on IE6. I'll be testing later next week on Opera6 under Linux.

Nice catch.

-Paul

« BackwardsOnwards »

Show Forum Drop Down Menu