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> "; | ||
- | + | pages+="</ul>" | |
- | + | pages = $(pages); | |
+ | pages.children("li").hover(function(){openPage(parseInt($(this).text()));}); | ||
+ | pager.html(pages); | ||
openPage(1); | openPage(1); | ||
} | } |
Revision as of 19:16, 3 October 2013