سلام دوستان ار کار قبلیم خیلی استقبال شد این هم کار جدید و متفاوت.
در این کد تولتیپ بکار رفته که با رفتن موس روی عنوان آخرین ارسال هم نشون میده.
توضیح زیادی نمیدونم خودتون دمو رو ببینید.
<script type="text/javascript" src="http://jdesign.ir/admin-up/demo-free-cods/jdesign_tooltip2/jquery-latest.js"></script><script type="text/javascript">
$(document).ready(function() {
//Select all anchor tag with rel set to tooltip
$('a[rel=jDesign_tooltip]').mouseover(function(e) {
//Grab the title attribute's value and assign it to a variable
var tip = $(this).attr('title');
//Remove the title attribute's to avoid the native tooltip from the browser
$(this).attr('title','');
//Append the tooltip template and its value
$(this).append('<div id="jDesign_tooltip"><div class="tipHeader"></div><div class="jDesign">' + tip + '</div><div class="tipFooter"></div></div>');
//Show the tooltip with faceIn effect
$('#jDesign_tooltip').fadeIn('500');
$('#jDesign_tooltip').fadeTo('10',0.9);
}).mousemove(function(e) {
//Keep changing the X and Y axis for the tooltip, thus, the tooltip move along with the mouse
$('#jDesign_tooltip').css('top', e.pageY + 10 );
$('#jDesign_tooltip').css('left', e.pageX + 20 );
}).mouseout(function() {
//Put back the title attribute's value
$(this).attr('title',$('.jDesign').html());
//Remove the appended tooltip template
$(this).children('div#jDesign_tooltip').remove();
});
});
</script>
<style>
body {font-family:tahoma;font-size:12px;text-align:center;}
div#paragraph {width:400px;margin:0 auto;text-align:right;direction:rtl;}
a {color:#108C9A;text-decoration:none;cursor:pointer;cursor:hand}
a:hover {color:#000;text-decoration:none;}
.clear {clear:both}
/* Tooltip */
#jDesign_tooltip {
position:absolute;
z-index:9999;
color:#fff;
font-size:10px;
width:180px;
}
#jDesign_tooltip .tipHeader {
height:8px;
background:url(images/tipHeader.gif) no-repeat;
}
#jDesign_tooltip .jDesign {
background-color:#000;
padding:5px 5px 5px 15px;
}
#jDesign_tooltip .tipFooter {
height:8px;
background:url(images/tipFooter.gif) no-repeat;
}
</style>
<style type="text/css">
.MTForumtitle{text-align:center;}
.MTForumrowtitle{padding-right:5px;}
.MTForumanswer{width:40px; text-align:center;}
.MTForumview{width:40px; text-align:center;}
#lastpost{padding:2px;width:95%;}
#MTForumBlock TR.MTForumfirst{background:url(https://rzb.ir/temp/music3/MTForumBlock_row_over.png) #FFFFFF;}
#MTForumBlock TR{background:url(https://rzb.ir/temp/music3/MTForumBlock_row.png) repeat-x #FFFFFF;}
#MTForumBlock TD{font-family:Tahoma;font-size:;border:2px dashed #FFA1C0;color:#000000;height:;padding: ;margin: ;}
#MTForumBlock A{float:right; width:100%; height:100%;text-decoration:none;color:#5D9993;}
#MTForumBlock A:hover{color:#522778;text-shadow: #FFFFFF;-moz-text-shadow: #FFFFFF;-o-text-shadow: #FFFFFF;-webkit-text-shadow: #FFFFFF;-ms-text-shadow: #FFFFFF;}
#lastpost td{border-radius:2px 2px 2px 2px / 2px 2px 2px 2px;box-shadow:3px 3px 3px #1F1F1F;text-shadow:2px 2px 2px #1F1217;-moz-text-shadow:2px 2px 2px #1F1217;-o-text-shadow:2px 2px 2px #1F1217;-webkit-text-shadow:2px 2px 2px #1F1217;-ms-text-shadow:2px 2px 2px #1F1217;}
#lastpost td:hover{border-radius: / ;box-shadow:7px 7px 7px #611B32;background:#FFFFFF url(https://rzb.ir/temp/music3/MTForumBlock_row.png);height:;padding: ;margin: ;}
</style><div id="forum_post_block"><RB:Forum_Posts_Block>
<div id="MTForumBlock">
<table id="lastpost" align="center">
<tr class="MTForumfirst">
<td class="MTForumtitle">عنوان</td>
<td class="MTForumanswer">پاسخ</td>
<td class="MTForumview">بازديد</td>
<td class="MTForumview">توسط</td>
</tr>
<RB:Forum_Posts_Loop>
<tr>
<td>
<a rel="jDesign_tooltip" title="آخرین ارسال:[Forum_Post_Last_Author]">» [Forum_Post_Title]</a>
</td>
<td>[Forum_Post_Count_Answer]</td>
<td>[Forum_Post_Hit]</td>
<td>[Forum_Post_Last_Author]</td>
</tr>
</RB:Forum_Posts_Loop>
</table>
</div>
</RB:Forum_Posts_Block></div><div style="display:none">
توجه:این کد بر روی قالب اصلی تست نشده و هر گونه بهم ریختگی در قالب شما بر عهده خودتون خواهد بود.
موفق باشید