a coding question

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
User avatar
steve8675537
Registered User
Posts: 215
Joined: Mon Mar 19, 2007 6:02 pm
Location: phpbb3 newbie

a coding question

Post by steve8675537 »

i have an advert banner i was to put on my phpbb overall header. Here is the code, when someone clicks on it i want it to open a fresh window, how can i recode it?

Code: Select all

<IMG SRC="http://www.pokerarsenal.com/affiliate/scripts/sb.php?aid=b8a7ee64&bid=b824a396" WIDTH="1" HEIGHT="1" BORDER="0"><IMG SRC="http://www.poker-edge.com/whoami.php?aid=b8a7ee64&bid=b824a396" WIDTH="1" HEIGHT="1" BORDER="0"><center>
<div style="width:148px; height:170px; margin:0px; border-width:1px; border-style:solid; border-color:#000000; background-color:#CCCCCC">
  <strong><span style="color: yellow; font-size:33px">Stalk </span><span style="color: Red; font-size:20px; font-weight:bolder">Your Opponents!</span></strong><br />
  <form action="http://www.poker-edge.com/whoami.php?aid=ads10&bid=761b00db" method="post">
<input name="name" type="text" id="name"  maxlength="40" value="Poker ScreenName" style="margin:2px; width:115px; height:16px; background-color:FFFFFF; font-size:10px; font-family:verdana; vertical-align:top">
<strong>
<input name="submit" type="submit" style="background-color: #E40323; color: #FCFBEC; font-family: Verdana; font-size: 10px; font-weight: bold; width: 100px; border-left: 1 solid #a0a0a0; border-top: 1 solid #a0a0a0; border-right: 1 solid #000000; border-bottom: 1 solid #000000; padding: 1 1 1 1; outline: #a0a0a0 solid 1px;" value="Show Me Stats!" />
</strong>
</form>
<span style="color: White; font-size:10px; font-weight:bolder">
  <a href="http://www.poker-edge.com/whoami.php?aid=b8a7ee64&bid=b824a396">Tracking Online Poker Player Stats and Hand Histories for  Millions of Players!</a></span></div>
</center>
User avatar
dellsystem
Former Team Member
Posts: 3879
Joined: Sat Apr 09, 2005 8:54 pm
Location: Montreal
Name: Wendy
Contact:

Re: a coding question

Post by dellsystem »

Strange code ... I don't see the hyperlink tags. What you do, though, is add a target="_blank" within the <a href=""> tag, after the last ".
Former moderator and website team member | My MODs, and more (GitHub)
Locked

Return to “2.0.x Support Forum”