chatmasta
Dec 1st 2006, 2:17 pm
I was given this code for adversal.
<!-- Begin Publisher Code -->
<script src="http://www.adversalservers.com/publisherJS.js"></script>
<script type="text/javascript" language="javascript">
initAdversal("8f92b13db33e4e432fe11e4466c5aabb", true);
</script>
<!-- End Publisher Code -->
This displays a full page popup. However, I want to only display it randomly, say a 1 in 10 chance.
I would appreciate a code snippet that accomplishes this. The trouble I am having is that I can't randomly display a whole block of javascript like this.
Thanks
<!-- Begin Publisher Code -->
<script src="http://www.adversalservers.com/publisherJS.js"></script>
<script type="text/javascript" language="javascript">
initAdversal("8f92b13db33e4e432fe11e4466c5aabb", true);
</script>
<!-- End Publisher Code -->
This displays a full page popup. However, I want to only display it randomly, say a 1 in 10 chance.
I would appreciate a code snippet that accomplishes this. The trouble I am having is that I can't randomly display a whole block of javascript like this.
Thanks