CPVLab Discount: Save $50!
  #1  
Old 09-23-2010, 03:26 AM
Member
 
Join Date: Jun 2010
Posts: 53
Thanks: 1
Thanked 1 Time in 1 Post
Default Landing Page to Larger Window for Offer

I have a setup where I have a landing page that works perfectly in the pop up window. When someone clicks on my offer link I want the window to re-size to it fits the offer. Does anyone know the code for that?
__________________
Frustrated with CPV Tracking Options? Watch this video
Reply With Quote
  #2  
Old 09-23-2010, 04:05 AM
Moderator
 
Join Date: May 2008
Posts: 554
Thanks: 10
Thanked 61 Times in 26 Posts
Default

This gives you a new window at fullscreen size...

PHP Code:
<script type="text/javascript">
<!--
function popup(url) 
{
 params  = 'width='+screen.width;
 params += ', height='+screen.height;
 params += ', top=0, left=0'
 params += ', fullscreen=yes';
 params += ', scrollbars=yes';

 newwin=window.open(url,'windowname4', params);
 if (window.focus) {newwin.focus()}
 return false;
}
// -->
</script>
              <a href="javascript: void(0)" 
   onClick="popup('http://tracker-domain.com/b.php&a=<?php echo $a?>&b=<?php echo $b?>')"><b>CLICK 
       ME</b></font></a>
I hope this is what you had in mind.

It's worked for me for many months.

-Aaron

Last edited by particles; 09-23-2010 at 04:08 AM.
Reply With Quote
  #3  
Old 09-23-2010, 04:39 AM
Member
 
Join Date: Jun 2010
Posts: 53
Thanks: 1
Thanked 1 Time in 1 Post
Default

Excellent! Thanks Aaron. I appreciate it.
__________________
Frustrated with CPV Tracking Options? Watch this video
Reply With Quote
  #4  
Old 09-23-2010, 08:39 AM
CPVDen Co-Owner
 
Join Date: Apr 2010
Location: hhi
Posts: 863
Thanks: 69
Thanked 63 Times in 50 Posts
Default

perfect! i use something very similar.

- lucas
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:52 PM.


Search Engine Optimization by vBSEO 3.6.0