|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please help me to solute the reloading layers in NN
The problem appears when I resize the NN window ,The NN will reload the page. I want it not reloading when the page size is changed.
Is there any solution? regards jackchen |
|
#2
|
|||
|
|||
|
You are talking about NN4?
AFAIK there is no solution to this problem. even worse, on reloading it does not execute javascripts correctly, so i always had to add <body onresize="reload()"> for NN4 to even force this effect ![]()
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
Thank you for answering my question.
In NN4.7, We can not prevent it from reloading the page when we chang the pagesize or framesize. In the reloading action, what does it do? jackchen |
|
#4
|
||||
|
||||
|
Just pulled this code out of Bluefish, don't know what it does, know it fixes a NN4 bug, hope it fixes the right bug
![]() Code:
<script language="JavaScript" type="text/javascript">
<!--
// Javascript code that fixes a bug in some versions of Netscape Navigator
function reloadPage(init)
{ //reloads the window if Nav4 resized
if (init==true) with (navigator)
{
if ((appName=="Netscape")&&(parseInt(appVersion)==4))
{
document.pgW=innerWidth;
document.pgH=innerHeight;
onresize=reloadPage;
}
}
else if (innerWidth!=document.pgW || innerHeight!=document.pgH)
location.reload();
}
reloadPage(true);
// -->
</script>
If I'm way off base, just ignore me. |
|
#5
|
|||
|
|||
|
thanks
sorry,my question is not clear. I don't want to control not resizing the pagewindow or pageframe. I want to know the solution to control not to submit when the window size is changed. I think this is difficult to solute. and maybe no solute. In my project, with the submit action, It will query the DB's data. and the speed will very slow and it will be very dangerous. reqards jackchen |
|
#6
|
||||
|
||||
|
Honestly mate? I'd tell anyone using something that old to get the hell out of there until they got a decent browser. IMHO, there's really no good reason to worry about the .5% of the people who show up with it, especially if it's going to risk your database. NN 4.x was a lousy series of browsers anyway...
I'm not sure what you mean though by submitting when the page is resized? I assume you are concerned that the data passed in the URL is going to go back to the DB and requery it? |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Please help me to solute the reloading layers in NN |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|