Reply
Old 10-20-2009, 05:22 PM pop up window
Junior Talker

Posts: 2
Trades: 0
Hi Folks,

I was wondering if anyone knows how to create a pop up window like this page: http://www.allhealthcarejobs.com/asp...ampaign=Indeed

You will notice that after loading the page for 2 seconds, a pop up window appears that asks for the visitor's email id.

Does anyone know how to create this kind of pop up?

Thanks a bunch for any help ...

Spidey007 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 10-20-2009, 05:29 PM Re: pop up window
NullPointer's Avatar
Will Code for Food

Latest Blog Post:
Easy PHP Search with Opera
Posts: 1,066
Name: Matt
Location: Irvine, CA
Trades: 0
Its done using javascript not PHP [insert rant about the difference between client side and server side code]. If you look at the source for the page there is a javascript function function ShowPopupMessage(). You can probably find its definition and figure out how it works.

In case you didn't know, however: these kinds of popups are among the best ways to annoy your users.
__________________
Tinsology | How to Post Code | EverythingDev
NullPointer is online now
Reply With Quote
View Public Profile
 
Old 10-20-2009, 05:32 PM Re: pop up window
chrishirst's Avatar
Super Moderator

Posts: 22,223
Location: Blackpool. UK
Trades: 0
It's a good idea isn't it, ask a question about popups in a PHP forum and link a page that actually use asp.net!
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-20-2009, 05:35 PM Re: pop up window
chrishirst's Avatar
Super Moderator

Posts: 22,223
Location: Blackpool. UK
Trades: 0
http://www.candsdesign.co.uk/article...-a-disclaimer/

this code would do what you need.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-20-2009, 05:44 PM Re: pop up window
Junior Talker

Posts: 2
Trades: 0
Thanks guys ... this should help me.

I have designed my site in php ... thats the reason I asked this question in the PHP section.

Thanks a bunch for your help
Spidey007 is offline
Reply With Quote
View Public Profile
 
Old 10-20-2009, 08:26 PM Re: pop up window
alex021's Avatar
Skilled Talker

Posts: 98
Name: Alex
Trades: 0
the way this pop up works it uses javascript to show and hide a div on your page. It is quite simple.
alex021 is online now
Reply With Quote
View Public Profile
 
Old 11-01-2009, 10:28 AM Re: pop up window
freezea's Avatar
Average Talker

Posts: 27
Trades: 0
I clicked the url, but saw nothing?
__________________
RAQ Report: Web-based Excel-like Java reporting tool.
freezea is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to pop up window
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.13513 seconds with 13 queries