$(function(){ }); $(document).ready(function(){ $('#camera_wrap').camera({ height: '200', loader: 'none', hover: true, time: 3000, transPeriod: 2000, loaderOpacity: .8, imagePath: 'images/', navigationHover: true, pagination: false, thumbnails: false }); /* $('#camera_wrap').camera({ height: '200', loader: 'pie', hover: true, time: 3000, transPeriod: 2000, loaderOpacity: .8, imagePath: 'images/', navigationHover: true, pagination: false, thumbnails: false });*/ $('.my_caption').css({ backgroundColor: 'rgba(133, 133, 133, 0.0)' }); $('.my_caption div').css({ color: '#ffffff' }); $('.my_caption div').css({ fontSize: '12px' }); $('.bx-viewport').css({ height: '500px' }); }); //webshim.setOptions('basePath', '/js-webshim/minified/shims/'); //request the features you need: webshim.polyfill('mediaelement forms forms-ext'); webshim.setOptions("forms-ext", { "widgets": { "calculateWidth": false, } }); $(function(){ // use all implemented API-features on DOM-ready }); function toggle(id){ var e = document.getElementById(id); if (e.style.display == "none"){ e.style.display = ""; } else { e.style.display = "none"; } }