Opening a new window from a link.....

java_lover
java_lover used Ask the Experts™
on
Can anyone tell me how to open a link in a new window?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
If the link is:

<a href="foo.htm">Click here</a>

change it into:

<a href="foo.htm" target="_blank">Click here</a>

xabi

Commented:
or if you want a totally new and speical window (with wi8dth and height etc) you can do:

<a href="javascript:openwindow(...)">Click here</a>

Author

Commented:
Thanx!!

Commented:
Right click on the link and select "open in new window"
Works every time...
WEBSlave

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial