Team:ATOMS-Turkiye/deneme
From 2013.igem.org
Line 30: | Line 30: | ||
for( i=1;i<=l;i++ ) | for( i=1;i<=l;i++ ) | ||
pages+="<li onclick='openPage("+i+");' ><a href='#' class='no-action'>"+i+"</a></li> "; | pages+="<li onclick='openPage("+i+");' ><a href='#' class='no-action'>"+i+"</a></li> "; | ||
- | pager. | + | pager.append($(pages)); |
+ | pager.children("li").hover(function(){alert($(this).text());openPage(parseInt($(this).text()));}); | ||
openPage(1); | openPage(1); | ||
} | } |
Revision as of 18:36, 3 October 2013