Results 1 to 3 of 3

Thread: Splash page skip intro

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

    Exclamation Splash page skip intro

    1) Script Title:
    Splash Page
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...amicsplash.htm
    3) Describe problem:
    I want the skip intro button within the iframe.
    have used the following code to close the iframe:
    In the iframe html page
    <a href="javascript: window.parent.closeIframe()">Skip Intro</a>
    On the parent window :
    function closeIframe()
    {
    var iframe = document.getElementById('slashpage');
    iframe.parentNode.removeChild(iframe);
    var standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
    standardbody.style.overflow="auto";

    }

    This closes the iframe but standardbody.style.overflow="auto"; makes the scrollbars behave oddly in the parent window.

    Please help...
    Last edited by ira19; 07-22-2009 at 08:36 AM.

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

    Default

    hi, i found the solution myself, simply comment the line which controls the scroll in the output function this.moveuptimer=setInterval("window.scrollTo(0,0)", 50).

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

    Unhappy

    hi there

    im trying to use this script on my site but it seems that ie6 doesnt work with it?Is ie6 working for you or you dont care?

    Anyone is happy to help me fix this?How can i make this script work for ie6 as well?

    Thanks a lot for your time!

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
  •