View Full Version : Splash page skip intro

07-21-2009, 09:15 PM
1) Script Title:
Splash Page
2) Script URL (on DD):
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');
var standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body

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

Please help...

07-23-2009, 06:19 AM
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).

07-23-2009, 01:04 PM
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!