Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andyfleming/BrowserUpdateWarning
Browser Update Warning for MooTools
https://github.com/andyfleming/BrowserUpdateWarning
Last synced: 3 months ago
JSON representation
Browser Update Warning for MooTools
- Host: GitHub
- URL: https://github.com/andyfleming/BrowserUpdateWarning
- Owner: andyfleming
- Created: 2012-02-23T06:22:38.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-25T01:25:35.000Z (over 12 years ago)
- Last Synced: 2024-06-25T10:38:30.284Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 167 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
BrowserUpdateWarning
===========A browser update warning plugin for Moo Tools.
Dependencies
------------- MooTools Core v1.4.4
Default Minimum Version Check
------------
- ie: 7
- safari: 5
- firefox: 5
- chrome: 15
- opera: 10How to use
----------**Include mootools framework and BrowserUpdateWarning plugin**
#html
**Include BrowserUpdateWarning stylesheet**
#html
**Example 1**
Shows basic usage.
Javascript:
#js
window.addEvent('domready', function() {
var browserWarning = new BrowserUpdateWarning();
browserWarning.check();
});
**Example 2**Example with options.
Javascript:
#js
window.addEvent('domready', function() {
var browserWarning = new BrowserUpdateWarning({
// Custom Images Directory
imagesDirectory: 'ui/js/mootools.BrowserUpdateWarning/Source/images/',
// Example minimum version override
minVersion_safari: 6,
// Opacity for shade div over content
opacity: 30,
// Show Continue to site button
allowContinue: true
});
browserWarning.check();
});Screenshot
-----------------![Screenshot](http://andyfleming.com/code/browser-update-warning-for-mootools/images/screenshot-1.png)
Please report bugs, errors and advices in the github project page: https://github.com/andyfleming/BrowserUpdateWarning
Terms & Conditions
-----
BrowserUpdateWarning
Copyright 2012 Andy FlemingThis copyright notice and permission notice shall be included in
all copies of the Software, in part or as a whole.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.