Posted By

raz on 03/03/12


Tagged

Fulscreen


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

spee66
BrockSamsom


Fullscreen html


 / Published in: jQuery
 

URL: www.raz.rs

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

  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. }

Report this snippet  

You need to login to post a comment.