قائمة الموقعأقسام القسم
تصويتاتدردشة مصغرة |
معاينة مواضيع المنتدى
المشاهدات: 983
2015.07.27
معاينة مواضيع المنتدى
حياكم الله زوارنا الاكارم في بعض الاحيان نريد الاطلاع على المواضيع دون الدخول اليها في يوكوز، اضافة اليوم مفيدة وهي مشاهدة الموضوع في اطار.
يوضع الكود في ٍٍالمظهر العام لصفحات المنتدى بعد وسم: $BODY$
كود
<script type="text/javascript">
$('td.threadNametd a.threadLink, td.threadNametd a.threadPinnedLink').each(function(){ $(this).after(' [<b><a href="javascript://" style="cursor: help;">?</a></b>] <div style="z-index: 9999; border: 1px solid #F76928; position: absolute; background-color: #FFF999; padding: 10px; display: none;"><img src="http://s28.ucoz.net/img/ma/m/i2.gif" align="absmiddle" border="0" /> تحميل ...</div>'); $(this).next().next().load(this.href+' td.posttdMessage:first', function(){var DelTD = $('td.posttdMessage').html(); $('td.posttdMessage').replaceWith(DelTD); $('hr.signatureHr, span.signatureView').remove();}); $(this).next().mouseover(function(){$(this).next().show();}); $(this).next().mouseout(function(){$(this).next().hide();}); }); </script> واذا كانت عدد المواضيع في الصفحة في اعدادات وحدة المنتدى 10 ضع هذا الكود ولا تضع الكود الاول
كود
<script type="text/javascript">
$('td.threadNametd a.threadLink, td.threadNametd a.threadPinnedLink').each(function(){ var PostURL = this.href; $(this).after(' [<b><a href="javascript://" style="cursor: help;">?</a></b>] <div style="z-index: 9999; border: 1px solid #F76928; position: absolute; background-color: #FFF999; padding: 10px; display: none;"><img src="http://s28.ucoz.net/img/ma/m/i2.gif" align="absmiddle" border="0" /> تحميل ...</div>'); $(this).next().mouseover(function(){$(this).next().load(PostURL + ' td.posttdMessage:first', function(){var DelTD = $('td.posttdMessage').html(); $('td.posttdMessage').replaceWith(DelTD); $('hr.signatureHr, span.signatureView').remove();}); $(this).next().show();}); $(this).next().mouseout(function(){$(this).next().hide();}); }); </script>
إضافة تعليق![]() |
اصدقاء الموقع |