PDA


View Full Version : [REQUEST] Scrolling Advertisement


LEAD_WEIGHT
04-14-2005, 07:17 AM
I like to known if this could be fixed to be a module, then increase in size when mouse-over ad. and scroll automatically. This could be like the scrolling "Latest Forum Topic Module" but I like this one at
http://www.wetter.com/v2/

Just taken a scrolling Module and place my ad links inside it :cool: I knew it was simple enough but not exactly the same as http://www.wetter.com/v2/ but close enough for me :D

What would be a way to make the template colour stay as your choice not revert to default google colour? here is the Module code that I need so it accepts the colour change. Also make it collapse like the 2nd code.

<!-- Scrolling/Fading Links -->

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="175">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] WebMaster</strong></span>
</td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<SCRIPT src="fading.js"></SCRIPT>
<MARQUEE behavior= "scroll" align= "center" direction= "up" height="170" scrollamount= "2" scrolldelay= "15" onMouseOver="this.stop()" onMouseOut="this.start()">
<center>
<!-- Begin Links -->
<br><a href="http://affiliates.allposters.com/link/redirect.asp?AID=1424376537&PSTID=1&LTID=14&LID=529&ParentAID=1424376537" target="_top"> <img src="http://imagecache2.allposters.com/images/affiliates_graphics/revenue_125x125.gif" alt="Webmasters Make $$$" border="0" width="125" height="125"> </a><br><font face="verdana, helvetica, arial" size="1"> <a href="http://affiliates.allposters.com/link/redirect.asp?AID=1424376537&PSTID=1&LTID=14&LID=529&ParentAID=1424376537" target="_top">Webmasters Make $$$</a></font><img src="http://tracking.allposters.com/allposters.gif?AID=1424376537&PSTID=1&LTID=14&LID=529" border="0" height="1" width="1"></a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="<script type="text/javascript"><!--
google_ad_client = "pub-2539077570372263";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "22229C";
google_color_bg = "E0E0F6";
google_color_link = "22229C";
google_color_url = "0F1D8C";
google_color_text = "3E5C92";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></a>

<!-- End Links -->
</center>
</Marquee>
</td>
</tr>
<tr>
<td class="$getbgrow" align="center">
<img src="http://www.tourdomain.com/Affiliates/foot_clan1.jpg" border="0">
<br><img src="http://www.yourdomain.com/Affiliates/foot_clan2.jpg" border="0">
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont"><strong><a href="http://www.yourdomain.com/forums/showthread.php?t=2">Webmasters Make $$$ Join Here</a></strong></span>
</td>
</tr>
</table>
<br />

<!-- End Scrolling/Fading Links -->




This Module works with the code inplace but I need the colour change to work in the code above. any takers :)

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="15" height="15" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] $mods[title]</td>
</tr>
</thead>
<tfoot style="display: none;"></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">
<center><script type="text/javascript"><!--
google_ad_client = "pub-2539077570372263";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "22229C";
google_color_bg = "E0E0F6";
google_color_link = "22229C";
google_color_url = "0F1D8C";
google_color_text = "3E5C92";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>

</td>
</tr>
</tbody>
</table>
<br />

LEAD_WEIGHT
04-19-2005, 06:26 AM
I got the callapsing part but the colour code is not working with this Module like the 2nd one above :confused:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="15" height="15" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] $mods[title]</td>
</tr>
</thead>
<tfoot style="display: none;"></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">

<SCRIPT src="fading.js"></SCRIPT>
<MARQUEE behavior= "scroll" align= "center" direction= "up" height="170" scrollamount= "2" scrolldelay= "15" onMouseOver="this.stop()" onMouseOut="this.start()">
<center>
<!-- Begin Links -->
<br><a href="http://affiliates.allposters.com/link/redirect.asp?AID=1424376537&PSTID=1&LTID=14&LID=529&ParentAID=1424376537" target="_top"> <img src="http://imagecache2.allposters.com/images/affiliates_graphics/revenue_125x125.gif" alt="Webmasters Make $$$" border="0" width="125" height="125"> </a><br><font face="verdana, helvetica, arial" size="1"> <a href="http://affiliates.allposters.com/link/redirect.asp?AID=1424376537&PSTID=1&LTID=14&LID=529&ParentAID=1424376537" target="_top">Webmasters Make $$$</a></font><img src="http://tracking.allposters.com/allposters.gif?AID=1424376537&PSTID=1&LTID=14&LID=529" border="0" height="1" width="1"></a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="<script type="text/javascript"><!--
google_ad_client = "pub-2539077570372263";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "22229C";
google_color_bg = "E0E0F6";
google_color_link = "22229C";
google_color_url = "0F1D8C";
google_color_text = "3E5C92";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></a>

<!-- End Links -->
</center>
</Marquee>
</td>
</tr>
<tr>
<td class="$getbgrow" align="center">
<img src="http://www.tourdomain.com/Affiliates/foot_clan1.jpg" border="0">
<br><img src="http://www.yourdomain.com/Affiliates/foot_clan2.jpg" border="0">
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont"><strong><a href="http://www.yourdomain.com/forums/showthread.php?t=2">Webmasters Make $$$ Join Here</a></strong></span>
</td>
</tr>
</tbody>
</table>
<br />

<!-- End Scrolling/Fading Links -->

LEAD_WEIGHT
05-24-2005, 11:09 AM
The red part u can change it to size that fits or change it to 100% instead of # value.

<!-- Scrolling/Fading Links -->

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="545">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Banner Ads</strong></span>
</td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<MARQUEE behavior= "scroll" align= "center" direction= "up" height="170" scrollamount= "2" scrolldelay= "15" onMouseOver="this.stop()" onMouseOut="this.start()">
<center>
<!-- Begin Links -->
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>
<br><a href="</a>

<!-- End Links -->
</center>
</Marquee>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont"><strong><a href="http://www.yoursite.com/forums/affiliate.php?do=apply">Click Here to Place your Ads</a></strong></span>
</td>
</tr>
</table>
<br />

<!-- End Scrolling/Fading Links -->



1: You will need to create a template called adv_portal_banners and include the following code:

2: Create a module

Module Title: Banners (or whatever you wish)
File to Include: none
OR Template to Include: banners (If you named the template above adv_portal_banners)
Active: Yes
Templates Used:adv_portal_banners
Activate : yes

Working link
http://www.theundergroundsource.com/

User Name : test
PassWord : test

This banner style is temporary until I get one that is like my Affilation Hack. I also have Googles Adsence in my forum posting.