Click to toggle dark text on white
This is how you would call WowWindow if you chose every option at their default values. This is exactly the same as simply executing: $(elements).wowwindow();
$(elements).wowwindow({
testMode: false,//only used for debugging the plugin
draggable: false,
fixedWindow: false,//overlay.playgroundFixed
width: 500,//images don't use this
height: 500,//only used by iframe and videos
overlay: {
background: '#000',
opacity: .6,
zIndex: 1000,
fixed: true,
clickToClose: true,
destroyOnClose: false
},
before: function() {},//callback before window has been opened
after: function() {},//callback after window has been opened
onclose: function() {},//callback after window has been closed
zoom: true,
rotate: false,
rotations: 1,
clockwise: true,
speed: 800,
autoplay: true,//only used by videos
videoIframe: true,//false to use object and embed for flash (as of 2010-12-23 the YouTube Iframe embed is a beta, so there might be bugs in it)
showRelated: true,//only used by YouTube
autoYouTubeThumb: null,//set to '0', '1', '2', '3', or 'default' to automatically grab the YouTube thumbnail
closeButton: '<a class="wowwindow-close" title="close" href="javascript:jQuery(document.body).overlayPlayground(\'close\');void(0)">Close</a>',
wrapHTML: '<div id="wowwindow-inner"></div>',
beforeHTML: '<div class="wowwindow-controlbar">{%close%} <span class="wowwindow-title">{%title%}</span></div>',
afterHTML: '',
verticalCenter: true,
forceImageFade: false,
yabbadabbadoo: false //take the red pill, take the blue pill
});
Privacy Policy | Click Here | jQuery Plugins by Wayfarer | Freelance Jobs Available | Random JavaScript Code Samples | Share a Random Link | JavaScript Jobs