Results 1 to 3 of 3

Thread: Anylink CSS menu with frames in IE

  1. #1
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Anylink CSS menu with frames in IE

    1) Script Title: Anylink CSS menu 2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...anylinkcss.htm

    3) Describe problem: I'm using this script on a website where the actual content is hosted in a different server, but this is hidden from visitors by use of frames.

    For example, they go to www.website.com, but this just opens www.xyz.com in a frameset.

    In Firefox and Chrome, the menu script works fine. In IE it doesn't work at all if you go to www.website.com, but does work if you go to www.xyz.com

    Any thoughts as to why it is doing this, and of any ways around it?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    This is a known issue, specifically, with the onload event not firing in IE when it's inside a frame. For a temporary fix, try finding the below line inside the .js file:
    Code:
    this.addEvent(window, function(){functionref()}, "load");
    and replace that with:

    Code:
    		document.attachEvent("onreadystatechange", function(){
    			if ( document.readyState === "complete" ) {
    				functionref()
    			}
    		});
    Once I have time I'll try and update the script officially with the fix.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    timgray (07-27-2009)

  4. #3
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks

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
  •