Results 1 to 7 of 7

Thread: Class unregistered in DD script.

  1. #1
    Join Date
    Jun 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Class unregistered in DD script.

    DD provided the following script.
    function makevisible(cur,which){
    //Highlight image script- By Dynamic Drive
    //For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
    //This credit MUST stay intact for use
    strength=(which==0)? 1 : 0.2
    if (cur.style.MozOpacity)
    cur.style.MozOpacity=strength
    else if (cur.filters)
    cur.filters.alpha.opacity=strength*100
    }

    IE recognizes an error in line:
    else if (cur.filters)
    Error message: Class has not been registered.

    It seems to be a problem on my local machine and I know that it has worked befor allright. What might have happened to generate this error and what is the solution? Thanks.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Works fine here. Can you get it to not work live? If so, provide a link. What version of IE are you using and, what OS?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ji John,

    I have three computers, only one of them is malfunctioning as described. So it is a local problem.
    I run XP-Home and IE6-SP2 (on all three PC's).
    I use this at http://home.tiscali.nl/jilleweb/muziektheorie.htm. Click > Examens A > Serie A > Vraag 1. The buttons A/B/C/D show all bright in my IE.

    Thanks for your effort and attention.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, well it is not a script problem then, obviously. Try clearing the cache, you might have a corrupt copy of the page cached. If that doesn't work, check to make sure your computer is free of viruses and spyware. If that's not it, try resetting the web defaults (tools - Reset Web Settings . . . - Yes). This will change any custom security and display settings changes you have made to their defaults. If that doesn't work, uninstall and reinstall IE.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jun 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Uninstalling and reinstalling IE proved not to be the solution. Thanks for the suggestion anyway.

  6. #6
    Join Date
    Jun 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I solved the problem by clearing and re-installing my entire system from scrach. I installed SP2 from the free Windows CD-ROM in save mode.
    The advantage is, that my system is clear now as it were new.

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Geez, and I thought I was perhaps being a bit extreme in suggesting an explorer reinstall. Good work! Glad things are in order now.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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