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