PDA

View Full Version : HELP - I am mystified w/ a problem on site....


DIVAD3
2010-05-10, 12:32 PM
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???

<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:

<base target=_blank>

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
I will address those other issues as well.

Di' Vad

Right after you close the head tag you have this:

<base target=_blank>