Previous Thread
Next Thread
Print Thread
Rate Thread
#19471 08/15/02 06:36 PM
Joined: Apr 2002
Posts: 730
UGN Supporter
OP Offline
UGN Supporter
Joined: Apr 2002
Posts: 730
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
#19472 08/15/02 07:14 PM
Joined: Mar 2002
Posts: 562
UGN Supporter
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 06:18 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
goodness gracious learner, the guy asks for a hamburger and you throw him a cow...

The all HTML way of making a popup window

<a href="http://www.yahoo.com" target="_blank">Go to Yahoo</a>

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:

<BASE Target="_blank">
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 12:10 PM
Joined: Mar 2002
Posts: 257
Member
Offline
Member
Joined: Mar 2002
Posts: 257
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 01:42 PM
Joined: Apr 2002
Posts: 730
UGN Supporter
OP Offline
UGN Supporter
Joined: Apr 2002
Posts: 730
thanks SR, ill bookmark this and try it lata.


2 people can keep a secret as long as one is dead
#19476 09/05/02 11:48 PM
Joined: Sep 2002
Posts: 17
B
Junior Member
Offline
Junior Member
B
Joined: Sep 2002
Posts: 17
any one know how to make a message forum, plz tell me

____________________________________
knowledg is power
power is freedom

#19477 09/05/02 11:50 PM
Joined: Sep 2002
Posts: 17
B
Junior Member
Offline
Junior Member
B
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

#19478 09/09/02 01:27 PM
Joined: Mar 2002
Posts: 574
Likes: 1
C
UGN GFX Whore
Offline
UGN GFX Whore
C
Joined: Mar 2002
Posts: 574
Likes: 1
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.


Link Copied to Clipboard
Member Spotlight
Phatal
Phatal
Houston, TX
Posts: 298
Joined: April 2004
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Cyrez 1
Girlie 1
unreal 1
Crime 1
Powered by UBB.threads™ PHP Forum Software 7.7.5