Skip to content

ivanvanderbyl/facebox_prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Facebox (for PrototypeJS), a port of the JQuery version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published