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
    Nov 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    onload="fadeLoop();" problems

    Resolved
    Last edited by Intensity; 11-07-2004 at 07:29 AM.

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The most often cause of script conflicts is multiple window.onload events and you can only have one onload event handler....

    I only looked within one of the external javascript files (when posting examples you should really place all of the external scripts on the page so that someone whom is trying to help you does not need to chase all of these files down themselves which takes away from the time they may be willing to spend debugging your problem)....

    http://www.intensedevelopment.net/AutoSanctuary/HTML/Menu/Test_scr.js

    And this external file contained numerous other external files being written to the document depending upon the browser...

    Code:
    if(Opera&&!Opera7)document.write("<"+"script language='JavaScript1.2' src='Menu/menu_opera.js'><"+"/"+"script>")
    else if(NS4)document.write("<"+"script language='JavaScript1.2' src='Menu/menu_ns4.js'><"+"/"+"script>")
    else if(document.getElementById)document.write("<"+"script language='JavaScript1.2' src='Menu/menu_dom.js'><"+"/"+"script>")
    else document.write("<"+"script language='JavaScript1.2' src='Menu/menu_ie4.js'><"+"/"+"script>")
    Sorry, but I am not inclined to open and look thru all of these files (at least 6 that I know of)... so I can only suggest that you look thru them yourself and check for multiple onload events and/or duplicated global variable names...

    .....Willy

  • #3
    New to the CF scene
    Join Date
    Nov 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Resolved
    Last edited by Intensity; 11-07-2004 at 07:28 AM.


  •  

    Posting Permissions

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