Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<script>
jQuery(function() {
jQuery('#allinone_bannerWithPlaylist_elegant').allinone_bannerWithPlaylist({
skin: 'elegant',
width: 850,
height: 400,
origThumbImgW: 90,
origThumbImgH: 90,
circleColor: "#c3a62e",
autoPlay: 10
});
//This function enables clicking the menu buttons and displays
//the submenu (if present). It's a workaround for touch devices
$('.menuItem').click(function() {
if ($(this).find('ul').css('display') === 'block') {
$(this).find('ul').css('display', 'none');
}
else {
$(this).trigger('hover');
$(this).find('ul').show();
}
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.