popup on html page ???
|
Original Message
|
Name: demon
Date: July 22, 2004 at 10:03:40 Pacific
Subject: popup on html page ??? 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 !
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: safeTsurfa
Date: July 22, 2004 at 11:14:43 Pacific
Subject: popup on html page ??? |
Reply: (edit)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.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Larry21
Date: July 27, 2004 at 21:47:23 Pacific
Subject: popup on html page ??? |
Reply: (edit)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.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: