public
Description: facebox in prototype
Homepage: http://www.goonquest.com/blog/
Clone URL: git://github.com/jetviper21/prototype-facebox.git
commit  31bc13ac97e57d4a856b40ba9e2c5f8125140736
tree    54d7fc15286abb9ef94db80287d586cf49deed16
parent  02a0b2e2e72f5817e4ccf15daa52918a52ef2105
name age message
file README Loading commit data...
directory examples/
file facebox.css
file facebox.js
directory images/
README
1. include the facebox.js and facebox.css
2. move the images folder to www.you-domain/images
3. new features:
  * can resize the window and the lightbox will always stay centered.
  * light box automaticly figures out where center is.
4. to use:
URL: <a href="http://url" rel='facebox'>MyLink</a>
Image: <a href="/images/myimage.png" rel='facebox'>MyImage</a>
Content on the page: <a href="#mydiv" rel="facebox">Mydiv</a>


an example rails_helper

def facebox_link(name, url)
  link_to(name, url, :rel => "facebox")
end