Facebox With Prototype

October 14th, 2008 by

After many failed attempts of trying to find a modal window that worked like facebox and used prototype, I gave up and started to write one from scratch. In the process I found the first port made by Phil Burrows. It wasn’t perfect but it was enough for me to build off of so with a few tweaks I was able to allow window resizing and let the box center itself. You can view the changes on my github.

Screenshot:

My Version of Facebox in our timetracker application

My Version of Facebox in our timetracker application

3 Responses to “Facebox With Prototype”

  1. [...] after a little digging, I came across this re-write by Scott Davis. Beautifully coded, simple, and runs off the Prototype library. Just what I was [...]

  2. bob says:

    It doesn’t work mate. Why add it if you don’t test it first?

    Or maybe add some instructions so people can use it.

    Sorry, but this is typical of the web – you think “great – some guy has come accross the same issue” then find it’s not been done right and just wastes everyones time.

    Test, doccument and the text again please please please.

Leave a Reply

Scott is a 23-year-old Web Developer working at SmartLogic Solutions in Baltimore, Maryland. Languages: Ruby, C, PHP, ColdFusion, ActionScript, Flex

Scott Davis's posts