Sha256: 84cc1e9dc1845b6f44aeb0ea6e12a5a9d5de0a5fe05b457eada755f8f94f2143

Contents?: true

Size: 1.43 KB

Versions: 10

Compression:

Stored size: 1.43 KB

Contents

/* Just an example for an all-in-one convenience include
   
   create your own slide.js to include your own extensions and
    change the startup (document ready) code as needed
    
    Tell us about your extentions or changes on the forum. Thank!
    Find the forum @ http://groups.google.com/group/webslideshow
 */


$.ajaxSetup({async: false});
$.getScript( 's6/slides.core.js' );
$.ajaxSetup({async: true});

$(document).ready(function(){
        
  if( $.browser.msie )
        {
          $( '.layout > *').hide();
          $( '.presentation').hide();
          
          $( '#microsoft' ).show();          
        }
        else
        {
	  
	  /* store possible slidenumber from hash */
	  /* todo: use regex to extract number
	       might be #slide1 or just #1
	  */
	  var gotoSlideNum = parseInt( window.location.hash.substring(1) );
	  debug( "gotoSlideNum=" + gotoSlideNum );
	  
         defaultCheck();
         addSlideIds();
         createControls();
         
         /* opera is the only browser currently supporting css projection mode */ 
         /* if( !$.browser.opera ) */
           notOperaFix();
					 
	  steps = collectSteps();
         
	  if( !isNaN( gotoSlideNum ))
          {
	    debug( "restoring slide on (re)load #: " + gotoSlideNum );
	    goTo( gotoSlideNum );
	  }
	  
	 
         if( defaultView == 'outline' ) 
		       toggle();
          
	  
	  
	   
         document.onkeyup = keys;
        }
     });

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
slideshow-0.9.5 templates/s6/slides.js
slideshow-0.9.4 templates/s6/slides.js
slideshow-0.9.3 templates/s6/slides.js
slideshow-0.9.2 templates/s6/slides.js
slideshow-0.9.1 templates/s6/slides.js
slideshow-0.9 templates/s6/slides.js
slideshow-0.8.5 templates/s6/slides.js
slideshow-0.8.4 templates/s6/slides.js
slideshow-0.8.3 templates/s6/slides.js
slideshow-0.8.2 templates/s6/slides.js