Log in

View Full Version : Link In New Window


ShawneyJ
07-13-2007, 03:03 PM
hi

how do i stop a link from opening a new page/window when i click on it please.

like i click on it and a new new page appears, i must have done something wrong on my front page as its never happened b4.

cheers

snakes1100
07-13-2007, 03:59 PM
More info would help, is it a custom link or a forum link?

ShawneyJ
07-13-2007, 04:47 PM
there links from my home page to the forum EG: ARCADE

a links a link i thought lol it is a home page not cmps.

</td>
<td width="25%">
<div align="center">
<img border="0" src="images/schoolforum.gif" width="88" height="31"><a href="http://www.mydomain/forumdisplay.php?f=766"><br>
<strong>College Forum</strong></a></div>
</td>
</tr>

its only started it since i changed things around, i guess the codes out of wack

snakes1100
07-13-2007, 04:57 PM
I dont see anything in that code to make it open a new window on you, id check else where in the page coding, if thats a custom page, you probably broke some tags when you moved something around.

ShawneyJ
07-13-2007, 05:02 PM
ok thanks man i'll re-do the whole page, cheers.

cyberphr
07-13-2007, 05:07 PM
ok thanks man i'll re-do the whole page, cheers.

Don't.

Change:
<a href="http://www.mydomain/forumdisplay.php?f=766">

To:
<a href="http://www.mydomain/forumdisplay.php?f=766" target="_self">


Also, you should use <br /> instead of <br>.

ShawneyJ
07-14-2007, 01:46 AM
omg man your a champ, you saved me hours worth of work.

cheers to that.

thx again.