PDA

View Full Version : iframe script, can get links to open in a new browser



TAKOMA
04-08-2009, 07:54 PM
1) Script Title: IFRAME SCROLLER

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/iframe-scroller.htm

3) Describe problem: the links inside the frame open in the frame not in new browser.

thanks

see the problem in www.linkmosaic.com

Snookerman
04-08-2009, 08:47 PM
You can use the target attribute and make the links open in the top window, for example:

<a target="_top" href="page.html">Link</a>

Good luck!

TAKOMA
04-08-2009, 09:53 PM
thank you,

I see that some links work and some dont.

Is there a code to put on the page, rather for each link seperatly

thanks

Snookerman
04-08-2009, 09:56 PM
Yes there is, add this to the head section of your page:

<base target="_top">

Good luck!