website/www/conservancy
Bradley M. Kuhn 2ba369aa5c Supporter: js: fade out “Expand All” anchor when all sections expand
The expandable sections can be expanded either one-by-one, or with
the “Expand All” button.  Add a counter for each expandable
section (which requires their div's to have 'id' attributes, lest
they be counted in the '__global' section of expandables).

The __global counter will work as advertised if you have no 'id'
attributes on any of your 'expandable-section'-classed div's, but if
you mix a __global without an id with ones that *do* have an id, it's
likely this particular code won't work for that.

Finally, add some documentation which is probably over-documenting
for someone who knows Javascript and jQuery well, but it took me a
while to figure out this code so I felt throwing some notes in there
might be helpful.
2020-11-26 09:21:44 -08:00
..
apps Correct & update hard-coded domain names from legacy codebase. 2020-01-24 09:26:59 -08:00
static Supporter: js: fade out “Expand All” anchor when all sections expand 2020-11-26 09:21:44 -08:00
templates Supporter: js: fade out “Expand All” anchor when all sections expand 2020-11-26 09:21:44 -08:00
__init__.py Migrate RequestContext users to render() calls. 2017-11-07 09:00:48 -05:00
bsoup.py Blogs/news only include a single OG image/video. 2018-09-21 10:57:14 -04:00
feeds.py Migrate RequestContext users to render() calls. 2017-11-07 09:00:48 -05:00
frontpage.py contractpatch: Add page. 2016-11-28 15:23:58 -05:00
local_context_processors.py supporter: Kick off 2020 fundraiser. RT#12984 2020-11-24 08:54:02 -05:00
manage.py Added middleware and management file 2010-09-26 19:03:53 -04:00
middleware.py First pass at migration to Django 1.7 2015-03-03 18:40:18 +00:00
settings.py settings: Allow localhost in debug mode. 2017-11-07 09:00:48 -05:00
sponsors.py Migrate RequestContext users to render() calls. 2017-11-07 09:00:48 -05:00
urls.py urls: Stop capturing unintended argument. 2018-09-03 10:48:11 -04:00