From: Richard B. <ma...@ri...> - 2001-03-11 08:48:25
|
> With all due respect, I am well aware of being able to re-load the page, to get the desired effect. The problem with that is, my useres will be browsing the internet within a Windowlette that is actually part of my site's homepage. Yes, it could reload once anyone resizes the screen....but then they would lose whatever web-page they were looking at. Because of this, Reloading the page is simply out of the question. This is where my dilema is...how to resize everything with the browser window.....WITHOUT having to reload the page. If anyone has ideas, I am open to them...no matter how crazy they might sound. > - Cheston U. If you are replying to my post, I was wondering if you were intending on supporting Netscape 4, because: * NS4 doesn't support I-frame, and it's I-layer will reload your whole page if someone clicks a link. * NS4 has problems when resizing the page, and will need a lot of experimenting with to get this working. If you DO want to support NS4, I think you'd have to use a frame-set for that browser (which will also have it's problems, but that's the same with I-frame), and if you can't get around the NS4 resizing bug, you could add a history module, so users could go back|forward, and use it to reset the users page after a resize/reload. For all other browsers you simply do something like this: DynAPI.onResize=function() { myWindow.moveTo(DynAPI.document.getWidth()/2-318,DynAPI.document.getHeight() /2-180) myWindow.setSize etc... } Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi |