Hỗ trợ Forumotion
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

You are not connected. Please login or register

[Help] ai biết cách xóa cái tên người gửi và tên người gửi cuối trong last này k giúp vs mình làm mãi mà k đk

3 posters

Go down  Thông điệp [Trang 1 trong tổng số 1 trang]

Zin_Ken

Zin_Ken
Member
Member

[Help] ai biết cách xóa cái tên người gửi và tên người gửi cuối trong last này k giúp vs mình làm mãi mà k đk

Đó:
http://www.4rkinggame.net/

vovanan

vovanan
Moderators FM
Moderators FM

đưa js đây

Zin_Ken

Zin_Ken
Member
Member

Js nè:
https://hotro.forumvi.net/11280.js

Tui thử rùi mà lỗi tùm lum
bạn xem dùm nhé

vovanan

vovanan
Moderators FM
Moderators FM

đây xem được chưa
Code:
Link='/search?search_author=*_*&search_keywords';Start='&start=';Where='';Trang=20;$(function(){op_choice=Math.floor(Math.random()*4);OpChoice(op_choice);$('.op-prew').click(function(){op_choice-=1;if(op_choice<0)op_choice=3;OpChoice(op_choice)});$('.op-next').click(function(){op_choice+=1;if(op_choice>3)op_choice=0;OpChoice(op_choice)});$('#jumpbox-last select').clone().appendTo('#option-lastpost');$('#option-lastpost select').removeAttr('name').removeAttr('onchange').attr('id','select-lastpost');$('.op-last-bottom').click(function(){$('.op-last-bottom').removeClass('op-last-bottom2');$(this).addClass('op-last-bottom2')});$('#option-lastpost .op-last').click(function(){$('#option-lastpost .op-last').removeClass('op-last2');$('#select-lastpost').removeClass('op-last-select');$(this).addClass('op-last2')});$('#select-lastpost').live('change',function(){$('#option-lastpost .op-last').removeClass('op-last2');$(this).addClass('op-last-select');if($(this).val()=='1'){Where='';LoadLastPost(0)}else if($(this).val()!='-1'){Where='&search_where='+$(this).val();LoadLastPost(0)}});$('.TrangTruoc').click(function(){st=parseInt($('#SoTrangLT').val())-1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('.TrangSau').click(function(){st=parseInt($('#SoTrangLT').val())+1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('#SoTrangLT').change(function(){ltval=parseInt($(this).val());if(ltval<1||ltval>20){$(this).val(1)}else{LoadLastPost(ltval-1)}})});function LoadLastPost(page){page>0?$('.TrangTruoc').show():$('.TrangTruoc').hide();if(page==0){$('#SoTrangLT').val(1)}LinkLastPost=Link+Where+Start+page*Trang;$('#Load').show();$('#dl-lastpost').load(LinkLastPost+' form.frm-form .main-content .table .statused tr',function(){$('#main-lastpost').empty();$(this).find('tr').length<20?$('.TrangSau').hide():$('.TrangSau').show();if($(this).is(':empty')){$('#main-lastpost').text('Không có dữ liệu')}else{$(this).find('tr').each(function(){$('<div class="dl-post"></div>').appendTo('#main-lastpost');$('<span class="lp1"></span>').html($(this).find('span.status').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp2" title="'+$(this).find('td:first h2.topic-title').text()+'"></span>').html('<a href="'+$(this).find('td:last a:last').attr('href')+'">'+$(this).find('td:first h2.topic-title').text()+'</a>').appendTo('#main-lastpost .dl-post:last');$(this).find('td:first a.gensmall').appendTo('#main-lastpost .dl-post:last').wrap('');$(this).find('td:eq(4) a.gensmall').appendTo('#main-lastpost .dl-post:last').wrap('');$('<span class="lp5"></span>').html($(this).find('td:eq(1)').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp6"></span>').html($(this).find('td:eq(2)').text()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp7"></span>').html($(this).find('td:eq(3)').text()).appendTo('#main-lastpost .dl-post:last');$('<img src="http://2img.net/i/fa/m/icon_minitime1.gif" class="imglp" title="'+$(this).find('td:eq(4)').text().replace(' by','')+'"></img>').appendTo('#main-lastpost .dl-post:last');if($(this).find('td:first img[alt*="posted in this topic"]').length){$('<span class="lp8"><img src="'+$(this).find('td:first img[alt*="posted in this topic"]').attr('src')+'" title="Bạn đã tham gia thảo luận tại chủ đề nà y"></img></span>').appendTo('#main-lastpost .dl-post:last')}});$('#dl-lastpost').empty()}$('#Load').fadeOut()})}function OpChoice(eq){$('#option-lastpost .op-choice').hide();$('#option-lastpost .op-choice').filter(':eq('+eq+')').show()}function Op1Last(forum){forum==''?Where='':Where='&search_where='+forum;LoadLastPost(0)}function Op2Last(op){Link=op;LoadLastPost(0)}$(function(){$('#option-lastpost .op-last:first').addClass('op-last2');LoadLastPost(0)});$(function(){$('#select-lastpost option').each(function(){if($(this).text().search(/\|\s\s\s\|--/)==0){$(this).addClass('select-intopic')}});sl_op=$('#select-lastpost option.select-intopic').length;ClickLast=Math.floor(Math.random()*sl_op);$('#select-lastpost option.select-intopic').filter(':eq('+ClickLast+')').attr('selected','selected');$('#select-lastpost').addClass('op-last-select');Where='&search_where='+$('#select-lastpost').val();LoadLastPost(0)});

cubimtq

cubimtq
Administrator
Administrator

thay js bằng cái này thử xem
Code:
Link='/search?search_author=*_*&search_keywords';Start='&start=';Where='';Trang=20;$(function(){op_choice=Math.floor(Math.random()*4);OpChoice(op_choice);$('.op-prew').click(function(){op_choice-=1;if(op_choice<0)op_choice=3;OpChoice(op_choice)});$('.op-next').click(function(){op_choice+=1;if(op_choice>3)op_choice=0;OpChoice(op_choice)});$('#jumpbox-last select').clone().appendTo('#option-lastpost');$('#option-lastpost select').removeAttr('name').removeAttr('onchange').attr('id','select-lastpost');$('.op-last-bottom').click(function(){$('.op-last-bottom').removeClass('op-last-bottom2');$(this).addClass('op-last-bottom2')});$('#option-lastpost .op-last').click(function(){$('#option-lastpost .op-last').removeClass('op-last2');$('#select-lastpost').removeClass('op-last-select');$(this).addClass('op-last2')});$('#select-lastpost').live('change',function(){$('#option-lastpost .op-last').removeClass('op-last2');$(this).addClass('op-last-select');if($(this).val()=='1'){Where='';LoadLastPost(0)}else if($(this).val()!='-1'){Where='&search_where='+$(this).val();LoadLastPost(0)}});$('.TrangTruoc').click(function(){st=parseInt($('#SoTrangLT').val())-1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('.TrangSau').click(function(){st=parseInt($('#SoTrangLT').val())+1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('#SoTrangLT').change(function(){ltval=parseInt($(this).val());if(ltval<1||ltval>20){$(this).val(1)}else{LoadLastPost(ltval-1)}})});function LoadLastPost(page){page>0?$('.TrangTruoc').show():$('.TrangTruoc').hide();if(page==0){$('#SoTrangLT').val(1)}LinkLastPost=Link+Where+Start+page*Trang;$('#Load').show();$('#dl-lastpost').load(LinkLastPost+' form.frm-form .main-content .table .statused tr',function(){$('#main-lastpost').empty();$(this).find('tr').length<20?$('.TrangSau').hide():$('.TrangSau').show();if($(this).is(':empty')){$('#main-lastpost').text('KhĂ´ng cĂ³ dữ liệu')}else{$(this).find('tr').each(function(){$('<div class="dl-post"></div>').appendTo('#main-lastpost');$('<span class="lp1"></span>').html($(this).find('span.status').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp2" title="'+$(this).find('td:first h2.topic-title').text()+'"></span>').html('<a href="'+$(this).find('td:last a:last').attr('href')+'">'+$(this).find('td:first h2.topic-title').text()+'</a>').appendTo('#main-lastpost .dl-post:last');$(this).find('td:first a.gensmall').appendTo('#main-lastpost .dl-post:last')$(this).find('td:eq(4) a.gensmall').appendTo('#main-lastpost .dl-post:last')$('<span class="lp5"></span>').html($(this).find('td:eq(1)').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp6"></span>').html($(this).find('td:eq(2)').text()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp7"></span>').html($(this).find('td:eq(3)').text()).appendTo('#main-lastpost .dl-post:last');$('<img src="http://2img.net/i/fa/m/icon_minitime1.gif" class="imglp" title="'+$(this).find('td:eq(4)').text().replace(' by','')+'"></img>').appendTo('#main-lastpost .dl-post:last');if($(this).find('td:first img[alt*="posted in this topic"]').length){$('<span class="lp8"><img src="'+$(this).find('td:first img[alt*="posted in this topic"]').attr('src')+'" title="Bạn Ä‘Ă£ tham gia thảo luận tại chủ đề nĂ y"></img></span>').appendTo('#main-lastpost .dl-post:last')}});$('#dl-lastpost').empty()}$('#Load').fadeOut()})}function OpChoice(eq){$('#option-lastpost .op-choice').hide();$('#option-lastpost .op-choice').filter(':eq('+eq+')').show()}function Op1Last(forum){forum==''?Where='':Where='&search_where='+forum;LoadLastPost(0)}function Op2Last(op){Link=op;LoadLastPost(0)}$(function(){$('#option-lastpost .op-last:first').addClass('op-last2');LoadLastPost(0)});$(function(){$('#select-lastpost option').each(function(){if($(this).text().search(/\|\s\s\s\|--/)==0){$(this).addClass('select-intopic')}});sl_op=$('#select-lastpost option.select-intopic').length;ClickLast=Math.floor(Math.random()*sl_op);$('#select-lastpost option.select-intopic').filter(':eq('+ClickLast+')').attr('selected','selected');$('#select-lastpost').addClass('op-last-select');Where='&search_where='+$('#select-lastpost').val();LoadLastPost(0)});

Zin_Ken

Zin_Ken
Member
Member

Cả 2 cái js của bạn sửa đều k đk
Xem cái của vonvana làm thì lỗi nè
http://www.4rkinggame.net/

Còn cái của cubimq thì nó k hiện gì hết

cubimtq

cubimtq
Administrator
Administrator

lại nào
Code:
Link='/search?search_author=*_*&search_keywords';Start='&start=';Where='';Trang=20;$(function(){op_choice=Math.floor(Math.random()*4);OpChoice(op_choice);$('.op-prew').click(function(){op_choice-=1;if(op_choice<0)op_choice=3;OpChoice(op_choice)});$('.op-next').click(function(){op_choice+=1;if(op_choice>3)op_choice=0;OpChoice(op_choice)});$('#jumpbox-last select').clone().appendTo('#option-lastpost');$('#option-lastpost select').removeAttr('name').removeAttr('onchange').attr('id','select-lastpost');$('.op-last-bottom').click(function(){$('.op-last-bottom').removeClass('op-last-bottom2');$(this).addClass('op-last-bottom2')});$('#option-lastpost .op-last').click(function(){$('#option-lastpost .op-last').removeClass('op-last2');$('#select-lastpost').removeClass('op-last-select');$(this).addClass('op-last2')});$('#select-lastpost').live('change',function(){$('#option-lastpost .op-last').removeClass('op-last2');$(this).addClass('op-last-select');if($(this).val()=='1'){Where='';LoadLastPost(0)}else if($(this).val()!='-1'){Where='&search_where='+$(this).val();LoadLastPost(0)}});$('.TrangTruoc').click(function(){st=parseInt($('#SoTrangLT').val())-1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('.TrangSau').click(function(){st=parseInt($('#SoTrangLT').val())+1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('#SoTrangLT').change(function(){ltval=parseInt($(this).val());if(ltval<1||ltval>20){$(this).val(1)}else{LoadLastPost(ltval-1)}})});function LoadLastPost(page){page>0?$('.TrangTruoc').show():$('.TrangTruoc').hide();if(page==0){$('#SoTrangLT').val(1)}LinkLastPost=Link+Where+Start+page*Trang;$('#Load').show();$('#dl-lastpost').load(LinkLastPost+' form.frm-form .main-content .table .statused tr',function(){$('#main-lastpost').empty();$(this).find('tr').length<20?$('.TrangSau').hide():$('.TrangSau').show();if($(this).is(':empty')){$('#main-lastpost').text('KhĂ´ng cĂ³ dữ liệu')}else{$(this).find('tr').each(function(){$('<div class="dl-post"></div>').appendTo('#main-lastpost');$('<span class="lp1"></span>').html($(this).find('span.status').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp2" title="'+$(this).find('td:first h2.topic-title').text()+'"></span>').html('<a href="'+$(this).find('td:last a:last').attr('href')+'">'+$(this).find('td:first h2.topic-title').text()+'</a>').appendTo('#main-lastpost .dl-post:last');$(this).find('td:first a.gensmall').appendTo('#main-lastpost .dl-post:last');$(this).find('td:eq(4) a.gensmall').appendTo('#main-lastpost .dl-post:last');$('<span class="lp5"></span>').html($(this).find('td:eq(1)').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp6"></span>').html($(this).find('td:eq(2)').text()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp7"></span>').html($(this).find('td:eq(3)').text()).appendTo('#main-lastpost .dl-post:last');$('<img src="http://2img.net/i/fa/m/icon_minitime1.gif" class="imglp" title="'+$(this).find('td:eq(4)').text().replace(' by','')+'"></img>').appendTo('#main-lastpost .dl-post:last');if($(this).find('td:first img[alt*="posted in this topic"]').length){$('<span class="lp8"><img src="'+$(this).find('td:first img[alt*="posted in this topic"]').attr('src')+'" title="Bạn Ä‘Ă£ tham gia thảo luận tại chủ đề nĂ y"></img></span>').appendTo('#main-lastpost .dl-post:last')}});$('#dl-lastpost').empty()}$('#Load').fadeOut()})}function OpChoice(eq){$('#option-lastpost .op-choice').hide();$('#option-lastpost .op-choice').filter(':eq('+eq+')').show()}function Op1Last(forum){forum==''?Where='':Where='&search_where='+forum;LoadLastPost(0)}function Op2Last(op){Link=op;LoadLastPost(0)}$(function(){$('#option-lastpost .op-last:first').addClass('op-last2');LoadLastPost(0)});$(function(){$('#select-lastpost option').each(function(){if($(this).text().search(/\|\s\s\s\|--/)==0){$(this).addClass('select-intopic')}});sl_op=$('#select-lastpost option.select-intopic').length;ClickLast=Math.floor(Math.random()*sl_op);$('#select-lastpost option.select-intopic').filter(':eq('+ClickLast+')').attr('selected','selected');$('#select-lastpost').addClass('op-last-select');Where='&search_where='+$('#select-lastpost').val();LoadLastPost(0)});

Zin_Ken

Zin_Ken
Member
Member

Vẫn bị lỗi xem lại vs

vovanan

vovanan
Moderators FM
Moderators FM

đây thử
Code:
Link='/search?search_author=*_*&search_keywords';Start='&start=';Where='';Trang=20;$(function(){op_choice=Math.floor(Math.random()*4);OpChoice(op_choice);$('.op-prew').click(function(){op_choice-=1;if(op_choice<0)op_choice=3;OpChoice(op_choice)});$('.op-next').click(function(){op_choice+=1;if(op_choice>3)op_choice=0;OpChoice(op_choice)});$('#jumpbox-last select').clone().appendTo('#option-lastpost');$('#option-lastpost select').removeAttr('name').removeAttr('onchange').attr('id','select-lastpost');$('.op-last-bottom').click(function(){$('.op-last-bottom').removeClass('op-last-bottom2');$(this).addClass('op-last-bottom2')});$('#option-lastpost .op-last').click(function(){$('#option-lastpost .op-last').removeClass('op-last2');$('#select-lastpost').removeClass('op-last-select');$(this).addClass('op-last2')});$('#select-lastpost').live('change',function(){$('#option-lastpost .op-last').removeClass('op-last2');$(this).addClass('op-last-select');if($(this).val()=='1'){Where='';LoadLastPost(0)}else if($(this).val()!='-1'){Where='&search_where='+$(this).val();LoadLastPost(0)}});$('.TrangTruoc').click(function(){st=parseInt($('#SoTrangLT').val())-1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('.TrangSau').click(function(){st=parseInt($('#SoTrangLT').val())+1;$('#SoTrangLT').val(st);LoadLastPost(st-1)});$('#SoTrangLT').change(function(){ltval=parseInt($(this).val());if(ltval<1||ltval>20){$(this).val(1)}else{LoadLastPost(ltval-1)}})});function LoadLastPost(page){page>0?$('.TrangTruoc').show():$('.TrangTruoc').hide();if(page==0){$('#SoTrangLT').val(1)}LinkLastPost=Link+Where+Start+page*Trang;$('#Load').show();$('#dl-lastpost').load(LinkLastPost+' form.frm-form .main-content .table .statused tr',function(){$('#main-lastpost').empty();$(this).find('tr').length<20?$('.TrangSau').hide():$('.TrangSau').show();if($(this).is(':empty')){$('#main-lastpost').text('Không có dữ liệu')}else{$(this).find('tr').each(function(){$('<div class="dl-post"></div>').appendTo('#main-lastpost');$('<span class="lp1"></span>').html($(this).find('span.status').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp2" title="'+$(this).find('td:first h2.topic-title').text()+'"></span>').html('<a href="'+$(this).find('td:last a:last').attr('href')+'">'+$(this).find('td:first h2.topic-title').text()+'</a>').appendTo('#main-lastpost .dl-post:last');$(this).find('td:first a.gensmall').appendTo('#main-lastpost .dl-post:last');$(this).find('td:eq(4) a.gensmall').appendTo('#main-lastpost .dl-post:last');$('<span class="lp5"></span>').html($(this).find('td:eq(1)').html()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp6"></span>').html($(this).find('td:eq(2)').text()).appendTo('#main-lastpost .dl-post:last');$('<span class="lp7"></span>').html($(this).find('td:eq(3)').text()).appendTo('#main-lastpost .dl-post:last');$('<img src="http://2img.net/i/fa/m/icon_minitime1.gif" class="imglp" title="'+$(this).find('td:eq(4)').text().replace(' by','')+'"></img>').appendTo('#main-lastpost .dl-post:last');if($(this).find('td:first img[alt*="posted in this topic"]').length){$('<span class="lp8"><img src="'+$(this).find('td:first img[alt*="posted in this topic"]').attr('src')+'" title="Bạn đã tham gia thảo luận tại chủ đề nà y"></img></span>').appendTo('#main-lastpost .dl-post:last')}});$('#dl-lastpost').empty()}$('#Load').fadeOut()})}function OpChoice(eq){$('#option-lastpost .op-choice').hide();$('#option-lastpost .op-choice').filter(':eq('+eq+')').show()}function Op1Last(forum){forum==''?Where='':Where='&search_where='+forum;LoadLastPost(0)}function Op2Last(op){Link=op;LoadLastPost(0)}$(function(){$('#option-lastpost .op-last:first').addClass('op-last2');LoadLastPost(0)});$(function(){$('#select-lastpost option').each(function(){if($(this).text().search(/\|\s\s\s\|--/)==0){$(this).addClass('select-intopic')}});sl_op=$('#select-lastpost option.select-intopic').length;ClickLast=Math.floor(Math.random()*sl_op);$('#select-lastpost option.select-intopic').filter(':eq('+ClickLast+')').attr('selected','selected');$('#select-lastpost').addClass('op-last-select');Where='&search_where='+$('#select-lastpost').val();LoadLastPost(0)});

Zin_Ken

Zin_Ken
Member
Member

Vẫn bị lỗi xem lại vs

vovanan

vovanan
Moderators FM
Moderators FM

sao thay mấy cái rồi lỗi giống nhau thế à

Zin_Ken

Zin_Ken
Member
Member

Để đỡ lag rum mà

Zin_Ken

Zin_Ken
Member
Member

@@
Nếu ai biết xóa thì xóa dùm nhé

Zin_Ken

Zin_Ken
Member
Member

CHo hỏi làm thế nào để kéo dài thêm cái Chủ đề ra dài hơn và mấy cái kia cũng thế
Làm dùm lun nhá

Sponsored content



Về Đầu Trang  Thông điệp [Trang 1 trong tổng số 1 trang]

Permissions in this forum:
Bạn không có quyền trả lời bài viết