<commit_before>mrsi gallery
=============

mrsi gallery is a simple full screen background image gallery that uses CSS3 background-size attribute instead of JavaScript for completely filling up the browser window with images.

Browser Support
-------

It works in most modern browsers ([reference](http://www.w3schools.com/cssref/css3_pr_background-size.asp)) and it even (somewhat) works with IE < 9 but then it switches to filter attributes.

Why?
-------

I needed something like that for my new website ([WIP](http://mr.si/index2.php)) and I didn't find anything like it so I made this from scratch.

How far are we?
-------

It's still very much work in progress so any ideas / bug reports /suggestions are highly welcomed and appreciated.

Demo
-------

The demo is (for now) available only at: http://mr.si/index2.php

Requirements
-------

* jQuery

Example usage
-------
```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="js/gallery.js"></script>
<script>
$(function() {
	images = ["images/image1.jpg", "images/image2.jpg", "images/image3.jpg"]; //array of paths to images
	gallery = new gallery();
	gallery.init(images);<commit_msg>demo description<commit_after>mrsi gallery
=============

mrsi gallery is a simple full screen background image gallery that uses CSS3 background-size attribute instead of JavaScript for completely filling up the browser window with images.

Browser Support
-------

It works in most modern browsers ([reference](http://www.w3schools.com/cssref/css3_pr_background-size.asp)) and it even (somewhat) works with IE < 9 but then it switches to filter attributes.

Why?
-------

I needed something like that for my new website ([WIP](http://mr.si/index2.php)) and I didn't find anything like it so I made this from scratch.

How far are we?
-------

It's still very much work in progress so any ideas / bug reports /suggestions are highly welcomed and appreciated.

Demo
-------

The demo is available in the folder demo (download and try localy) or online at: http://mr.si/index2.php

Requirements
-------

* jQuery

Example usage
-------
```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="js/gallery.js"></script>
<script>
$(function() {
	images = ["images/image1.jpg", "images/image2.jpg", "images/image3.jpg"]; //array of paths to images
	gallery = new gallery();
	gallery.init(images);
{'fraction_non_alphanumeric': 0.14642126789366053, 'fraction_numerical': 0.0098159509202454, 'mean_word_length': 3.7495145631067963, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2287528', 'n_tokens_mistral': 724, 'n_tokens_neox': 695, 'n_words': 273}