![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I changing the size of frames dynamically in a page (I am restricted in that I cannot perform a reload of the content of any of the frames). In MSIE, when I resize the frames, thinks repaint perfectly. In NS 7 there are artifacts left over from what previously occupied a given frame. If I minimize the NS browser, then mazimize it again, the NS browser repaints the contents of the frames, and everything looks correct. Is there a way - any conceivable way - anyone knows or can think of to trick the browser into repainting itself when a frame is resized? |
#3
| |||
| |||
|
|
On Fri, 13 Feb 2004 13:11:05 GMT, Ike <rxv (AT) hotmail (DOT) com> wrote: I changing the size of frames dynamically in a page (I am restricted in that I cannot perform a reload of the content of any of the frames). In MSIE, when I resize the frames, thinks repaint perfectly. In NS 7 there are artifacts left over from what previously occupied a given frame. If I minimize the NS browser, then mazimize it again, the NS browser repaints the contents of the frames, and everything looks correct. Is there a way - any conceivable way - anyone knows or can think of to trick the browser into repainting itself when a frame is resized? Not off hand, but do report it to Netscape. At least then, future versions of the browser might be free from the problem. |
#4
| |||
| |||
|
|
Add the following code into the <head> section of your documents: |
|
script language="JavaScript" type="text/JavaScript" !-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //-- /script Jerry P. |
#5
| |||
| |||
|
|
I changing the size of frames dynamically in a page (I am restricted in that I cannot perform a reload of the content of any of the frames). In MSIE, when I resize the frames, thinks repaint perfectly. In NS 7 there are artifacts left over from what previously occupied a given frame. If I minimize the NS browser, then mazimize it again, the NS browser repaints the contents of the frames, and everything looks correct. Is there a way - any conceivable way - anyone knows or can think of to trick the browser into repainting itself when a frame is resized? Thanks, Ike |
#6
| |||
| |||
|
|
Add the following code into the <head> section of your documents: script language="JavaScript" type="text/JavaScript" !-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //-- /script Jerry P. "Ike" <rxv (AT) hotmail (DOT) com> wrote in message news:J14Xb.3632$W74.1895 (AT) newsread1 (DOT) news.atl.earthlink.net... I changing the size of frames dynamically in a page (I am restricted in that I cannot perform a reload of the content of any of the frames). In MSIE, when I resize the frames, thinks repaint perfectly. In NS 7 there are artifacts left over from what previously occupied a given frame. If I minimize the NS browser, then mazimize it again, the NS browser repaints the contents of the frames, and everything looks correct. Is there a way - any conceivable way - anyone knows or can think of to trick the browser into repainting itself when a frame is resized? Thanks, Ike |
#7
| |||
| |||
|
|
Thanks Jerry, But I have to avoid reloading the page as it contains a java applet which, if the page is reloaded, gets restarted, and I need to avoid that. Instead, I need to simply "repaint" what is already there, but evidently, there's no way to do this under html/dhtml/javascript. What I'm trying to do is find a way to "fool" the browser into repainting the view, much as it does, automatically, if a window is opened in front of it, and subsequently closed, the browser view repaints correctly. -Ike "Jerry Polyak" <jpgoalNOSPAM (AT) yahoo (DOT) com> wrote in message news:mdadnXaAHpRcr7DdRVn-vA (AT) adelphia (DOT) com... Add the following code into the <head> section of your documents: script language="JavaScript" type="text/JavaScript" !-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //-- /script Jerry P. "Ike" <rxv (AT) hotmail (DOT) com> wrote in message news:J14Xb.3632$W74.1895 (AT) newsread1 (DOT) news.atl.earthlink.net... I changing the size of frames dynamically in a page (I am restricted in that I cannot perform a reload of the content of any of the frames). In MSIE, when I resize the frames, thinks repaint perfectly. In NS 7 there are artifacts left over from what previously occupied a given frame. If I minimize the NS browser, then mazimize it again, the NS browser repaints the contents of the frames, and everything looks correct. Is there a way - any conceivable way - anyone knows or can think of to trick the browser into repainting itself when a frame is resized? Thanks, Ike |
#8
| |||
| |||
|
|
Jerry Polyak wrote: Add the following code into the <head> section of your documents: And then remove it, its junk. script language="JavaScript" type="text/JavaScript" !-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //-- /script Jerry P. Read the comp.lang.javascript FAQ with regards to browser detection, and its impossibility and futility. Also with regards to top-posting. -- Randy Chance Favors The Prepared Mind comp.lang.javascript FAQ - http://jibbering.com/faq/ |
#9
| |||
| |||
|
|
Netscape the company is dead. |
#10
| |||
| |||
|
|
Beauregard T. Shagnasty wrote: Netscape the company is dead. Netscape the browser is dead. Netscape the brand lives on. Netscape has recently opened an ISP in the UK (didn't it just close one down?) and the Netscape.com portal site is still soldiering on. |
![]() |
| Thread Tools | |
| Display Modes | |
| |