Weezy
myp HOW TO DISPLAY/INJECT/PUT/ADD YOUR ADS BETWEEN/IN MIDDLE OF FORUM POSTS Step 1: Wrap your ::MESSAGES:: In your wap2 style of forum site (The second big text box) with div id ads. That is:
Now this will make it easier to parse. In your bottom auto content for forum ..paste the below code
<div id="adCode" style="display:none">your ad codes go here</div>
Copy code
Immediately after the code let this follow:
<script language="javascript">
var dAds=document.getElementById('adCode').innerHTML;
var dC=document.getElementById('ads').innerHTML;
dC=dC.replace(/\[ad\]/gi,dAds);
document.getElementById('ads').innerHTML=dC;
</script>
Copy code
to display your ads type
and thats all!