View Full Version : change skip page place
albgrea
01-26-2010, 07:55 PM
1) Script Title:
splash page
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex3/dynamicsplash.htm
3) Describe problem:
if I want to change the " skip page" pic play to put it in the middle of page for example .... is it possible ?
ddadmin
01-26-2010, 09:18 PM
Do you mean add the button inside the page that's shown in the IFRAME itself? Try something like the following:
<a href="javascript:parent.splashpage.closeit()">Skip To Content<a>
This only works if the page inside the IFRAME is from the same domain as the parent page containing the Splash Page script.
albgrea
01-26-2010, 10:59 PM
I've tried but also it doesn't skip or close the page
here what I mean
test.linkatty.com
albgrea
01-28-2010, 04:29 AM
up up up up up
can any one help in this ?
ddadmin
01-28-2010, 10:08 AM
It didn't work due to the permissions issue I mentioned above:
Error: Permission denied for <http://linkatty.com> to get property Window.splashpage from <http://test.linkatty.com>.
Source File: javascript:parent.splashpage.closeit()
Line: 1
Specifically, your sample page is on test.linkatty.com while the IFRAME page is located at just linkatty.com A sub domain to JavaScript is a separate domain from the main domain.
Try putting both pages on the same domain, and see if that works.
albgrea
01-29-2010, 11:48 AM
thank you thank thank you .... it really works
you r the best
Powered by vBulletin® Version 4.2.2 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.