Jump to content

[Solved] Alert window over the homepage


Recommended Posts

Hi

I would like to insert (temporarily) a dhtml window over the home page, with an alert message for customers. The code is taken from here:

http://www.spiderwebmastertools.com/dhtmlpopup.html

and the instructions are:


A. Paste the code below between your <head></head> tags of your document

<!-- No-Block DHTML PopUp Script created with Spider Webmaster Tools (http://spiderwebmastertools.com). -->
[removed]
var ie=document.all
var ns6=document.getElementById && !document.all
function showPopUp(){
document.getElementById('pWinConfg').style.visibility='visible';
}
function hidePopUp(){
document.getElementById('pWinConfg').style.visibility='hidden';
}
function startPopUp(){
timerID=setTimeout('showPopUp()',3000);
}
<style>.pWinConfg{
font-family:Arial, Verdana, Sans-Serif;
font-size:14;
position:absolute;
width:400;
height:400;
background-color:#FFFFF0;
top:137.4578177727784;
left:520;
border-style:double;
border-width:2;
border-color:#FFFFF0;
padding:8;
visibility:hidden;
@filter: progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=135);
}</style>




B. Paste the code below at the beginning of the body of the document

<body>


<!-- put your window text/contents here! -->




Ok, fine, but where, in what file exactly, I must paste these scripts ? I'm using prestashop v 1.2.5.

Or, if there is another simpler solution, please help me with it.

Thank you,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...