Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    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
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •