Closed
Bug 63980
Opened 25 years ago
Closed 24 years ago
dynamic change of FRAMESET cols/rows attribute causes slow reloading of url
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
Future
People
(Reporter: martin.honnen, Assigned: john)
References
Details
(Keywords: perf, testcase)
Attachments
(1 file)
I tried to script a sliding frame transition by dynamically altering the cols
property of a FRAMESET element. While it looks nice in IE5.5 Mozilla totally
fails to display that animation. It constantly seems to reload the page causing
a blinking of the Stop button in the toolbar while displaying nothing in the
content area.
<HTML>
<HEAD>
<TITLE>
sliding frame
</TITLE>
<SCRIPT>
var start, x;
var end = 0;
var delay = 20;
var step = -10;
function init () {
if (document.all)
var start = x = document.body.offsetWidth;
else
var start = x = window.innerWidth;
changeFrameSet();
}
function changeFrameSet () {
x += step;
document.getElementById('aFrameset').cols = x + ', *';
if (x > end)
setTimeout('changeFrameSet()', delay);
}
</SCRIPT>
</HEAD>
<FRAMESET ID="aFrameset"
FRAMEBORDER="0"
COLS="1024, *"
ONLOAD="init()"
>
<FRAME NAME="frame0" SRC="about:blank">
<FRAME NAME="frame1" SRC="http://www.mozilla.org">
<\/FRAMESET>
</HTML>
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
The frame reloads on changing the .cols property? This is really annoying!
Bill Stockton
Updated•25 years ago
|
Target Milestone: --- → Future
Comment 4•24 years ago
|
||
I was about to report a similar frameset bug in Mozilla 0.9.4 but this one
seems to be the one I was looking for.
Why is this bug marked as Future?
Does it have something to do with Bug 48422 (which has a severity critical
state)?
One thing is for sure, changing dimensions of a frameset dynamically in
javascript really seems to be an impossible task as this product gets closer
and closer to 1.0 release.
Comment 5•24 years ago
|
||
Bulk reassignin HTML FRAME/IFRAME bugs to Eric.
Assignee: pollmann → evaughan
Comment 7•24 years ago
|
||
Bulk re-assigning all of Eric's HTMLFrame bugs to John.
Assignee: eric → jkeiser
Comment 8•24 years ago
|
||
Dup of "Changing of frameset's ROWS/COLS reloads all children"
*** This bug has been marked as a duplicate of 48422 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Comment 9•23 years ago
|
||
With bug 48422 being resolved, the test case still gives the same result. This
bug should be re-opened. Tested with Moz 1.1.
| Assignee | ||
Comment 10•23 years ago
|
||
WFM 2002091110 WinXP ... could you try a more recent nightly just in case?
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•