diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-30 17:11:32 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-30 17:29:12 +0200 |
| commit | 3e87925a35f73aa2261eb66df3ef4ca11b64eeea (patch) | |
| tree | 8a9a6da1f99b4480e07548ffaf5d5b4945603ba9 /public/javascripts/shadowbox/CHANGES | |
| parent | b97466cdfbcb5b02d4eaf38661c051d1a095838e (diff) | |
Replace Shadowbox with GLightbox, drop jQuery from public site
Vendors GLightbox 3.3.1 (MIT, dependency-free) as static files in
public/javascripts and public/stylesheets, replacing the Shadowbox
2009 vendor tree and its jQuery adapter. Public site no longer loads
jQuery at all.
- app/views/layouts/application.html.erb: swap Shadowbox script/style
includes and the public_bundle (jQuery) include for GLightbox's
CSS/JS
- app/views/content/_headline_image.html.erb: headline image is now
itself a GLightbox trigger; additional images are direct
a.glightbox links sharing a per-page data-gallery group, replacing
the hidden shadowbox_images div and its click-forwarding trigger
- public/javascripts/public.js: replace Shadowbox.init/setup and the
click-forwarding handler with a single GLightbox() init call;
remove the unused image_handler object
- Remove public/javascripts/shadowbox/ (including vendored Sizzle,
swfobject, and unused video/Flash players) and
public/stylesheets/shadowbox.css
- Remove app/assets/javascripts/public_bundle.js (jquery require)
Diffstat (limited to 'public/javascripts/shadowbox/CHANGES')
| -rw-r--r-- | public/javascripts/shadowbox/CHANGES | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/public/javascripts/shadowbox/CHANGES b/public/javascripts/shadowbox/CHANGES deleted file mode 100644 index 7d4ae6f..0000000 --- a/public/javascripts/shadowbox/CHANGES +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | Shadowbox.js Changelog | ||
| 2 | |||
| 3 | version 3.0 | ||
| 4 | |||
| 5 | - A major rewrite/reorganization of the code | ||
| 6 | - Greatly simplified setup process by eliminating all load* methods and using | ||
| 7 | options to specify language/adapter/player(s) instead | ||
| 8 | - Separated Shadowbox skin into its own class (Shadowbox.skin) that should | ||
| 9 | simplify skin customization | ||
| 10 | - Made public many methods and properties that had previously been private and | ||
| 11 | eliminated redundant accessor methods (such as getVersion, getPlugins, etc.) | ||
| 12 | - Introduced dependence on swfobject version 2 for Flash embedding. Included | ||
| 13 | support for express install | ||
| 14 | - Added flashVersion, flashVars, and flashParams options for passing options | ||
| 15 | directly to swfobject | ||
| 16 | - Added support for loading Shadowbox onDOMReady instead of waiting for | ||
| 17 | window.onload | ||
| 18 | - Added support for Internet Explorer 8 | ||
| 19 | - Added support for CSS selectors via Sizzle.js | ||
| 20 | - Switched from PHP to Ruby's rake for build/packaging system | ||
| 21 | - Introduced Shadowbox.js License version 1.0 | ||
| 22 | - Numerous other bug fixes and overall speed improvements | ||
| 23 | |||
| 24 | versions 1.0-2.0 | ||
| 25 | |||
| 26 | - Was too lazy (or too disorganized) to keep a detailed log of changes :) | ||
