Levelbest
11-05-2015, 02:42 PM
I've given up on using the weighting system trying to figure out how to make this happen... so I need some help. In VB3, I used the following code to implement an ad in the navbar that displayed an AD only on the homepage.
Need help converting it to VB4 and where to place it.
<if condition="THIS_SCRIPT == 'index'">
<!-- / ADS BEGIN -->
<table class="tborder" cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="100%">INTERCOT Sponsors</td>
</tr>
<tr>
<td class="alt1" width="100%">
THE AD CODE GOES HERE
</td>
</tr>
</table>
<!-- / ADS END -->
</if>
Thanks in advance!
JOHN
Need help converting it to VB4 and where to place it.
<if condition="THIS_SCRIPT == 'index'">
<!-- / ADS BEGIN -->
<table class="tborder" cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="100%">INTERCOT Sponsors</td>
</tr>
<tr>
<td class="alt1" width="100%">
THE AD CODE GOES HERE
</td>
</tr>
</table>
<!-- / ADS END -->
</if>
Thanks in advance!
JOHN