Results 1 to 3 of 3

Thread: Iframe loading?

  1. #1
    Join Date
    Dec 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe loading?

    1) Script Title: Drill Down Menu (v1.6)

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex1/drilldownmenu.htm

    3) Describe problem: On using this menu with the code added directly into the page there is a delay with Explorer on showing the tabs or the whole menu looks messy until the page loads fully. The menu has been added to a shop script that takes some time to carry out it's search process. I was wondering if this menu could be loaded before the rest of the page. At the moment I have experimented with showing the menu within an iframe. Explorer now works perfectly with the menu stable at all times but there is a delay now with firefox. Nothing like as bad as with explorer when the code was added to the page though. If there is a way to load the content of an iframe first before the rest of the page I would also like to know about that too. You can see the menu being shown within an iframe here: http://bluesplayer-shops.hopto.org/sound_vision/. Really my query is can the menu be made to load before other page content that way I can put the code back into the page which I prefer.

    Regards

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

    Default

    There's quite a few ways to go about this without having to resort to using an IFRAME actually. One way is just to hide the menu contents until it has initialized. Inside the .css file, simply add the line in red:
    Code:
    .drillmenu ul{ /*menu ULs*/
    font: normal 13px Verdana;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background: lightyellow; /*background of menu*/
    visibility: hidden;
    }
    DD Admin

  3. #3
    Join Date
    Dec 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Much better now - 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
  •