Team:ATOMS-Turkiye/deneme
From 2013.igem.org
Line 25: | Line 25: | ||
pages="<ul class='slide-pager'>"; | pages="<ul class='slide-pager'>"; | ||
for( i=1;i<=l;i++ ) | for( i=1;i<=l;i++ ) | ||
- | pages+="<li onclick='openPage("+i+");' ><a href=''>"+i+"</a></li> "; | + | pages+="<li onclick='openPage("+i+");' ><a href='#' class='no-action'>"+i+"</a></li> "; |
pager.html(pages); | pager.html(pages); | ||
openPage(1); | openPage(1); | ||
Line 31: | Line 31: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
initSlideShow( $("#slideshow") ); | initSlideShow( $("#slideshow") ); | ||
- | + | $(".no-action").click(function (e){e.preventDefault();return true;}); | |
}); | }); | ||
</script> | </script> |
Revision as of 07:25, 1 October 2013