Ce script e asta ?

Abh

Veteran
Donator
Cod:
$(document).ready(function(){
			//Pop Under
			if ($('#email-form').length) {
				$("#submit").click(function(e) {			
					var popunder = 0;
					
					var popcheck = 'y';

					if( popunder != '1' && popcheck == 'y')
					{
						var email_address = $("#email-address").val();
			
						if(is_valid_email_address(email_address)) 
						{ 
							var url = "/go/pop/under";
							window.open(url, "s", "width=900,height=510,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0").blur();
							window.focus();		
						}
					}
				});	
			};
			
			//Email Pop
			if ($('#email-form').length) {
				$('#email-form').append('<input type="hidden" name="js" value="1" />');
				$('#email-form-pop').append('<input type="hidden" name="js" value="1" />');
			
				var dropcheck = 'y';
				if( dropcheck == 'y') {
					$("body").mouseleave(function(){
						$('#exit_pop_email').modal('show');
					});	
				};
			};
			
			//Address Pop
			if ($('#address-form').length) {
				$("body").mouseleave(function(){
					//$('#exit_pop_address').modal('show');
				});	
			};
			
			
			function is_valid_email_address(email_address) {
				var pattern = new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i);
			    return pattern.test(email_address);
			};
		});
 

adrianze

Donator
Mersi dar nu merge asa cum se vede in sursa, lipsesc parti din el /go/pop/under si cateva functii.
 

adrianze

Donator
starscream a spus:
este e la adworkmedia
In afara de adworkmedia nu am inteles nimic din ce ai zis, si nu ai zis multe... dar ca fapt divers e luata de la peerfly oferta dar nu asta e important, nu are nici o treaba reteaua unde e promovata oferta cu ce script e pe ea.
 

Abh

Veteran
Donator
Mai are niste php pentru email cred, ala n-ai cum sa-l iei. E oricum naspa efectul, nu stiu ce iti place asa mult ca apare casuta aia cand iesi din pagina.
 

adrianze

Donator
Cel mai probabil cand apare pop-ul ala vizitatorul muta cursorul sa iasa, si ar fi oprit macar din curiozitate sa citeasca ce scrie pe pop + ca poti sa ii pui o imagine, ceva sa atraga. SIgur nu e la fel de eficient ca un exit pop dar la fel ca un exit pop nu ai nimic de pierdut, vizitatorul vrea sa iasa si orice lucru care il poate retine sau ii poate prezenta altceva este un plus. De exemplu pe o pagina cu kfc faci un pop-up cu " you dont like kfc ? try mcdonalds " sau pe o pagina cu lucruri de femei faci un pop cu lucruri de barbati.
 
Sus