Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Facebox (for PrototypeJS), a port of the JQuery version.
JavaScript
branch: master

This branch is 1 commit ahead of ivanvanderbyl:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
images/facebox
javascripts
stylesheets
README.textile
ajax.html
test.html

README.textile

Facebox for Prototype

Based on Facebox by Chris Wanstrath

Why another modal window?

Because we needed one which worked with Rails and Prototype.

Its super simple to use:

  1. Just copy the following files to their respective places
    images/facebook
    javascripts/facebook.js
    stylesheets/facebook.css
  1. Include the facebook.css into your template
  2. Include the facebook.js into your template
  3. Any links you want to load in a Facebox, just add the rel=“facebox” attribute.

Features (Coming soon)

  • Rails helpers
    * Ability to load images and existing content into window
    * Better event handling

Copyright © 2009 Ivan Vanderbyl.

Something went wrong with that request. Please try again.