Эхлэл хуудас
Мэдээний харагдах хэлбэр №1
Доорхи кодыг CP-Design management-Site news-Appareance of entries гэсэн доторхийг устгаад оронд нь хуулна.Code <style>td.garchig a{text-decoration:none;}td.garchig a:hover{text-decoration:underline;} #dhtmltooltip{ position: absolute; width: 200px; border: 3px solid #fff; -moz-border-radius: 10px; border-radius: 10px; padding: 5px; background-color: #000; filter: alpha(opacity=60); -moz-opacity: 0.8; -khtml-opacity: 0.8; opacity: 0.9; color: white; visibility: hidden; z-index: 100; } </style> <div id="dhtmltooltip"></div> <script type="text/javascript"> var offsetxpoint=-60 var offsetypoint=20 var ie=document.all var ns6=document.getElementById && !document.all var enabletip=false if (ie||ns6) var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : "" function ietruebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function ddrivetip(thetext, thecolor, thewidth){ if (ns6||ie){ if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px" if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor tipobj.innerHTML=thetext enabletip=true return false } } function positiontip(e){ if (enabletip){ var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft; var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop; //Find out how close the mouse is to the corner of the window var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20 var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20 var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
if (rightedge<tipobj.offsetWidth) tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px" else if (curX<leftedge) tipobj.style.left="5px" else tipobj.style.left=curX+offsetxpoint+"px" if (bottomedge<tipobj.offsetHeight) tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px" else tipobj.style.top=curY+offsetypoint+"px" tipobj.style.visibility="visible" } } function hideddrivetip(){ if (ns6||ie){ enabletip=false tipobj.style.visibility="hidden" tipobj.style.left="-1000px" tipobj.style.backgroundColor='' tipobj.style.width='' } } document.onmousemove=positiontip </script> <table style="BORDER-RIGHT: #c5c5c5 1px solid; BORDER-TOP: #c5c5c5 1px solid; MARGIN-BOTTOM: 10px; BORDER-LEFT: #c5c5c5 1px solid; BORDER-BOTTOM: #c5c5c5 1px solid" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td colspan="3" class="garchig" style="PADDING-RIGHT: 1px; PADDING-LEFT: 30px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px; BORDER-BOTTOM: #c5c5c5 1px solid" background="http://xopon.do.am/zagvar/app_mn/news.png" height="20"><b><a href="$ENTRY_URL$"><font color="white">$TITLE$</font></a></b></td></tr> <tr> <td style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 0px; PADDING-TOP: 5px; BACKGROUND-COLOR: #ffffff"> $MESSAGE$<br><hr> <div id="comEnt2299"> <div style="float:left;" class="commAva"> <a onMouseover="ddrivetip('<center>Мэдээний ангилал-руу нэвтрэх</center>')"; onMouseout="hideddrivetip()" target="_blank" href="$CATEGORY_URL$"><img align="left" src="http://mnweb.do.am/icons/ucoz.png" border="0" width="50" ></a> </div> <div style="float:left;" class="commAva">
<a onMouseover="ddrivetip('<center>Нийтэлсэн: $USERNAME$</center>')"; onMouseout="hideddrivetip()" href="$PROFILE_URL$"> <?if($AVATAR_URL$)?><img align="left" src="$AVATAR_URL$" border="0" width="50" ><?else?> <img align="left" src="http://xopon.do.am/xpv12/images/noavat.jpg" border="0" width="50" ><?endif?></a> </div> <div style="float:left;" class="commAva"> <a onMouseover="ddrivetip('<center>Уншсан: ($READS$)</center>')"; onMouseout="hideddrivetip()" target="_blank" href="$ENTRY_URL$"><img align="left" src="http://xopon.do.am/zagvar/app_mn/reads.gif" border="0" width="50" ></a> </div> <div style="float:left;" class="commAva"> <a onMouseover="ddrivetip('<center>Сэтгэгдэл: ($COMMENTS_NUM$)</center>')"; onMouseout="hideddrivetip()" target="_blank" href="$COMMENTS_URL$"><img align="left" src="http://xopon.do.am/zagvar/app_mn/comment.png" border="0" width="50" ></a> </div> <div style="float:left;" class="commAva"> <a onMouseover="ddrivetip('<center>Огноо: ($DATE$)</center>')"; onMouseout="hideddrivetip()" target="_blank" href="$ENTRY_URL$"><img align="left" src="http://xopon.do.am/zagvar/app_mn/date-icon.png" border="0" width="50" ></a> </div> <div class="commMessage"><div align="right"><img src="http://xopon.do.am/zagvar/app_mn/setgegdel.png"><a href="$ENTRY_URL$"><img src="http://xopon.do.am/zagvar/app_mn/delgerengu.png"></a></div></div> </div><br/> </td></tr> </tbody></table>
|
Ангилал: Ucoz scripts | Нийтэлсэн: G@mer (2013-11-24)
|
Үзсэн: 344
| Үнэлгээ: 0.0/0 |
Бусдад түгээх
|