• NOW LIVE! Into the Woods--new character species, eerie monsters, and haunting villains to populate the woodlands of your D&D games.

HTML Coding Question

Andrew D. Gable

First Post
What is the HTML code to break free from frames? My website is framed, and when you click on a hyperlink on my links page, my side frame with the menu is still present. How do I make it go?
 

log in or register to remove this ad

Code:
<a href="LINK_URL_GOES_HERE" taget="_top">LINK_NAME_GOES_HERE</a>

The target="_top" is what breaks a link out of a frameset; target="_blank" will open the link in a new window.

Of course, being a profesional web developer, I'd say the real answer is "don't use frames". :)
 

I second that statement: don't use frames ... they suck, irritate surfers, and make things more complicated than they are.

However if you MUST use frames I'd use the "_blank" option simply because it will leave your framed site available while they look at the link.

D
 




Kast said:
While we're bashing frames, don't use tables either (unless of course you're displaying tabular data).

Scratch that idea. There's too much stuff that's just about impossible to do reliably without tables, and trivial with.
 

Into the Woods

Remove ads

Top