/ Published in: jQuery
URL: www.raz.rs
Include https://github.com/martinaglv/jQuery-FullScreen Then add following and replace selectors with yours.
Expand |
Embed | Plain Text
if($.support.fullscreen){ $('#wraperouter').append('<a href="#" id="fsButton">fullscreen</a>') $('#fsButton').click(function(e){ // Use the plugin $('#wraperouter').fullScreen(); e.preventDefault(); }); }
You need to login to post a comment.
