source: extensions/HDShadowbox/shadowbox/README @ 6488

Last change on this file since 6488 was 6488, checked in by patdenice, 14 years ago

Update shadowbox to 3.0.3 version.

File size: 2.6 KB
Line 
1Overview
2--------
3
4Shadowbox is a flexible media viewer that supports all of the web's most popular
5media publishing formats. Shadowbox is written entirely in JavaScript and CSS and
6is highly customizable. Using Shadowbox, website authors can display a wide
7assortment of media in all major browsers without navigating users away from the
8linking page.
9
10For more information, please see http://shadowbox-js.com/.
11
12Installation and Usage
13----------------------
14
15For detailed installation and usage instructions, please see the usage page at
16http://shadowbox-js.com/usage.html.
17
18How to Build
19------------
20
21IMPORTANT: The following instructions are for those who would like to create a custom build
22of Shadowbox on their own machines. Most users will not want to do this and instead should
23simply download, install, and use Shadowbox as described on the Shadowbox website at
24http://shadowbox-js.com/usage.html.
25
26In order to build Shadowbox on your own machine you must have the Ruby programming
27language (http://ruby-lang.org/) installed as well as the Rake build tool
28(http://rake.rubyforge.org/). Simply edit the parameters in `build.yml` to your liking
29and run the following command from the project root directory:
30
31    $ rake
32
33Note: If you want to build a compressed version of the code (which is the default), you
34will also need Java installed. You can always use the web interface on the Shadowbox website
35(http://shadowbox-js.com/download.html) to build your own version of the code if you are
36unable to do it on your own.
37
38How to Run Tests and Examples
39-----------------------------
40
41The Shadowbox test suite is written with QUnit (http://github.com/jquery/qunit). To run the
42tests, you first need to build the code using the `build:tests` Rake task.
43
44    $ rake build:tests
45
46Once you have built the code, open `tests/index.html` in your browser of choice. Likewise,
47to run any of the examples you first need to run the `build:examples` Rake task before
48opening the example HTML file in your browser.
49
50    $ rake build:examples
51
52How to Contribute
53-----------------
54
55If you would like to contribute to the project please email me your contribution/patch
56at mjijackson@gmail.com. I'm more than happy to accomodate fixes and modifications that
57make Shadowbox a better product.
58
59Bugs
60----
61
62Please report any bugs that you may find at http://github.com/mjijackson/shadowbox/issues.
63
64License
65-------
66
67The Shadowbox license is available online at http://shadowbox-js.com/LICENSE.
68
69Credits
70-------
71
72Shadowbox employs several open source libraries including Sizzle.js (http://sizzlejs.com/)
73and swfobject (http://code.google.com/p/swfobject/).
Note: See TracBrowser for help on using the repository browser.