Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2010-05-10, 12:32 PM   #1
DIVAD3
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
DIVAD3's Avatar
 
Join Date: Aug 2009
Location: Up-Sate NY !
Posts: 79
Send a message via ICQ to DIVAD3
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
DIVAD3 is offline   Reply With Quote
Old 2010-05-10, 12:49 PM   #2
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
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
__________________
"If you're happy and you know it, think again." -- Guru Pitka

Last edited by Simon; 2010-05-10 at 12:56 PM..
Simon is offline   Reply With Quote
Old 2010-05-10, 01:08 PM   #3
DIVAD3
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
DIVAD3's Avatar
 
Join Date: Aug 2009
Location: Up-Sate NY !
Posts: 79
Send a message via ICQ to DIVAD3
Thanks Simon

I will address those other issues as well.

Di' Vad

Quote:
Originally Posted by Simon View Post
Right after you close the head tag you have this:

<base target=_blank>
DIVAD3 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:12 PM.


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