Jump to content

Recommended Posts

Posted
Pentru cei care folosesc hook-ul [VN32] Sticky Message 1.1 (Mesaj important)
hii it's CsBlackDevil 
zj81gl.png
 
si doresc sa adauge optiunea de a inchide/elimina mesajul trebuie sa mergeti la:
 
ACP > Look & Feel > skin_name > Board Index > VNStickyGlobalMessage
 
inlocuiti tot continutul cu:
 
<script type="text/javascript">
function sembunyikan(){if(document.getElementById("stickymsg").className==""){document.getElementById("stickymsg").className="maho_sembunyi";document.getElementById("sembunyikan").className="maho_tampil";document.getElementById("tampilkan").className=""}else{document.getElementById("stickymsg").className="";document.getElementById("sembunyikan").className="";document.getElementById("tampilkan").className="maho_tampil"}setCookie("maho_sembunyistickymsg",document.getElementById("stickymsg").className,1)}function setCookie(a,b,c){var d=new Date;d.setDate(d.getDate()+c);var e=escape(<img src='http://www.invisionpower.ro/public/style_emoticons/<#EMO_DIR#>/cool.png' class='bbc_emoticon' alt='B)' />+(c==null?"":"; expires="+d.toUTCString());document.cookie=a+"="+e}function getCookie(a){var b,c,d,e=document.cookie.split(";");for(b=0;b<e.length;b++){c=e.substr(0,e.indexOf("="));d=e.substr(e.indexOf("=")+1);c=c.replace(/^\s+|\s+$/g,"");if(c==a){return unescape(d)}}}function checkCookie(){var a=getCookie("maho_sembunyistickymsg");if(a!=""){document.getElementById("stickymsg").className="maho_sembunyi";document.getElementById("sembunyikan").className="maho_tampil";document.getElementById("tampilkan").className=""}else{document.getElementById("stickymsg").className="";document.getElementById("sembunyikan").className="";document.getElementById("tampilkan").className="maho_tampil"}}window.onload=function(){checkCookie()}
</script>
<style type='text/css'>
.maho_sembunyi{min-width: 14px !important;}
.maho_sembunyi span{display:none !important;}
.maho_tampil{display:none !important;}
#stickymsg{position: fixed;
{$this->settings['vn_sticky_message_system_location']}: 10px;
line-height: 16px;
{$this->settings['vn_sticky_message_system_position']}: 10px;
z-index: 30000;
opacity: 0.8;
min-width: 260px;
height: auto;
background: #cf3737;
color: #fff;
text-shadow: rgba(0,0,0,0.3) 0px -1px 0px;
padding: 10px;
text-decoration: none;font-size: 11px;font-family: Tahoma;
border: 1px solid #771b1b;
box-shadow: rgba(0,0,0,0.3) 0px 1px 4px, inset #f66c6c 0px 1px 0px;
border-radius: 3px;}
#stickymsg a{color: #fff;
font-weight:bold;
text-decoration: none;}
#stickymsg:hover{ opacity: 1; }
#sembunyikan,
#tampilkan{position:absolute; cursor:pointer;}
#sembunyikan:before{content:"×";}
#sembunyikan{right:3px;top:-2px;}
#tampilkan:before{content:"Show";}
#tampilkan{top:1px;right:1px;}
</style>
<div align='center'>
<div id='stickymsg'><span>{$data['message']}</span>
<p onclick="sembunyikan()" id="sembunyikan"></p>
<p onclick="sembunyikan()" class="maho_tampil" id="tampilkan"></p>
</div>
 

 

Website: invisionpower.ro

  • I love it 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.