نمایش تبلیغات به صورت گرافیکی
به صورتی که وقتی روی دکمه
کلیک کنید تبلیغات دیگه نمایش داده نمیشه
و وقتی روی دکمه
کلیک کنید دوباره تبلیغات رو نشون میده
این کد رو در قسمت قالبتون قرار بدید
<script type="text/javascript" language="javascript1.2"
src="http://fire.meloodiuos.in/style10/script/animatedcollapse.js"></script>
<script type="text/javascript" language="javascript1.2"
src="http://fire.meloodiuos.in/style10/script/jquery_002.js"></script>
<script type="text/javascript">
animatedcollapse.addDiv('bannertop', 'fade=1,speed=400,persist=1')
animatedcollapse.ontoggle=function($, divobj, state){
if (divobj.id=="bannertop") //only react to these two collapsible DIVs
document.getElementById(divobj.id+"-toggle").src=(state=="block")?
"http://s1.picofile.com/file/7453593652/bannerhide.png" :
"http://s1.picofile.com/file/7453594943/bannerhide2.png"
}
animatedcollapse.init()
</script>
و این رو هم هرجا که دوست دارین این تبلیغات نمایش داده بشه
<div align="center"> <table width="960" border="0" bgcolor="#000000"> <tr> <td style="color:#CCCCCC"><strong></strong></td> </tr> <tr> <td><div align="center"> <!-- BANNER HIDE --> <div class="bannertop"> <div id="bannertop"> <!-- TOP BANNER --> <div align="center" style="padding: 7px;"> <a href="mailto:<-BlogEmail->" title="تبليغات شما" > <img style="border:0px" src="http://s3.picofile.com/file/7453593973/banner.gif" alt="" width="468" height="60"/></a> <a href="mailto:<-BlogEmail->" title="تبليغات شما" > <img style="border:0px" src="http://s3.picofile.com/file/7453593973/banner.gif" alt="" width="468" height="60"/></a> <a href="mailto:<-BlogEmail->" title="تبليغات شما" > <img style="border:0px" src="http://s3.picofile.com/file/7453593973/banner.gif" alt="" width="468" height="60"/></a> <a href="mailto:<-BlogEmail->m" title="تبليغات شما" > <img style="border:0px" src="http://s3.picofile.com/file/7453593973/banner.gif" alt="" width="468" height="60"/></a> </div> <!-- END BANNER --> </div> </div> <div class="bannertophide"> <a href="javascript:animatedcollapse.toggle('bannertop')"> <div align="center" style="padding: 2px;"> <img id="bannertop-toggle" style="border:0px" src="http://s1.picofile.com/file/7453593652/bannerhide.png" alt="پنجره تبليغات" /></a> </div>