Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 05-10-2013, 07:19 AM   #1
noahwilson
Registered User
 
Join Date: Mar 2013
Posts: 248
How to i create popup?

Hello everybody
Look like the title, i have a question: How to create popup. please share your suggestion.
Thanks
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
noahwilson is offline   Reply With Quote

Old 07-05-2013, 07:40 PM   #2
seuli
Registered User
 
Join Date: Jun 2013
Posts: 5
How to Create Pop-Up

Hi!
How to Create Pop-Up Windows
Aaron Boodman, September 19, 2002
Forget everything you know about creating pop-up windows. Most importantly, forget you ever knew that the javascript pseudo-protocol ever existed. Do you hear me??


<a href="http://google.com/"
onclick="window.open(this.href, 'popupwindow', width=400,height=300,scrollbars,resizable');
return false;">
Click me any way you desire, now or later, bookmarked or not.
I will not attempt to control you, nor punish you, for I am a
simple hyperlink; eager to do your bidding, while remaining ever
helpful. I anticipating desires, but never trample possibilities.
This is the way of the Link.
</a>
Example

See how wonderful that is?? I can bookmark it, I can favorit-ize it. I can left click, I can right click. I can do all the things that an enlightened person might wish to do to a hyperlink. And if I do the default thing, you (ever so helpful author), anticipate my need for a popup without defiling my RIGHT to do whatever else I may want.
seuli is offline   Reply With Quote
Old 08-07-2013, 02:55 AM   #3
nele
Registered User
 
Join Date: Aug 2013
Posts: 32
Hello,

To create a popup you'll need the following script:

<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=200,width =150');
if (window.focus) {newwindow.focus()}
return false;
}

// -->
</script>

Then, you link to it by:

<a href="popupex.html" onclick="return popitup('popupex.html')"
>Link to popup</a>
__________________
"Powerfull state of the art DELL servers!"

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Ultimate Windows VPS hosting | Dedicated hardware MS Hyper-V technology Premium bandwidth providers

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Chat support Full 24/7 help desk support Email support
nele is offline   Reply With Quote
Old 09-10-2013, 04:22 AM   #4
dainawimble
Registered User
 
Join Date: Sep 2013
Posts: 24
I got here most useful code for make pop up.
dainawimble is offline   Reply With Quote
Old 10-16-2013, 04:55 AM   #5
amitsharma11
Registered User
 
Join Date: Sep 2013
Posts: 91
Their are many sites that provide codes for pop ups..so you can search it and do some changes.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
amitsharma11 is offline   Reply With Quote
Old 12-16-2013, 09:35 AM   #6
NicholasCage
Registered User
 
Join Date: Dec 2013
Posts: 44
nice simple example of popup
NicholasCage is offline   Reply With Quote
Old 02-03-2016, 03:14 AM   #7
kkrajdurai
Registered User
 
Join Date: Feb 2016
Posts: 12
you can also create pop-up easily by just registering at poptm.com.
kkrajdurai is offline   Reply With Quote
Old 02-08-2016, 10:14 AM   #8
nimeshgeorge
Registered User
 
Join Date: Feb 2016
Posts: 10
nele,good example, i like really.
__________________
Nimesh

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
nimeshgeorge is offline   Reply With Quote
Old 02-08-2016, 08:10 PM   #9
quantumleap
Registered User
 
Join Date: Jan 2016
Location: Hyderabad
Posts: 728
Good example for popup creation thanks !!!
quantumleap is offline   Reply With Quote
Old 02-25-2016, 03:58 AM   #10
ipack
Registered User
 
Join Date: Oct 2015
Posts: 139
Quote:
Originally Posted by nele View Post
Hello,

To create a popup you'll need the following script:

<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=200,width =150');
if (window.focus) {newwindow.focus()}
return false;
}

// -->
</script>

Then, you link to it by:

<a href="popupex.html" onclick="return popitup('popupex.html')"
>Link to popup</a>
Hi thanks for the information.

PHP Industrial Training in Chandigarh Web Development Training Chandigarh PHP Training Mohali
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ipack is offline   Reply With Quote
Old 06-13-2016, 12:06 PM   #11
RyanVarnals
Registered User
 
Join Date: Jun 2016
Posts: 14
You could hand code a popup with javascript or jQuery, but you would need to style the popup to look nice. I would recommend looking into already made frameworks for popups. They come already styled, and some have animations for the popup (fade-in, ease-out, etc...).
__________________
Ryan Varnals
Web Developer
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
RyanVarnals is offline   Reply With Quote
Old 06-21-2016, 12:58 AM   #12
SMTPL
Registered User
 
Join Date: May 2016
Posts: 89
Thanks for share information.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SMTPL is offline   Reply With Quote
Old 05-17-2017, 03:55 AM   #13
komal14
Registered User
 
Join Date: Apr 2017
Posts: 74
Actually I don't know the code. But I got some useful code here.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
komal14 is offline   Reply With Quote
Old 05-25-2017, 02:45 AM   #14
Rationaltech
Registered User
 
Join Date: May 2017
Posts: 21
Thanks for sharing.

web designing company in Hyderabad,
web designing company,
web designing company in India
Rationaltech is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
To create high-quality outside the chain of the three laws Chinese holiday Web Promotion 2 01-20-2014 12:54 AM
Need Topic To Create the Website harrydenwt Search Engine Optimization 2 08-15-2012 04:35 AM
create quality content for your visitors cioafua Search Engine Optimization 3 12-14-2011 02:05 AM
close Popup Window ncjbhd Java 2 12-07-2011 10:38 PM
Create random 3 digit number wryfhk22 PHP / mySQL 0 09-13-2011 01:41 AM


All times are GMT -7. The time now is 11:15 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.