Need clickable popup to open in new window

3 replies
Hi Everyone,
I am using a delayed clickable popup on my storybooksthatteach.com site (see signature).
I would like the clickable popup link to open in a new window; how do I change the code to do that?

As far as I know this is the link part of the code:

preloadImages('popwin5/front.png','popwin5/x.gif','popwin5/y.gif');

displayPOP(300,200, 'http://www.storybooksthatteach.com/freepage.htm');

// Create the pop-up
// displayPOP(position_from_left, position_from_top, URL);
displayPOP(300,350, 'http://www.storybooksthatteach.com/freepage.htm');

// Show Pop-Up after a few seconds after page loads
// setTimeout('ShowPop();',secs);
setTimeout('ShowPop();',10000);

// Automatically close Pop-Up a few secods after page loads
// setTimeout('Close();',secs);
//setTimeout('Close();',20000);

Thanks for any help.

Paul in Calgary.
The Child Development Guy.
#clickable #open #popup #window
  • Profile picture of the author paulmackie
    Hi Everyone,
    Can this be done?


    Paul in Calgary
    {{ DiscussionBoard.errors[432498].message }}
    • Profile picture of the author Michael D Price
      [DELETED]
      {{ DiscussionBoard.errors[433875].message }}
      • Profile picture of the author paulmackie
        Hi Michael,
        Thanks for your reply.

        I have been messing with the popup to get it to work, with no success.
        The file is a .js file

        My page at:
        Child Development From Years 1-4
        the popup comes onto the page after about 8 seconds
        and when clicked goes to:
        Storybooks That Teach
        I just need to know how to change the code so it opens in a new window.

        Thanks again for your help.

        Paul in Calgary
        {{ DiscussionBoard.errors[433988].message }}
        • Profile picture of the author paulmackie
          Hi Everyone,
          Just to let you know I got it working; thanks to Kidino at WOWPopups.

          Have a great day.

          Paul in Calgary.
          The Child Development Guy.
          {{ DiscussionBoard.errors[435670].message }}

Trending Topics