minor edits...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-11 18:58:26 +04:00
parent 9d3bc4ffd3
commit c19ec9428a

View File

@ -15,6 +15,7 @@ $(document).ready(function(){
})
$('.viewer')
//.click(toggleIndex)
.swipe({
swipeLeft: nextPage,
swipeRight: prevPage,
@ -72,6 +73,15 @@ function hideIndex(){
$('.previews').slideUp()
}
function toggleIndex(){
if($('.previews').css('display') == 'none'){
showIndex()
} else {
hideIndex()
}
return false
}
</script>
</head>