Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-18-2005, 09:49 AM   PM User | #1
greatone
New to the CF scene

 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
greatone is an unknown quantity at this point
Exclamation Javascript execution

Hi all,

I have a dynamic menu on my website which calls an external javascript.
The problem is when I click on any of the links in the menu, and the mouse is at the same place where the menu item is the page doesnt load and an OPERTATION ABORTED error is thrown. But if I refresh, the page loads. And there is no sequence for this error it occurs on any page any time.

The logic behind this error could be,
the browser is loading the page and executing the script at the same time and somehow is not able to execute these two at the same time and throws the error.

This is what I think.

Anyone who had faced this sort of problem or knows anything about this, do let me know.

thanks
greatone is offline   Reply With Quote
Old 03-18-2005, 10:26 AM   PM User | #2
Kor
Red Devil Mod


 
Kor's Avatar
 
Join Date: Apr 2003
Location: Bucharest, ROMANIA
Posts: 8,478
Thanks: 58
Thanked 379 Times in 375 Posts
Kor has a spectacular aura aboutKor has a spectacular aura about
By default (with some exceptions: onmouseover ,onmouseout and onerror) the javascript action is executed first and the HTML action later. On the other hand, if no return false, the HTML action is executed anyway, no matter if the javascript code is or not fully executed, so that it is weird what you say... can we see the code?
__________________
KOR
Offshore programming
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote
Old 03-21-2005, 05:19 AM   PM User | #3
greatone
New to the CF scene

 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
greatone is an unknown quantity at this point
Yes sure,

you can visit this site, http://www.beesys.com
when you click any of the links on top keep your mouse at the same place, while the clicked page is loading.
greatone is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:18 AM.


Advertisement
Log in to turn off these ads.