Help with links and frames

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Help with links and frames

Post by nigma »

Hey

I have a page that has like three frames. A title frame, navigation frame, and main frame. Lets say I have a link inside the frame main and when clicked I don't want that site to be pulled up in the main frame, I want it to just go to that site as if there were never any frames. I know I can use window.open but I would also like to know how to do it this way.

Thanks for all help and advice provided.
phpfreak
Forum Commoner
Posts: 30
Joined: Fri Mar 21, 2003 10:28 am
Location: New Jersey,USA
Contact:

HI

Post by phpfreak »

kris use: target="_blank" in your a href tag for example:

<a href="http://www.cnn.com" target="_blank">CNN</a>


This will open another window and display the cnn.com in another window

Hope it helped
Kris
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Thank you so much. I really apreciate you helping me out.
Post Reply