Welcome to BeerMoneyForum.com - BIGGEST MAKE MONEY FORUM ONLINE

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
Blue
Red
Green
Orange
Voilet
Slate
Dark
  Guest viewing is limited

Must checkout:

How add Pop-up in Wix?

Gabriel Ferrer

Silver Member
LV
0
 
Joined
Apr 30, 2018
Messages
218
Reaction score
20
Points
25
Location
Brazil
BMF Points
$1,219
Rating - 100%
1   0   0

Hello Guys, i need your help, i'm trying use the Pop-Up code of Adz2You
<!--[ POPUP code show every 5 Minutes . For Username: tgerty09ui50y - Adz2you // ads.adz2you.com/home.php // ]-->

<script type="text/javascript">
function setCookie(cname, cvalue){
var d = new Date();
d.setTime(d.getTime() + (5 * 60 * 1000));
var expires = "expires="+d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}

function getCookie(cname){
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i = 0; i < ca.length; i++){
var c = ca;
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}

function openPopup(url, title, w, h){
var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : window.screenX;
var dualScreenTop = window.screenTop != undefined ? window.screenTop : window.screenY;

var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;

var left = ((width / 2) - (w / 2)) + dualScreenLeft;
var top = ((height / 2) - (h / 2)) + dualScreenTop;
var newWindow = window.open(url, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);

if (window.focus){
newWindow.focus();
}
}

document.addEventListener('click', function(){
var show_popup = getCookie('show_popup');
var opened = false;

if(show_popup == ''){
setCookie('show_popup', '1');

if(!opened){
opened = true;

var url = 'http://ads.adz2you.com/?tgerty09ui50y';
openPopup(url, '', 800, 600);
}
}else{
opened = false;
}
});
</script>

<!--[ End POPUP code of the Ad Tag - Adz2you // ads.adz2you.com/home.php // ]-->

but i no know where i put this code, because Wix use a box of Html, i want execute this code when i click anywhere the site every 5 minutes
or just another pop-up code that open this page http://ads.adz2you.com/?tgerty09ui50y, because when i try use the box i need click in him to work the pop up
 
You have to acess theme editor or you can find SEO editor. When you find SEO editor, you find part how to add code into header. If you can't find it, I will try create screenshot.
 
Is this ?
1550487720159.png

i tried add a code here but say invalid
1550487778402.png
 
I find instructions online. You can't add it trough code. You have to add HTML iframe element (First image). I copied your code and it's accepted but I think you have to add it to every page.
.htmliframe.JPG
 
Hello Guys, i need your help, i'm trying use the Pop-Up code of Adz2You
<!--[ POPUP code show every 5 Minutes . For Username: tgerty09ui50y - Adz2you // ads.adz2you.com/home.php // ]-->

<script type="text/javascript">
function setCookie(cname, cvalue){
var d = new Date();
d.setTime(d.getTime() + (5 * 60 * 1000));
var expires = "expires="+d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}

function getCookie(cname){
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i = 0; i < ca.length; i++){
var c = ca;
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}

function openPopup(url, title, w, h){
var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : window.screenX;
var dualScreenTop = window.screenTop != undefined ? window.screenTop : window.screenY;

var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;

var left = ((width / 2) - (w / 2)) + dualScreenLeft;
var top = ((height / 2) - (h / 2)) + dualScreenTop;
var newWindow = window.open(url, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);

if (window.focus){
newWindow.focus();
}
}

document.addEventListener('click', function(){
var show_popup = getCookie('show_popup');
var opened = false;

if(show_popup == ''){
setCookie('show_popup', '1');

if(!opened){
opened = true;

var url = 'http://ads.adz2you.com/?tgerty09ui50y';
openPopup(url, '', 800, 600);
}
}else{
opened = false;
}
});
</script>

<!--[ End POPUP code of the Ad Tag - Adz2you // ads.adz2you.com/home.php // ]-->


but i no know where i put this code, because Wix use a box of Html, i want execute this code when i click anywhere the site every 5 minutes
or just another pop-up code that open this page http://ads.adz2you.com/?tgerty09ui50y, because when i try use the box i need click in him to work the pop up
The real question to ask would be:
Is it a good idea to use pop-ups?

First of all people hate pop-ups and no one sees them more than 1 time after they realize that's a pop-up. So if you want to annoy them with pop-ups, then don't get pissed off if they never come back to your website.
 
The real question to ask would be:
Is it a good idea to use pop-ups?

First of all people hate pop-ups and no one sees them more than 1 time after they realize that's a pop-up. So if you want to annoy them with pop-ups, then don't get pissed off if they never come back to your website.
the real question is in the title, i know they are annoying, thanks for your unhelpful post. Do you know how to fix this problem to add the popup?
 
So you want to be annoying, unhelpful means not telling you that it's useless using pop-ups and of course you should know this forum is supposed to make people learn and i just told you to not do an useless crap like adding pop-ups which was also posted by the boss of this Forum telling to not use pop-ups. And NO, even if i knew how to do it, that's not considered helpful telling you how to not advertise.
 
So you want to be annoying, unhelpful means not telling you that it's useless using pop-ups and of course you should know this forum is supposed to make people learn and i just told you to not do an useless crap like adding pop-ups which was also posted by the boss of this Forum telling to not use pop-ups. And NO, even if i knew how to do it, that's not considered helpful telling you how to not advertise.
i want know if we are not being paid for posting in topics you come here in my topic just to say pop up are crappy, as i just asking a question to put pop up in my site, if you dont know create a pop up why you are here? i asked bmf about this he said to come here to put this question, i come here and have a guy that no know how do this and just is here to say crappy things
 
Thanks for the awser zeljko, but no worked with this option actived, i trying get a pop up that block any link, in the site after u click in the site open the pop up and now you can click anywhere, but thanks anyway i gonna try read some coding about wix, to understand:Thumbsup:
 
Sorry I could not solve problem. I was earlier working with Weebly, similar to Wix, and it has SEO editor and access to background code. Weebly change owner so I don't know does they have those option still avalible.
 
If you have a premium plan it's possible to add custom code by going to "Select & Edit Site" -> "Settings" -> "Tracking & Analytics" -> "New Tool" -> "Custom".
 

📢 Recommended Partners

Paykassma - Accept Payments Online  | Payment Processing since 2019 Payka$$ma
Leading solution for accepting high-risk payments since 2019
5.00 star(s) 1 ratings
Updated
MGID - Native Performance & Programmatic Advertising Platform MGID Team
0.00 star(s) 0 ratings
Updated
Roobet.com | Crypto’s Fastest Growing Casino 🦘 Roobet.com
1.00 star(s) 1 ratings
Updated
Duckdice.io - Top Crypto Gambling - Bitcoin Dice DuckDice.io
0.00 star(s) 0 ratings
Updated

banner

REWARDS: Active Raffles


  • 🤑 Roll 4: Win 100,000 BMF Points!

    The entry period for this raffle ends in..
Back
Top Bottom

Earnings Disclaimer:  All the posts published herein are merely based on individual views, and they do not expressly or by implications represent those of BeerMoneyForum.com or its owner. It is hereby made clear that BeerMoneyForum.com does not endorse, support, adopt or vouch any views, programs and/or business opportunities posted herein. BeerMoneyForum.com also does not give and/or offer any investment advice to any members and/or it's readers. All members and readers are advised to independently consult their own consultants, lawyers and/or families before making any investment and/or business decisions. This forum is merely a place for general discussions. It is hereby agreed by all members and/or readers that BeerMoneyForum.com is in no way responsible and/or liable for any damages and/or losses suffered by anyone of you.