How to add a pop up when someone visits the site
4 posters
Page 1 of 1
How to add a pop up when someone visits the site
I have the popup code here
- Code:
<script language="javascript"><!--
function PopUp() {
var TheURL = "http://www.thepetitionsite.com/985/921/022/ban-bowls-pt-2/";
var PopWidth = "1200";
var PopHeight = "500";
var PosTop = "";
var PosLeft = "";
var SettingS = "toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=" + PopWidth + ",height=" + PopHeight + ",top=" + PosTop + ",left=" + PosLeft;
var PopUp = open(TheURL,"box",SettingS);
}
window.onload=PopUp;
// -->
</script>
Last edited by CarpCharacin on November 5th 2014, 5:33 am; edited 1 time in total
Re: How to add a pop up when someone visits the site
Go to your Administration Panel => Modules => HTML and Javascript => JavaScript Codes Management
Re: How to add a pop up when someone visits the site
I put my code in there and it did not work. I made sure my op ups were not blocked and tried it in google chrome and internet explorerRamdaman wrote:Go to your Administration Panel => Modules => HTML and Javascript => JavaScript Codes Management
Re: How to add a pop up when someone visits the site
you can try it to see if the pop up works from a different internet connection. Here is the link http://carpkeeping.userboard.net/
Re: How to add a pop up when someone visits the site
Did you activate JavaScript Management and check in all pages?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to add a pop up when someone visits the site
i activated javascript management but i do not want my pop up to appear on all pages. Just when someone goes to the index i want it to pop up.SLGray wrote:Did you activate JavaScript Management and check in all pages?
UPDATE: i tried all pages and it still did not work.
Last edited by CarpCharacin on November 5th 2014, 3:21 am; edited 1 time in total (Reason for editing : update)
Re: How to add a pop up when someone visits the site
Hello CarpCharacin,
Try this :
Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : in the homepage
Paste the code below :
Try this :
Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : in the homepage
Paste the code below :
- Code:
function PopUp() {
var TheURL = "http://www.thepetitionsite.com/985/921/022/ban-bowls-pt-2/";
var PopWidth = "1200";
var PopHeight = "500";
var PosTop = "";
var PosLeft = "";
var SettingS = "toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=" + PopWidth + ",height=" + PopHeight + ",top=" + PosTop + ",left=" + PosLeft;
var PopUp = open(TheURL,"box",SettingS);
}
window.onload=PopUp;
Re: How to add a pop up when someone visits the site
Thanks a lot!!!Ange Tuteur wrote:Hello CarpCharacin,
Try this :
Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : in the homepage
Paste the code below :
- Code:
function PopUp() {
var TheURL = "http://www.thepetitionsite.com/985/921/022/ban-bowls-pt-2/";
var PopWidth = "1200";
var PopHeight = "500";
var PosTop = "";
var PosLeft = "";
var SettingS = "toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=" + PopWidth + ",height=" + PopHeight + ",top=" + PosTop + ",left=" + PosLeft;
var PopUp = open(TheURL,"box",SettingS);
}
window.onload=PopUp;
Similar topics
» Visits per month
» Number Of Visits Your Profile has had
» Tips To Get More Visits On Your Forum
» Modification of the code for user visits.
» hello how can i cancel email message to my users? and how can i edit numbers of posts?
» Number Of Visits Your Profile has had
» Tips To Get More Visits On Your Forum
» Modification of the code for user visits.
» hello how can i cancel email message to my users? and how can i edit numbers of posts?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum