Results 1 to 6 of 6

Thread: change skip page place

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

    Default change skip page place

    1) Script Title:
    splash page
    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...amicsplash.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 ?

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

    Default

    Do you mean add the button inside the page that's shown in the IFRAME itself? Try something like the following:

    Code:
    <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.
    DD Admin

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

    albgrea (01-26-2010)

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

    Default

    I've tried but also it doesn't skip or close the page

    here what I mean

    test.linkatty.com

  5. #4
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    up up up up up

    can any one help in this ?

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

    Default

    It didn't work due to the permissions issue I mentioned above:

    Code:
    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.
    DD Admin

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

    albgrea (01-29-2010)

  8. #6
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    thank you thank thank you .... it really works

    you r the best

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
  •