mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-22 04:43:42 +02:00
Initialize webslide in index.html
This commit is contained in:
@@ -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>
|
||||||
|
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user