p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Basics (http://p2p.wrox.com/forumdisplay.php?f=61)
-   -   pop-up window (http://p2p.wrox.com/showthread.php?t=28007)

rajiv_software April 12th, 2005 04:01 AM

pop-up window
 
hi all ,[?]

i have to pop-up some reminders in a new window to the users . it is just like when we open a website ads related to that site come in new window .

what i have to do that , when a specific user logs in , a new window will open to remind him about some thing

i think , you will be getting my requirement .

how can i do this ?

Rgds
Rajiv [?]


spacy April 12th, 2005 06:11 AM

hi Rajiv..

To open a new window through asp.net, you need to use
javascript. After the user has been validated, you can
write this:

Response.Write("<script language=javascript>window.open('popup.aspx','new' ,'height=100,width=100,resizable=no scrollbars=no,status=no,toolbar=no,menubar=no,loca tion=no');</script>")

Cheers..
Spacy :)




All times are GMT -4. The time now is 11:20 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.