Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I'm trying to have a little popup on a web page at a certain location and I want it to disappear after a few seconds. the popup will have some text as value. I want one of those flash kind of popups, not a window type popup. How can this be done, is there a way with JavaScript or Flash ?? I hope you understand my question, Any comments/suggestions would be appreciated. Thanks !

Javascript. Create the popup command in the page which launches it, then create a javascript onLoad command which sends the "javascript:windowclose()" instruction after x seconds, in to the popup page's body tag. Note some browsers will give the user a warning that a remote function is trying to close their window and they will get an OK/Cancel box to confirm.

I believe that you are intending one of the popups that are not separate from the window, but appear inside? If you intend for a regular popup- then the above advice is correct- just have it close after x amount of time.
With regards to the inside window popups, it can be done several ways- here are some links:
http://javascript.about.com/library/scripts/blpopinside.htm
http://www.htmlgoodies.com/beyond/openwin.html (half way down the page)
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htmGood luck (and dont bother people too much with those popups!)
LarryPS- Here's some more info on 'auto closing' a window. It is not tailored to the type of popup mentioned before, but the same principles should seemingly apply.

![]() |
save jpegs from a non rig...
|
i need a couple scripts
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |