reveal icon indicating copy to clipboard operation
reveal copied to clipboard

Ajax content loading (jQuery version)

Open GooseRockDesign opened this issue 14 years ago • 1 comments

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

GooseRockDesign avatar Nov 01 '11 18:11 GooseRockDesign

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.

shadowhand avatar Jan 18 '12 23:01 shadowhand