MyBB Community Forums

Full Version: [Request] Google Ad Color Changes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, I need help making it so that the colors on this code can change depending upon the skin chosen.
<script type="text/javascript"><!--
google_ad_client = "pub-8799477086044248";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="";
google_color_border = "000099";
google_color_bg = "000066";
google_color_link = "FFFFFF";
google_color_url = "FFFFFF";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js" /></script>
Right now, those colors there are for default template... I don't want to make a new template set for each theme. There seriously has to be a less space-consuming way...
Wouldn't there be a new template for each style anyway?
with what i have tried till now, i dont find an easy way.