Help in adding top poster in latest topics(new system)

Go down

Help in adding top poster in latest topics(new system)

Post by lBlacKl on Sun 4 Dec - 10:26

i just want to know if this code is using in adding top poster in latest topics(new system)

add to mod recent topics

Code:
<!-- BEGIN scrolling_row -->
<div class="module main">
  <div class="main-head"><div class="h3">{L_RECENT_TOPICS}</div></div>
  <div class="main-content" id="comments_scroll_div">
      <!-- BEGIN recent_topic_row -->
      » <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_TITLE}" title="{scrolling_row.recent_topic_row.L_TITLE}">{scrolling_row.recent_topic_row.L_TOPIC_TITLE}</a><br />
      <img src="{ICON_TIME}" alt="" />{scrolling_row.recent_topic_row.S_POSTTIME} {BY}

      <!-- BEGIN switch_poster -->
      <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.ge

then add this to javascript

Code:
$(function() {
var row=$('.rtrow').get();
var x=$('.topics2').get();
for (i=10;i<row.length;i++) {
    var element=row[i];
    var td=x[i-10];
    $(td).html(element);
}
});

is this code for adding top poster in latest topics?

please correct me if im wrong

lBlacKl
Forumember

Male Posts : 202
Reputation : 2
Language : English and Tagalog

http://gfxtutorials.netboarder.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum