Fullscreen html


/ Published in: jQuery
Save to your folder(s)

Include https://github.com/martinaglv/jQuery-FullScreen
Then add following and replace selectors with yours.


Copy this code and paste it in your HTML
  1. if($.support.fullscreen){
  2. $('#wraperouter').append('<a href="#" id="fsButton">fullscreen</a>')
  3. $('#fsButton').click(function(e){
  4. // Use the plugin
  5. $('#wraperouter').fullScreen();
  6. e.preventDefault();
  7. });
  8. }

URL: www.raz.rs

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.