Computing.Net > Forums > Web Development > popup on html page ???

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

popup on html page ???

Reply to Message Icon

Name: demon
Date: July 22, 2004 at 10:03:40 Pacific
OS: Win
CPU/Ram: 2.5/1000
Comment:

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 !



Sponsored Link
Ads by Google

Response Number 1
Name: safeTsurfa
Date: July 22, 2004 at 11:14:43 Pacific
Reply:

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.


0

Response Number 2
Name: Larry21
Date: July 27, 2004 at 21:47:23 Pacific
Reply:

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.htm

Good luck (and dont bother people too much with those popups!)
Larry

PS- 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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


save jpegs from a non rig... i need a couple scripts



Post Locked

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


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: popup on html page ???

disabling html page source viewing? www.computing.net/answers/webdevel/disabling-html-page-source-viewing/2677.html

One menu on every page www.computing.net/answers/webdevel/one-menu-on-every-page/2328.html

post HTML page in PHP www.computing.net/answers/webdevel/post-html-page-in-php/1756.html