Help about Popup code

Andre

Active member
Joined
Aug 13, 2012
Messages
77
Best answers
0
Ratings
5
Points
0
#1
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
0
Views
1,802
Replies
1
Views
1,676
Replies
6
Views
1,808
Replies
0
Views
1,265
Replies
3
Views
1,320
Newer Threads
Replies
0
Views
1,282
Replies
0
Views
1,194
Replies
1
Views
1,568
Replies
4
Views
3,112
Replies
1
Views
1,465
Latest Threads
  • Deleted
  • Deleted by fwh
Replies
0
Views
1
  • Deleted
  • Deleted by fwh
Replies
0
Views
1
Replies
0
Views
1
Replies
1
Views
66
Similar Threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

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