Hey gang, got an annoying little bug that I'm not sure how to tackle. We need to put some ads on our forums due to a new contract and some of these ads are of the flash variety. Well, first off, here is our forum
http://forums.advancedmn.com/index.php?
The ads are removed for now, but we use a third party ad posting client so the code for entering this stuff is
Code:
<!-- BEGIN: AdSolution-Tag 4.1: Global-Code [PLACE IN HTML-HEAD-AREA!] -->
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslmain.js"></script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslsubs111.js"></script>
<!-- END: AdSolution-Tag 4.1: Global-Code -->
in the header and
Code:
<!-- BEGIN: AdSolution-Website-Tag 4.1 : advancedmn.com / Home_Exp_Leader_728x90_468x60 -->
<script language="javascript" type="text/javascript">
Ads_kid=0;Ads_bid=0;Ads_xl=0;Ads_yl=0;Ads_xp='';Ads_yp='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_prf='';Ads_par='';Ads_cnturl='';Ads_sec=0;Ads_channels='_GNM_18+,_GNM_Casino,_GNM_Dating,_GNM_Games,_GNM_QLook,_GNM_QPlus,_GNM_RON_CPC,_GNM_RON_J,_GNM_RON_Q';
</script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/njf/41/advancedmn.com/home_exp_leader_728x90_468x60.js"></script>
<!-- END:AdSolution-Tag 4.1 -->
for where the banner goes.
Nothing special. I popped these into the templates for FORUMDISPLAY, FORUMHOME, etc etc wherever I need them.
If you click on the Menu button, then a little pop down menu appears and gives you more options. Well, whenever a flash ad appears on the site (cycled randomly) this drop down menu goes behind the ad, not in front of it. If it's a normal gif or jpeg ad, then everything is just dandy.
Here's how I coded it:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta name="description" content="$foruminfo[description]" />
<title>$vboptions[bbtitle] - $foruminfo[title]</title>
$headinclude
<!-- BEGIN: AdSolution-Tag 4.1: Global-Code [PLACE IN HTML-HEAD-AREA!] -->
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslmain.js"></script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslsubs111.js"></script>
<!-- END: AdSolution-Tag 4.1: Global-Code -->
</head>
<body>
$header
<!-- BEGIN: AdSolution-Website-Tag 4.1 : advancedmn.com / Home_Exp_Leader_728x90_468x60 -->
<script language="javascript" type="text/javascript">
Ads_kid=0;Ads_bid=0;Ads_xl=0;Ads_yl=0;Ads_xp='';Ads_yp='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_prf='';Ads_par='';Ads_cnturl='';Ads_sec=0;Ads_channels='_GNM_18+,_GNM_Casino,_GNM_Dating,_GNM_Games,_GNM_QLook,_GNM_QPlus,_GNM_RON_CPC,_GNM_RON_J,_GNM_RON_Q';
</script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/njf/41/advancedmn.com/home_exp_leader_728x90_468x60.js"></script>
<!-- END:AdSolution-Tag 4.1 -->
$navbar
<if condition="$show['forumslist']">
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
<td width="100%" class="tcat"
Thanks in advance for any ideas! :up: