Quote:
Originally Posted by perfphysio
Still no word on having this slight modification as an option for the banner links e.g. main window or new window?
This html options one would normally use are not permitted to be used in the url fields for this hack. I would imagine most people using this hack would ish the banner links to open in new windows rather than the parent one. Please dude can you make this small addition 
|
If you want to add the target="_blank" and title="Sponsor name" to the text link and alt="Sponsor name" to the linking image. Modify the template edit you did in the forumdisplay template. This bypasses the fields.
Find:
Code:
<tr>
<td width="10" rowspan="2" valign="middle"><div align="center"><a href="$foruminfo[sponsorlink]"><img src="$foruminfo[sponsorimage]" alt="$foruminfo[sponsorname] Image" border="0"></a></div></td>
<td valign="top"><div align="left"><strong><a href="$foruminfo[sponsorlink]">$foruminfo[sponsorname]</a></strong></div></td>
</tr>
Replace with:
Code:
<tr>
<td width="10" rowspan="2" valign="middle"><div align="center"><a target="_blank" href="$foruminfo[sponsorlink]"><img alt="$foruminfo[sponsorname]" src="$foruminfo[sponsorimage]" alt="$foruminfo[sponsorname] Image" border="0"></a></div></td>
<td valign="top"><div align="left"><strong><a target="_blank" title="$foruminfo[sponsorname]" href="$foruminfo[sponsorlink]">$foruminfo[sponsorname]</a></strong></div></td>
</tr>
For a demo to prove it works go here
http://www.trulyunusual.com/wards/forumdisplay.php?f=17
Enjoy
Jaks