Re[4]: Resizing
2006/01/29 01:50
Viewed 17836 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

Re[5]: Resizing
2006/01/30 18:02
Viewed 19939 times
Replies: 1/1
by doc

Ok. A bit of testing, and the previous two temp fixes fail.

But, this next quik n dirty fix seems to be standing the tests, so here is the code:

[1.] create function as follows:

function fixTabbar(){
if (!tabs.tabBar.style.display) {
// simply redisplay
tabs.tabBar.style.display = "none";
tabs.tabBar.style.display = "";
}
}

[2.] capture onresize event, after page fully loads, as follows:
function init(){
// defined function that comes with DynarchRB
window.onresize = fixTabbar;
}

This seems to work the best. The logic is to simply redisplay an already displayed tabbar (which seems to fix the tabbar display issues when a document is resized)

Hope this helps.

dRB

last
Re[6]: Resizing
2006/02/01 06:44
Viewed 21955 times
Replies: 0/0

Do any of these fixes seem to work for anyone? None work for me :( I bought the component, but I can't use it because of this silly resizing issue. I hope this will be fixed soon...

last
Google