Sha256: e874abe182b0efde8722c6d26254973966c5ebdabbc5d13ea148d5b69a573b92

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

var GPE={list:function(){$('#expandlist > li').click(function(event){if(this==event.target){$(this).toggleClass('expanded');$(this).find('ul').toggle('medium');}
return false;}).addClass('collapsed').find('ul').hide();$('#expandall').unbind('click').click(function(){$('.collapsed').addClass('expanded');$('.collapsed').children().show('medium');})
$('#collapseall').unbind('click').click(function(){$('.collapsed').removeClass('expanded');$('.collapsed').children().hide('medium');})},popuplink:function(audio_file){window.open(audio_file,'audio','resizable=yes,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=no,dependent=no,width=400,height=200');return false},moveAudioBlock:function(){$('section').each(function(){var $this=$(this);var $audio=$this.find('.audioblock');var $audioHtml=$audio.html();if($audioHtml!=null){$this.removeData($audioHtml);$audio.prependTo($this);}});}};$(document).ready(function(){GPE.list();$("a[id][audio-file]").click(function(){GPE.popuplink($(this).attr('audio-file'))});GPE.moveAudioBlock();});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hyla-1.0.9.pre.3 lib/resources/assets/revealjs-redhat/lib/js/gpe.min.js
hyla-1.0.9.pre.2 lib/resources/assets/revealjs-redhat/lib/js/gpe.min.js
hyla-1.0.9.pre.1 lib/resources/assets/revealjs-redhat/lib/js/gpe.min.js
hyla-1.0.8 lib/resources/assets/revealjs-redhat/lib/js/gpe.min.js