reveal
reveal copied to clipboard
Ajax content loading (jQuery version)
I Added ajax content loading functionality to the jquery reveal plugin. I also cleaned up a lot of the code and the indentation.
List of squashed commits:
- Updated local jquery
- Added ajax content loading for jquery
- Abstraction!
- Lightboxen ought to be above everything
- Fixed a flickering bug on fade out
- Added "complete" events
- Added option to toggle close on escape key event
- Name change: reveal-path -> reveal-url
- Added ajax loader gif
- Option for escape key
- Improved indentation; fully fleshed out ajax loading with a loader and a custom "complete" event
- Added a slight visual effect to the ajax loading process
Personally, I would prefer that Reveal assume that attaching to an a[href] will load the referenced link, assuming it is not an #id anchor. Fancybox is the best example (imo) for how defaults should be determined based on the element that activates the modal.