javascript code problem
Page 1 of 1
javascript code problem
I found out what's the problem: when cut this javascript code everything is ok
- Code:
var CopyrightNotice='phpbb3 post numbers for forumotion phpbb3 forums. Copyright © by LGforum. All Rights Reserved. Use and modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. No distribution without consent.';
function pagesort(no) {var a=no-1;var b=a*15;var c= b+1;return c;}
function findlink(i) {var a=$('.topic-title').get(); var b=$(a[i]).find('a')[0]; var c=b.attributes;
postlink=c[1].nodeValue; return postlink; }
$(function(){
j=$('div .pagination').find('strong');
k=j[0].innerHTML; var pagenumber=Number(k);
var p=pagesort(pagenumber); var a=$('.right').get();
for(var i=0;i<a.length;i++) {
postlink=findlink(i); postno=i+p;
$(a[i]).prepend('<span style="float: right;color:black;padding-left:10px;">' +postno+'.</span>')
}
});
so, what's wrong in this code
tnx
Similar topics
» Javascript code management problem !!
» Problem with member of the month javascript code
» Javascript- More then 1 javascript code
» Were to add a javascript code?
» Javascript code
» Problem with member of the month javascript code
» Javascript- More then 1 javascript code
» Were to add a javascript code?
» Javascript code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum