PDA

View Full Version : Javascript help for a hack


meteore
04-01-2003, 09:48 AM
Could someone tell me how to insert a link that open a popup windows in a php script?

filburt1
04-01-2003, 10:03 AM
PHP is server-side, you need a client-side language like Javascript.

meteore
04-01-2003, 01:34 PM
yes I now but I don't know anything in javascript and I don't know how to insert it the php file

Dean C
04-01-2003, 05:08 PM
just put this in the <a> tag:


target="new"


e.g.:


<a href="www.yoursite.com" target="new">


This will pop a new window upon clicking :D

I assumed this is what you wanted from what you said?

- miSt

meteore
04-01-2003, 05:18 PM
I know that ^^
but what I want is a new window with a specific width and height and no menu.