Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Newbie Questions (http://www.greenguysboard.com/board/forumdisplay.php?f=5)
-   -   HELP - I am mystified w/ a problem on site.... (http://www.greenguysboard.com/board/showthread.php?t=57442)

DIVAD3 2010-05-10 12:32 PM

HELP - I am mystified w/ a problem on site....
 
I am baffled by the fact that all my archive pages are opening up in a new window. When I do not have it written as: a target="_blank" href=
Here is how I have the archives. Will someone tell me why this is happening???

PHP Code:

<table width="1024" border="0" align="center" cellpadding="5" cellspacing="0">
  <
tr><BR><BR>
    <
td height="40" align="center">
<
span class="archive_pages">Archived Pages:</span><BR><BR>
<
a href="http://www.jenna-teens.com/" class="archive_pages">Home</a>
<
a href="http://www.jenna-teens.com/archives/archive-1/" class="archive_pages">01</a
<
a href="http://www.jenna-teens.com/archives/archive-2/" class="archive_pages">02</a
<
a href="http://www.jenna-teens.com/archives/archive-3/" class="archive_pages">03</a


Simon 2010-05-10 12:49 PM

Right after you close the head tag you have this:



If you want to keep that there you'll need to add target="_self" to the archive links. Or you can get rid of that base target code since it looks like all the other links already have target="target_blank" in them, which will open each one in the same new window named "target_blank." If you want a new blank window you need to use target="_blank" (or onclick="target='_blank';" if you want to validate for XHTML).

Btw...there's no DOCTYPE on the page.

HTH

DIVAD3 2010-05-10 01:08 PM

Thanks Simon
 
I will address those other issues as well.

Di' Vad

Quote:

Originally Posted by Simon (Post 481551)
Right after you close the head tag you have this:





All times are GMT -4. The time now is 02:28 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc