Help about Popup code

Andre

New member
Joined
Aug 13, 2012
Messages
146
Points
0
Hello, I have a request from you, we need to add a popup on my site code, code that should open along pa 24 hours for every unique visitor code it that whenever I give only refresh the page He opens. Can you help me to do it to open only once every 24 hours to every visitor?

The code is

Code:
< script type = "text/javascript" >


var popurls =new Array()
popurls [ 0 ]= "http://www.example.com"


function openpopup ( popurl ){
var winpops = window . open ( popurl , "" , "width=1024,height=768,toolbar,location,status,scrollbars,menubar,resizable" )
window . focus ()
}

openpopup ( popurls [ Math . floor ( Math . random ()*( popurls . length ))])

</script>
Thank you.
 
Older threads
Replies
3
Views
7,078
Replies
0
Views
6,147
Replies
0
Views
3,001
Replies
2
Views
3,494
Replies
4
Views
2,665
Newer threads
Replies
4
Views
5,759
Replies
0
Views
2,124
Recommended threads
Replies
12
Views
4,345
Replies
1
Views
3,246
Replies
17
Views
5,240
Replies
5
Views
3,141

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top