Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: Lunabelle - lokakuu 05, 2007, 04:37:36 IP

Otsikko: Using SSI.php, opening links in new window?
Kirjoitti: Lunabelle - lokakuu 05, 2007, 04:37:36 IP
I'm using SSI.php to display such information on my page as newest member, who's online etc. This information is displayed in a small iframe which is designed to be an area for "quick view" information.

The links generated are opening within the iframe! Which is completely inpractical. ;p How can I make it so the links open in a new window? Is there a way?

I'm using:
<?php ssi_latestMember(); ?>
<?php ssi_logOnline(); ?>
and
<?php ssi_boardStats(); ?>

I've tried having a look through the SSI.php file but have no idea what to do.
Otsikko: Re: Using SSI.php, opening links in new window?
Kirjoitti: guppy - lokakuu 06, 2007, 05:21:05 AP
Hmm.. Why are you using an iframe?

Add a target="_blank" to your iframe.