Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 26th, 2003, 01:21 AM
JackChen JackChen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 3 JackChen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old February 26th, 2003, 12:49 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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.

Reply With Quote
  #3  
Old February 26th, 2003, 06:51 PM
JackChen JackChen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 3 JackChen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old February 26th, 2003, 09:28 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
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.

Reply With Quote
  #5  
Old February 26th, 2003, 09:41 PM
JackChen JackChen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 3 JackChen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #6  
Old February 27th, 2003, 07:26 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Please help me to solute the reloading layers in NN


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway