README 2.6 KB

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