# jQuery-FullScreen **Repository Path**: AloneH/jQuery-FullScreen ## Basic Information - **Project Name**: jQuery-FullScreen - **Description**: A plugin for using the browser's Full Screen API - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-04-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jQuery FullScreen Plugin A jQuery 1.7 plugin that wraps around the *[Full Screen API](https://developer.mozilla.org/en/DOM/Using_full-screen_mode)* and works around various browser differences. Works in FF 10, Chrome and Safari. It is useful for presenting users with an easier to read version of your web pages, or zooming *<canvas>* and *<video>* elements. ## How to use Include jquery.fullscreen.js in your page along with version 1.7 of the jQuery library. This gives you the `$('#elem').fullScreen()` method. You can optionally pass an object with properties:
Property | Value | Meaning |
---|---|---|
background | a color hash | This is the color that will be used for the background. |
callback | a function | The callback function will be called on a full screen change event. It has one argument - a boolean indicating whether we are in full screen or not. |
fullscreenClass | a string | This is the CSS class that will be added to elements in fullscreen mode. The default class is "fullScreen". |