Re: Color selector disabled ActiveX error

  •  06-26-2008, 4:21 AM

    Re: Color selector disabled ActiveX error

    Hi
     
    Had a look at the code and all you are using AJAX for is to load a code file and execute it!
    I guess you are doing it this way to cut down on the amount of js files that need to be loaded at the start.
     
    I have uploaded a zip file with dialoghead.js and ieimplementaion.js changed. Its pretty obvious the code i have changed cos its readable (ie not obfusicated)!
     
    This code attempts to use AJAX but if it cant then it attaches the code to the document using a script tag. This in effect downloads and runs the code without needing XMLHTTP. Altho With XMLHTTP its easy to detect if the code fails to download, with this script method you have to do a little bit of polling.
     
    Anyway I have attached the code, let me know what you think.......
    Can it be added to your code base?
    Or do you have a better alternative? 
     
View Complete Thread