would you trust this?, which code to use? |
![]() ![]() |
would you trust this?, which code to use? |
Apr 26 2008, 12:29 AM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
Well on sites whenever someone clicks a comment box it brings up the text file so im trying to do it so it has a pop up come up instead.
So I was wondering instead of putting the javascript in the head and stuff should I just use this? CODE <a href="#" onclick="window.open('URL HERE', 'newwnd', 'WIDTH=300, HEIGHT=300, LEFT=100, TOP=100,status=0,scrollbars=0,resizable=0')">NAME OF LINK HERE</a> And what is the newnd for? thanks guys. |
|
|
|
Apr 26 2008, 12:00 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
I think since im using php on my site ill just put the code in the head and then I can use a pop up box like that on any of my pages.
|
|
|
|
![]() ![]() |