Sha256: d64a1af308bf876e643505b434b5ac7ad7956f61bb4d9b14fccebb24d3d69e34
Contents?: true
Size: 984 Bytes
Versions: 1
Compression:
Stored size: 984 Bytes
Contents
$(function() { $('.deck-container').prepend('<div class="theme-picker"><h2>Themes</h2><label for="style-themes">Style:</label><select id="style-themes"><option selected="selected" value="deck/themes/style/web-2.0.css">Web 2.0</option><option value="deck/themes/style/swiss.css">Swiss</option><option value="deck/themes/style/neon.css">Neon</option><option value="">None</option></select><label for="transition-themes">Transition:</label><select id="transition-themes"><option value="deck/themes/transition/horizontal-slide.css">Horizontal Slide</option><option value="deck/themes/transition/vertical-slide.css">Vertical Slide</option><option value="deck/themes/transition/fade.css">Fade</option><option selected="selected" value="">None</option></select></div>'); $('#style-themes').change(function() { $('#style-theme-link').attr('href', $(this).val()); }); $('#transition-themes').change(function() { $('#transition-theme-link').attr('href', $(this).val()); }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deckrb-0.1.0 | deck/extensions/theme-picker/deck.theme-picker.js |