473,608 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why onResize fires 3 times when I re-size the window?

df
Why?

May 17 '06 #1
14 3101
df wrote on 18 mei 2006 in comp.lang.javas cript:
Why?


Why not?

Afer all resizing can be a lenghty buziness.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
May 17 '06 #2
df
Not understand very much.Would you mind telling more details?

May 17 '06 #3
On 17 May 2006 15:01:07 -0700, "df" <df****@msn.com > wrote:
Why onResize fires 3 times when I re-size the window?


because it fires as you're resizing it, and not just at the end of the
resize, why would you expect it to only fire at the end?

Jim.
May 17 '06 #4
Jim Ley wrote :
On 17 May 2006 15:01:07 -0700, "df" <df****@msn.com > wrote:
Why onResize fires 3 times when I re-size the window?


because it fires as you're resizing it, and not just at the end of the
resize, why would you expect it to only fire at the end?

Jim.

IE 6+ will fire the resize event continuously. Opera 8+ also.

Firefox, Mozilla Seamonkey, Mozilla Suite will not.

Bug 114649: onresize events should fire while resizing the window, not
just when the mouse stops moving
https://bugzilla.mozilla.org/show_bug.cgi?id=114649

Gérard
--
remove blah to email me
May 18 '06 #5
Jim Ley wrote :
On 17 May 2006 15:01:07 -0700, "df" <df****@msn.com > wrote:
Why onResize fires 3 times when I re-size the window?


because it fires as you're resizing it, and not just at the end of the
resize, why would you expect it to only fire at the end?

Jim.

IE 6+ will fire the resize event continuously. Opera 8+ also.

Firefox, Mozilla Seamonkey, Mozilla Suite will not.

Bug 114649: onresize events should fire while resizing the window, not
just when the mouse stops moving
https://bugzilla.mozilla.org/show_bug.cgi?id=114649

Gérard
--
remove blah to email me
May 18 '06 #6
On Wed, 17 May 2006 19:56:42 -0400, =?ISO-8859-1?Q?G=E9rard_Ta lbot?=
<ne***********@ gtalbot.org> wrote:
Jim Ley wrote :
On 17 May 2006 15:01:07 -0700, "df" <df****@msn.com > wrote:
Why onResize fires 3 times when I re-size the window?


because it fires as you're resizing it, and not just at the end of the
resize, why would you expect it to only fire at the end?

Jim.

IE 6+ will fire the resize event continuously. Opera 8+ also.


On windows both of these depend on the OS setting show window contents
whilst dragging.

Jim.
May 18 '06 #7
df wrote on 18 mei 2006 in comp.lang.javas cript:
Not understand very much.Would you mind telling more details?


Would you mind where you are talking about?

Please quote what you are replying to.

If you want to post a followup via groups.google.c om, don't use the
"Reply" link at the bottom of the article. Click on "show options" at the
top of the article, then click on the "Reply" at the bottom of the article
headers.
<http://www.safalra.com/special/googlegroupsrep ly/>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
May 18 '06 #8
df
Evertjan. 写é“:
df wrote on 18 mei 2006 in comp.lang.javas cript:
Not understand very much.Would you mind telling more details?
Would you mind where you are talking about?
Please quote what you are replying to.

If you want to post a followup via groups.google.c om, don't use the
"Reply" link at the bottom of the article. Click on "show options" at the
top of the article, then click on the "Reply" at the bottom of the article
headers.


Roger~
And now,Am I OK this time?

May 18 '06 #9
df
Well,dear guys,I just want append a function to run only *one* time
after the OnResize event is finished.How can I?

Jim Ley 写é“:
On Wed, 17 May 2006 19:56:42 -0400, =?ISO-8859-1?Q?G=E9rard_Ta lbot?=
<ne***********@ gtalbot.org> wrote:
Jim Ley wrote :
On 17 May 2006 15:01:07 -0700, "df" <df****@msn.com > wrote:

Why onResize fires 3 times when I re-size the window?

because it fires as you're resizing it, and not just at the end of the
resize, why would you expect it to only fire at the end?

Jim.

IE 6+ will fire the resize event continuously. Opera 8+ also.


On windows both of these depend on the OS setting show window contents
whilst dragging


May 18 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9963
by: Bas | last post by:
Hello all, I'm trying to create a little script which will save the width of a certain frame into a database, so that every user still has his/her "own" frame width when logging back on. Now, this works ok, though there's one little problem left: when i click the frameborder and drag it around in IE (it's not working in NN, but that's not my goal since it's a very specific CMS) the onResize handler is called literally hundreds of times.
2
371
by: TF | last post by:
hi, i am using a ListBox control on a windows form using VB.Net. when i set the DataSource property of the control to an ArrayList it fires following events in this order: SelectedIndexChanged SelectedIndexChanged DataSourceChanged SelectedIndexChanged is there any way to check in SelectedIndexChanged event handler that
4
2748
by: me54 | last post by:
does anyone know how to call some javascript function when firefox fire the onresize event? something like <body onresize="alert();"> doesn't work on forefox? thnx.
6
24654
by: hannibal | last post by:
Hi, i need to refresh page cathcing "onResize" event. I wrote this code: <body onResize="javascript:winodw.location.reload(true); return true;"> On I.E. it works, but it doesn't work on Firefox. Someone knows why?
5
3781
by: Maxine G | last post by:
I have two forms, a menu and a data entry form. The entry form is bound to a query against linked SQL server tables. In the deactivate event, I have some code which asks the user if they want to save their changes and they can respond with yes, no or cancel. If they press cancel, the entry form stays active with the changes still entered. So, if I'm on the entry form and have entered data, and then click on the menu, the deactivate event...
9
7261
by: HL | last post by:
I am using VS 2005 Beta - C# Problem: The Timer fires a few milliseconds before the actual Due-Time Let's say a timer is created in the following manner: System.Threading.Timer m_timer = null; Let's declare a constant Int32 m_TimePeriod = 10000;
6
6130
by: whtinkm | last post by:
Hi, All Recently, my project need some code like following: using System; using System.Threading; namespace MyTimerTest { class Class1 {
1
1784
by: Roland | last post by:
Hi, I have written a Windows Service with a Timer (System). The Interval is set to 60000 (60 seconds) for testing. In the Timer1_Elapsed event I execute a task. In this case I have to read a text file, draw data from a SQL server, and send it all out in an email every day at the same time. Problem is that the elapsed event fires anywhere from 1 time to 40
5
6978
by: christianlott1 | last post by:
I admit my form is pretty complex and may need a total overhaul - I have two subforms synchronized on a form through an unbound text box. When I enter a new record in the second subform it used to complain about nulls and then about 'can't repeat an index'. To solve this I wrote code on the main form's subform enter event (I'm surprised I found it. I must have spent an hour trying to program the enter and exit events from the subform...
2
4322
by: jwhitwork | last post by:
I'm trying to create a liquid layer and need to call my SetLayerPos() function onResize. When I create a test page: <html><body onresize="alert('test')"></body></html> It works fine. When I add onresize="alert('test')" to the body tag of the page I'm working on, nothing happens when I resize. Any ideas as to why this may happen? I have a meta refreshing iframe in a moveable div layer and some forms and asp on my page and that's it.
0
8010
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8501
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8483
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6820
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6015
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4030
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2477
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1336
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.