Open a Pop Up Window (Advertising)
- Home
- Javascript
- Open a Pop Up Window (Advertising)
This script lets you open a new window instance on the users computer. This is usefull if you want to put an ad or just a logo to pop up when the user accesses a particular page.
<script>
<!-- START HIDE
window.open("http://www.example.com/widget.html",
// the popup page url
"SS5","top=202.5,left=175, // Distance from the top and left
width=450,height=195, // Width
and Height
buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
// Yes or No
// STOP HIDE -->
</script>
javascript popup window advertising