473,240 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,240 software developers and data experts.

Strange behaviour when using innerHTML

Hi there,
I cannot find a solution to my problem.

Please go here http://www.milanodabere.it/test.htm and see what
happens when you pass the mouse over a star in the "Giudica evento"
section: the swf movie stops playing! I cannot explain why... is there
anyone who can help?

Regards,
D.

Apr 23 '07 #1
7 1391
On Apr 23, 8:06 am, nokia33948 <nokia33...@yahoo.itwrote:
Hi there,
I cannot find a solution to my problem.

Please go herehttp://www.milanodabere.it/test.htmand see what
happens when you pass the mouse over a star in the "Giudica evento"
section: the swf movie stops playing! I cannot explain why... is there
anyone who can help?
Can you reproduce your problem in a complete HTML document that is 30
lines or less? If not can you do it in 40 lines?

Peter

Apr 23 '07 #2
On 23 Apr, 17:23, Peter Michaux <petermich...@gmail.comwrote:
Can you reproduce your problem in a complete HTML document that is 30
lines or less? If not can you do it in 40 lines?

Peter
Hi, I am not sure if I already posted the relpy.

BTW please go here http://www.milanodabere.it/test2.htm and pass the
mouse over the star at the top of the screen; then stop for a couple
of seconds, you will notice that the flash movie will stop until you
move out from the star.

Regards,
D.

Apr 23 '07 #3
nokia33948 said the following on 4/23/2007 11:41 AM:
On 23 Apr, 17:23, Peter Michaux <petermich...@gmail.comwrote:
>Can you reproduce your problem in a complete HTML document that is 30
lines or less? If not can you do it in 40 lines?

Peter

Hi, I am not sure if I already posted the relpy.
How does copy/pasting the original question do anything to answer the
question that was asked?

The answer is that the code in that page isn't 30/40 lines long to start
with.

The issue is the onmousemove event is constantly updating the innerHTML
of the div element and causes the movie to stop updating because the
script has the browser too busy to update anything else.

Change it from onmousemove to onmouseover.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 23 '07 #4
On 23 Apr, 19:03, Randy Webb <HikksNotAtH...@aol.comwrote:
How does copy/pasting the original question do anything to answer the
question that was asked?

The answer is that the code in that page isn't 30/40 lines long to start
with.

The issue is the onmousemove event is constantly updating the innerHTML
of the div element and causes the movie to stop updating because the
script has the browser too busy to update anything else.

Change it from onmousemove to onmouseover.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/
Hi Randy, thank you for the suggestion, it worked! But, would you
please explain what you meant with the first lines of your comment? I
am not sure I understood.

Regards,
D.

Apr 24 '07 #5
nokia33948 said the following on 4/24/2007 3:26 AM:
On 23 Apr, 19:03, Randy Webb <HikksNotAtH...@aol.comwrote:
>How does copy/pasting the original question do anything to answer the
question that was asked?

The answer is that the code in that page isn't 30/40 lines long to start
with.

The issue is the onmousemove event is constantly updating the innerHTML
of the div element and causes the movie to stop updating because the
script has the browser too busy to update anything else.

Change it from onmousemove to onmouseover.
<snipped signature that Google can't remove>
Hi Randy, thank you for the suggestion, it worked!
Good to know.
But, would you please explain what you meant with the first lines of your comment?
You got a reply, it was requested for you to narrow down the problem, in
40/30 lines of code, and you reply was to copy/paste your original
question. How does that come even close to answering the question of
"Can you reproduce your problem in a complete HTML document that is 30
lines or less?". Simple, it doesn't.

You need a better posting agent though.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 24 '07 #6
On 24 Apr, 18:49, Randy Webb <HikksNotAtH...@aol.comwrote:
You got a reply, it was requested for you to narrow down the problem, in
40/30 lines of code, and you reply was to copy/paste your original
question. How does that come even close to answering the question of
"Can you reproduce your problem in a complete HTML document that is 30
lines or less?". Simple, it doesn't.

You need a better posting agent though.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascriptFAQ -http://jibbering.com/faq/index.htmlJavascriptBest Practices -http://www.JavascriptToolbox.com/bestpractices/
Hi Randy,
please note that in my second post there was a link to a different
page (test2.htm instead of test.htm). And that page was actually less
than 15 lines. Does that answer your question?

Regards,
D.

Apr 26 '07 #7
On 24 Apr, 18:49, Randy Webb <HikksNotAtH...@aol.comwrote:
You got a reply, it was requested for you to narrow down the problem, in
40/30 lines of code, and you reply was to copy/paste your original
question. How does that come even close to answering the question of
"Can you reproduce your problem in a complete HTML document that is 30
lines or less?". Simple, it doesn't.

You need a better posting agent though.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascriptFAQ -http://jibbering.com/faq/index.htmlJavascriptBest Practices -http://www.JavascriptToolbox.com/bestpractices/
Hi Randy,
please note that in my second post there was a link to a different
page (test2.htm instead of test.htm); that page was actually less than
15 lines. I hope this answers your question.

Regards,
D.

Apr 26 '07 #8

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

Similar topics

0
by: Frank Passek | last post by:
Dear all, I've encountered some strange behaviour with PHP (4.3.2) using the CLI-API. When I provide an option in the first line of my script like so: #!/usr/bin/php -c /path_to_my_ini_file and...
2
by: Paul Drummond | last post by:
Hi all, I am developing software for Linux Redhat9 and I have noticed some very strange behaviour when throwing exceptions within a shared library. All our exceptions are derived from...
7
by: RobG | last post by:
I was playing with matrices and wrote a routine to return the minor matrix if given a matrix and index. The minor is the matrix given by removing the first row and i-th column. e.g. using...
3
by: Sebastian C. | last post by:
Hello everybody Since I upgraded my Office XP Professional to SP3 I got strange behaviour. Pieces of code which works for 3 years now are suddenly stop to work properly. I have Office XP...
6
by: Edd Dawson | last post by:
Hi. I have a strange problem involving the passing of command line arguments to a C program I'm writing. I tried posting this in comp.programming yesterday but someone kindly suggested that I'd...
31
by: DeltaOne | last post by:
#include<stdio.h> typedef struct test{ int i; int j; }test; main(){ test var; var.i=10; var.j=20;
4
by: ignw82 | last post by:
Hi all, I have a strange behaviour in dataview, maybe you can help me. the behaviour is like this : First I made a datatable (odt) in data set, and then I created a dataview using this...
1
by: dschectman | last post by:
I have a page with two dynamic tables. One is a master list of items for selection. The second is a list of selected items. The master list contains 4 columns. 1) The item code - hidden For...
8
by: Dox33 | last post by:
I ran into a very strange behaviour of raw_input(). I hope somebody can tell me how to fix this. (Or is this a problem in the python source?) I will explain the problem by using 3 examples....
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.