Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Closed Thread
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
View Public Profile
 
 
Register now for full access!
Old 10-20-2009, 05:29 PM Re: pop up window
NullPointer's Avatar
Will Code for Food

Posts: 2,781
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.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
View Public Profile Visit NullPointer's homepage!
 
Old 10-20-2009, 05:32 PM Re: pop up window
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 10-20-2009, 05:35 PM Re: pop up window
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
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
View Public Profile
 
Old 10-20-2009, 08:26 PM Re: pop up window
alex021's Avatar
Super Talker

Posts: 118
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.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
---
Please login or register to view this content. Registration is FREE
---
Please login or register to view this content. Registration is FREE
alex021 is offline
View Public Profile
 
Old 11-01-2009, 10:28 AM Re: pop up window
freezea's Avatar
Experienced Talker

Posts: 45
Trades: 0
I clicked the url, but saw nothing?
__________________

Please login or register to view this content. Registration is FREE
: Web-based Excel-like Java reporting tool.
freezea is offline
View Public Profile
 
Closed Thread     « 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.85090 seconds with 12 queries