UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
July
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#19471 - 08/16/02 02:36 AM link opening a popup
Moffesto Offline
UGN Supporter

Registered: 04/22/02
Posts: 730
Loc: 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

Top
Sponsored Links
      
#19472 - 08/16/02 03:14 AM Re: link opening a popup
Le4rner Offline
UGN Supporter

Registered: 03/05/02
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.
_________________________
http://promodtecnologies.com/rrfn

Top
#19473 - 08/16/02 02:18 PM Re: link opening a popup
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: 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

Top
#19474 - 08/16/02 08:10 PM Re: link opening a popup
psychogen Offline
Member

Registered: 03/02/02
Posts: 257
Loc: 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)

Top
#19475 - 08/16/02 09:42 PM Re: link opening a popup
Moffesto Offline
UGN Supporter

Registered: 04/22/02
Posts: 730
Loc: Kuntucky
thanks SR, ill bookmark this and try it lata.
_________________________
2 people can keep a secret as long as one is dead

Top
#19476 - 09/06/02 07:48 AM Re: link opening a popup
budwurm Offline
Junior Member

Registered: 09/01/02
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!!!

Top
#19477 - 09/06/02 07:50 AM Re: link opening a popup
budwurm Offline
Junior Member

Registered: 09/01/02
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!!!

Top
#19478 - 09/09/02 09:27 PM Re: link opening a popup
Cold Sunn Offline
UGN GFX Whore

Registered: 03/03/02
Posts: 574
Loc: 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.

Top

Moderator:  §intå×, Gremelin 
Featured Member
Registered: 08/21/13
Posts: 1
Forum Stats
2145 Members
46 Forums
33429 Topics
68596 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 26592
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jimmie Menon, fghijk435948, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 723 Guests and 316 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!