NeutralizeR |
09-11-2006 09:35 AM |
And your members doesn't even notice your ads anymore?
Then change the ad colors while keeping the default colors for the visitors.
Quote:
google_color_border = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","FFFF00","011160","FF0000"];</if>
google_color_bg = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","011160","FFFFE1","FFFFFF"];</if>
google_color_link = <if condition="$show['guest']">"FF0000";<else />["FF0000","FFFF00","FF0000","FF0000"];</if>
google_color_url = <if condition="$show['guest']">"000000";<else />["000000","FFFFFF","000000","000000"];</if>
google_color_text = <if condition="$show['guest']">"0000A0";<else />["0000A0","FFFFFF","0000A0","0000A0"];</if>
|
Quote:
<script type="text/javascript"><!--
google_ad_client = "youradsensecode";
google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="yourchannelcode";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "FF0000";
google_color_url = "000000";
google_color_text = "22229C";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
|
Example:
Quote:
<script type="text/javascript"><!--
google_ad_client = "youradsensecode";
google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="yourchannelcode";
google_color_border = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","FFFF00","011160","FF0000"];</if>
google_color_bg = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","011160","FFFFE1","FFFFFF"];</if>
google_color_link = <if condition="$show['guest']">"FF0000";<else />["FF0000","FFFF00","FF0000","FF0000"];</if>
google_color_url = <if condition="$show['guest']">"000000";<else />["000000","FFFFFF","000000","000000"];</if>
google_color_text = <if condition="$show['guest']">"0000A0";<else />["0000A0","FFFFFF","0000A0","0000A0"];</if>
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
|
Visitors will always see the ads in their default colors.
Members will see them in four rotating color combinations.
Test Account @ My forum:
Username: Tester
Password: asd123
http://www.msxlabs.org/forum/
|