1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00
GPXSee/js/js-func.js

40 lines
744 B
JavaScript
Raw Normal View History

2017-06-22 01:07:39 +02:00
function mycarousel_initCallback(carousel) {
$('#next').bind('click', function() {
carousel.next();
return false;
});
$('#prev').bind('click', function() {
carousel.prev();
return false;
});
};
$(function(){
$('.slider-content ul').jcarousel({
auto: 0,
wrap: "circular",
scroll: 1,
visible: 1,
initCallback: mycarousel_initCallback,
buttonNextHTML: null,
buttonPrevHTML: null
});
$('.blink').
focus(function() {
if(this.title==this.value) {
this.value = '';
}
}).
blur(function(){
if(this.value=='') {
this.value = this.title;
}
});
});