mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-20 03:41:38 +02:00
add: public interface to jump between slides
This commit is contained in:
@@ -363,6 +363,11 @@ jQuery(document).ready(function($){
|
||||
jQuery("#"+tab_id).addClass('current');
|
||||
});
|
||||
|
||||
/* jQuery plugin */
|
||||
$.WebSlides = function () {};
|
||||
|
||||
/* Public goToSlide */
|
||||
$.WebSlides.goToSlide = goToSlide;
|
||||
});
|
||||
|
||||
// Prototype better, faster. To show the grid/baseline.png, press Enter on keyboard
|
||||
|
@@ -407,6 +407,11 @@ jQuery(document).ready(function($){
|
||||
jQuery("#"+tab_id).addClass('current');
|
||||
});
|
||||
|
||||
/* jQuery plugin */
|
||||
$.WebSlides = function () {};
|
||||
|
||||
/* Public goToSlide */
|
||||
$.WebSlides.goToSlide = goToSlide;
|
||||
});
|
||||
|
||||
// Prototype better, faster. To show the grid/baseline.png, press Enter on keyboard
|
||||
|
Reference in New Issue
Block a user