Home > General > Affiliate Marketing Forum

Script to open 2 different popup window (2)


08-18-2011 12:55 PM #1 regan (Member)
Script to open 2 different popup window

I am desperately looking for a "script or code" which can open 2 different popup window from a landing page.

Lets say I have an ipad offer landing page and once the user click on "click here to continue" button 2 different popup window should open up with 2 different offers.

I hope you guys have solution for this one.

Cheers
Regan


08-18-2011 01:00 PM #2 parthenon (Member)

Quote Originally Posted by regan View Post
I am desperately looking for a "script or code" which can open 2 different popup window from a landing page.

Lets say I have an ipad offer landing page and once the user click on "click here to continue" button 2 different popup window should open up with 2 different offers.

I hope you guys have solution for this one.

Cheers
Regan
You could be able to use this for your purposes:

Code:
<script language="JavaScript">

functionName=window.open('url','windowName','window parameters')

windowOne=window.open('page1URL','window1','scrollbars=yes,width=800,height=600');
windowTwo=window.open('page2URL','window2','scrollbars=yes,width=800,height=600');

</script>
You can add as many pages as you want.


Home > General > Affiliate Marketing Forum