Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#19471 - 08/16/02 01:36 AM link opening a popup  
Joined: Apr 2002
Posts: 730
Moffesto Offline
UGN Supporter
Moffesto  Offline
UGN Supporter

Joined: Apr 2002
Posts: 730
Kuntucky
how can i make a link open a popup window, like if i made a link on my site labeled "links" and i want for it to open a popup when clicked, listing all the links. what would b the html tag for this action?


2 people can keep a secret as long as one is dead
Sponsored Links
#19472 - 08/16/02 02:14 AM Re: link opening a popup  
Joined: Mar 2002
Posts: 562
Le4rner Offline
UGN Supporter
Le4rner  Offline
UGN Supporter

Joined: Mar 2002
Posts: 562
Probably want JavaScript not HTML for this one.

http://hotwired.lycos.com/webmonkey/programming/javascript/tutorials/tutorial1.html

I personaly never learned JavaScript. Just haven't wanted to yet I guess. Anyway that is supposed to be one of the best lessons on the net for it.

#19473 - 08/16/02 01:18 PM Re: link opening a popup  
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage  Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
goodness gracious learner, the guy asks for a hamburger and you throw him a cow...

The all HTML way of making a popup window

Go to Yahoo

It's the Target field that does it. It specifies where to open the link in. You can use any of the following:

_blank = opens in a new blank window
_top = opens in the top window (break out of frames)
_parent = opens in the window/frame that owns the frame the link is in
_self = opens the link in the current window/frame (good for breaking out of predefined default targets)

While we're talking about default targets, you can specify a HTML tag like this:


Put that at the top of your HTML and it will make all links automatically open in new windows.

Oh, and target can also be the name of the window you wish to open it in. If the window name doesn't exist, it opens a new window with a new name of - whatever you specified.

Now, if you wanna little more power you can use a bit of javascript:

Code:
<A HREF="#" onClick="javascript:window.open('http://www.yahoo.com','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=300')">blah</A>
toolbar = yes | no | add/remove browsers toolbar
location = yes | no | add/remove browsers location field
directories = yes | no | add/remove browsers directories field
status = yes | no | add/remove browsers status field
menubar = yes | no | add/remove browsers menubar
scrollbars = yes | no | add/remove browsers scrollbars
resizeable = yes | no | allow new window to be resizable
width = value | window width in pixels
height = value | window height in pixels

There, ya get all this?


Domain Registration, Hosting, Management
http://www.dollardns.net
#19474 - 08/16/02 07:10 PM Re: link opening a popup  
Joined: Mar 2002
Posts: 257
psychogen Offline
Member
psychogen  Offline
Member

Joined: Mar 2002
Posts: 257
UK
heh


The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it."
--------------------
"Its not a bug, its a feature" (Epic Games)
#19475 - 08/16/02 08:42 PM Re: link opening a popup  
Joined: Apr 2002
Posts: 730
Moffesto Offline
UGN Supporter
Moffesto  Offline
UGN Supporter

Joined: Apr 2002
Posts: 730
Kuntucky
thanks SR, ill bookmark this and try it lata.


2 people can keep a secret as long as one is dead
Sponsored Links
#19476 - 09/06/02 06:48 AM Re: link opening a popup  
Joined: Sep 2002
Posts: 17
budwurm Offline
Junior Member
budwurm  Offline
Junior Member

Joined: Sep 2002
Posts: 17
any one know how to make a message forum, plz tell me

____________________________________
knowledg is power
power is freedom


Those who write on bathroom stalls, roll there shit into little balls. Those who read those words of wit, eat those little balls of shit!!!
#19477 - 09/06/02 06:50 AM Re: link opening a popup  
Joined: Sep 2002
Posts: 17
budwurm Offline
Junior Member
budwurm  Offline
Junior Member

Joined: Sep 2002
Posts: 17
any one know how to make a pop up window with all of your links on it come up when some one enters your site


Those who write on bathroom stalls, roll there shit into little balls. Those who read those words of wit, eat those little balls of shit!!!
#19478 - 09/09/02 08:27 PM Re: link opening a popup  
Joined: Mar 2002
Posts: 574
Cold Sunn Offline
UGN GFX Whore
Cold Sunn  Offline
UGN GFX Whore

Joined: Mar 2002
Posts: 574
Likes: 1
us
Quote:
Originally posted by budwurm:
any one know how to make a message forum, plz tell me
by message forum do you mean like this? If you wanted to make one, haha good luck man. If you want a forum, i suggest you use a free one. If you can install one on your site, i suggest phpBB, Invision Board, openBB, or something like that. If you need it hosted somewhere else, I suggest Novogate. Do searches for those names to find their official site, which will have a better description and also a forum so you know what they look like.

Quote:
Originally posted by budwurm:
any one know how to make a pop up window with all of your links on it come up when some one enters your site
I am not sure what you mean. If you mean have every link they click open in a new window, then you will probably have to add the code to each link. I have never tried this, so I am not sure. Also, except in some cases, this is really annoying so be careful.

Also, psychogen, haha, dude.

Edit: Novogate is not a free board, sorry, my mistake. Hyperboards I think it is, is free. It is good, but it has a popup on each page.


Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics47,469
Posts82,639
Average Daily Posts8
Members2,159
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 40,633
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Ghost Likes: 1
Gremelin Likes: 4
Ice Likes: 1
unreal Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)