1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-22 21:03:23 +02:00

Initialize webslide in index.html

This commit is contained in:
Luis
2017-02-11 16:50:24 +01:00
parent 7a8f09cd73
commit cab0758f9e
2 changed files with 31 additions and 30 deletions

View File

@@ -390,6 +390,9 @@
<!-- OPTIONAL - svg-icons.js (fontastic.me - Font Awesome as svg icons) --> <!-- OPTIONAL - svg-icons.js (fontastic.me - Font Awesome as svg icons) -->
<script defer src="static/js/svg-icons.js"></script> <script defer src="static/js/svg-icons.js"></script>
<script type="text/javascript">
var slide = jQuery('#webslides').webslides();
</script>
</body> </body>
</html> </html>

View File

@@ -495,7 +495,6 @@ jQuery.fn.webslides = function(options) {
} }
// I don't know what it does
jQuery(document).ready(function($){ jQuery(document).ready(function($){
// Tabs // Tabs
jQuery('ul.tabs li').click(function(){ jQuery('ul.tabs li').click(function(){
@@ -508,7 +507,6 @@ jQuery(document).ready(function($){
}); });
}); });
// I don't know what it does
// Prototype better, faster. To show the grid/baseline.png, press Enter on keyboard // Prototype better, faster. To show the grid/baseline.png, press Enter on keyboard
jQuery(document).keypress(function(e) { jQuery(document).keypress(function(e) {
if(e.which == 13) { if(e.which == 13) {