Re[2]: Resizing
2006/01/19 22:01
Viewed 13380 times
Replies: 1/4
by doc

flag the onresize event and call changeSkin() function ... this is a temp fix, but effective

example:

function bfix() {
changeSkin('skin-winxp');
}

function init() {
//this function already exists between HEAD tags
//...at end of function add following event flag
window.onresize = bfix;
}

NOTE this fix has NOT been fully tested, but works under IE 6x and Mozila

dRB

Re[3]: Resizing
2006/01/20 06:24
Viewed 14132 times
Replies: 1/3

unfortunately, doesn't work for me. still has problems - get a blue bordered box with lots of white space and the rest of document doesn't change size (aqua theme). :(

p

last
Re[4]: Resizing
2006/01/29 01:50
Viewed 15825 times
Replies: 1/2
by doc

Here is another snippet that works for IE and NS/Mozilla.
We flag the window.resize event AFTER the page has loaded. Then reload the page.

Create an additional function:
function reDo() { document.location.reload(); }

It is important to place the call snippet inside the init() function, else the page will recursively reload.

function init() {
// existing code is here
// now we flag the onresize event
window.onresize = reDo;
}

Tested on IE/NS/Mozilla ... seems to work

dRB

last
Google