# Dreamweaver question - ummm...dont shoot me for posting here

**URL:** https://forum.kirupa.com/t/dreamweaver-question-ummm-dont-shoot-me-for-posting-here/2364
**Category:** flash
**Created:** [April 15, 2002, 12:59am UTC](https://forum.kirupa.com/t/dreamweaver-question-ummm-dont-shoot-me-for-posting-here/2364 "2002-04-15T00:59:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2002, 12:59am UTC](https://forum.kirupa.com/t/dreamweaver-question-ummm-dont-shoot-me-for-posting-here/2364/1 "2002-04-15T00:59:26Z")

</div>

Need some help with the onload event in dreamweaver.

Each time someone goes to my index page - i pop a window, kinda like an ad. This can be annoying as each time they hit the “home” button, the ad shows up again.

is there a way to make the ad pop just once unless a new browser window opens?

Thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2002, 1:14am UTC](https://forum.kirupa.com/t/dreamweaver-question-ummm-dont-shoot-me-for-posting-here/2364/2 "2002-04-15T01:14:47Z")

</div>

Not that I know of! Sorry.

[blitzweb.net](http://blitzweb.net)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2002, 4:46am UTC](https://forum.kirupa.com/t/dreamweaver-question-ummm-dont-shoot-me-for-posting-here/2364/3 "2002-04-15T04:46:48Z")

</div>

Im not 100% sure cause im not sure what language your using and im not sure what the code is…but you should be able to somehow put a counter on…like have it only pop up once every 10 mins or something…but heck…why have a banner-ad thats not annoying? thats what they are there for right? 😉

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2002, 6:58pm UTC](https://forum.kirupa.com/t/dreamweaver-question-ummm-dont-shoot-me-for-posting-here/2364/4 "2002-04-15T18:58:54Z")

</div>

found it.

[www.dynamicdrive.com/dyna…/abox2.htm](http://www.dynamicdrive.com/dynamicindex11/abox2.htm)  
[javascriptkit.com/popwin/index.shtml](http://javascriptkit.com/popwin/index.shtml)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2002, 7:09pm UTC](https://forum.kirupa.com/t/dreamweaver-question-ummm-dont-shoot-me-for-posting-here/2364/5 "2002-04-15T19:09:13Z")

</div>

Hi, I do not know the code myself but maybe this will send you in the right direction. I know this can be done by either the use of cookies in which you could store a cookie to the visitors HD & this popup will never come up again based on that cookie being present. Just a suggestion that may send you in the right direction.  
Good luck.
