Collapse Button

Permalink Browser Info Environment
Love this add on.

I've put it to use on this page:
https://www.kimdesignoregon.com/web-design-services...

Any thoughts on how to add a button inside an open panel that would close the panel? It would be very helpful for panels with lots of text. Would love to circumvent the scroll back to the top to close.

Type: Ticket
Status: In Progress
kimstone
View Replies:
jfhencken replied on at Permalink Reply
jfhencken
My first thought is that I would probably create a Button using HTML at the end of any very lengthy Content block while it is in Source Code mode and add some some JavaScript or JQuery code to mimic running the same code you should be able to find if you use your browser's Inspect option on the Close All / Toggle button.
Let me know if you are still interested in an integrated solution for this issue and I will give it more consideration. It is a very good idea as I have experienced this issue myself.
As you can see you are the only user of many who has every sent in a support ticket. I just assumed I really had created a rock solid block on the first go round. My bad.
By the way, great looking website!
-John

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
Cloneamental (0.9.3), Grand Gallery (1.1.5), Image Optimizer (3.2.8), Info Box Grid (1.9), Minify HTML (2.0.0), More Block Templates (0.9.6), Nestable Manual Nav (1.3.2), Ronyd Expanded Search Bar (2.0), WNCTG Accordion (1.0.0)

# concrete5 Overrides
blocks/1wnctg_accordion_c58/controllerOrig.php, blocks/1wnctg_accordion_c58/css/jquery-ui_wnctg_accordion_scoped.css, blocks/1wnctg_accordion_c58/css/images/ui-icons_555555_256x240.png, blocks/1wnctg_accordion_c58/css/images/ui-icons_777620_256x240.png, blocks/1wnctg_accordion_c58/css/images/ui-icons_444444_256x240.png, blocks/1wnctg_accordion_c58/css/images/ui-icons_777777_256x240.png, blocks/1wnctg_accordion_c58/css/images/ui-icons_cc0000_256x240.png, blocks/1wnctg_accordion_c58/css/images/ui-icons_ffffff_256x240.png, blocks/1wnctg_accordion_c58/css/images, blocks/1wnctg_accordion_c58/css, blocks/1wnctg_accordion_c58/baseFiles/controllerOrig.php, blocks/1wnctg_accordion_c58/baseFiles/JQUI-LICENSE.TXT, blocks/1wnctg_accordion_c58/baseFiles/INSTALL.TXT, blocks/1wnctg_accordion_c58/baseFiles/LICENSE.TXT, blocks/1wnctg_accordion_c58/baseFiles/C5-ADDON-LICENSE.TXT, blocks/1wnctg_accordion_c58/baseFiles/icon.png, blocks/1wnctg_accordion_c58/baseFiles, blocks/1wnctg_accordion_c58/form_setup_html.php, blocks/1wnctg_accordion_c58/images/AccordionHelpColorsDiagram-600x508.jpg, blocks/1wnctg_accordion_c58/images/AccordionExisitingColors-480x260.jpg, blocks/1wnctg_accordion_c58/images, blocks/1wnctg_accordion_c58/js/jquery.simulate.js, blocks/1wnctg_accordion_c58/js/jquery-ui_wnctg_accordion_scoped.js, blocks/1wnctg_accordion_c58/js, blocks/1wnctg_accordion_c58/add.php, blocks/1wnctg_accordion_c58/view.php, blocks/1wnctg_accordion_c58/db.xml, blocks/1wnctg_accordion_c58/edit.php, blocks/1wnctg_accordion_c58/icon.png, blocks/1wnctg_accordion_c58, blocks/page_title/controllerOrig.php, blocks/page_title/form_add_edit.php, blocks/page_title/add.php, blocks/page_title/templates/archive.php, blocks/page_title/templates/region.php, blocks/page_title/templates/byline.php, blocks/page_title/templates, blocks/page_title/view.php, blocks/page_title/db.xml, blocks/page_title/edit.php, blocks/page_title/icon.png, blocks/page_title, blocks/horizontal_rule/templates/center_rounded.php, blocks/horizontal_rule/templates/alt.less, blocks/horizontal_rule/templates/center_rounded_short.php, blocks/horizontal_rule/templates, blocks/horizontal_rule, blocks/whale_cta/controller.php, blocks/whale_cta/form.php, blocks/whale_cta/add.php, blocks/whale_cta/templates/pixel_image_feature_box_bordered.php, blocks/whale_cta/templates/pixel-custom-feature.php, blocks/whale_cta/templates/alt/pixel_promo_border_right.php, blocks/whale_cta/templates/alt/pixel_promo.php, blocks/whale_cta/templates/alt/pixel_image_feature_box_fancy_title.php, blocks/whale_cta/templates/alt/pixel_btn_border_thin.php, blocks/whale_cta/templates/alt/pixel_promo_full_parallax.php, blocks/whale_cta/templates/alt/pixel_promo_border_center.php, blocks/whale_cta/templates/alt/pixel_btn_simple_right.php, blocks/whale_cta/templates/alt/pixel_promo_border.php, blocks/whale_cta/templates/alt/pixel_btn_border_right.php, blocks/whale_cta/templates/alt/pixel_btn_3d_right.php, blocks/whale_cta/templates/alt/pixel_btn_full.php, blocks/whale_cta/templates/alt/pixel_promo_light.php, blocks/whale_cta/templates/alt/pixel_promo_full_light.php, blocks/whale_cta/templates/alt/pixel_btn_circle_right.php, blocks/whale_cta/templates/alt/pixel_promo_full_color.php, blocks/whale_cta/templates/alt/pixel_btn_rounded.php, blocks/whale_cta/templates/alt/pixel_btn_border_fill_effect.php, blocks/whale_cta/templates/alt/pixel_image_feature_box.php, blocks/whale_cta/templates/alt/pixel_btn_reveal.php, blocks/whale_cta/templates/alt/pixel_btn_circle.php, blocks/whale_cta/templates/alt/pixel_btn_border_thin_right.php, blocks/whale_cta/templates/alt/pixel_promo_dark.php, blocks/whale_cta/templates/alt/pixel_promo_color.php, blocks/whale_cta/templates/alt/pixel_btn_reveal_right.php, blocks/whale_cta/templates/alt/pixel_btn_3d.php, blocks/whale_cta/templates/alt/pixel_promo_full.php, blocks/whale_cta/templates/alt/pixel_btn_rounded_right.php, blocks/whale_cta/templates/alt/pixel_promo_full_dark.php, blocks/whale_cta/templates/alt/pixel_btn_border.php, blocks/whale_cta/templates/alt/pixel_btn_border_fill_effect_right.php, blocks/whale_cta/templates/alt/pixel_no_button_image_feature_box_bordered.php, blocks/whale_cta/templates/alt, blocks/whale_cta/templates, blocks/whale_cta/view.php, blocks/whale_cta/db.xml, blocks/whale_cta/edit.php, blocks/whale_cta/icon.png, blocks/whale_cta, blocks/whale_image_slider.zip, blocks/whale_cta.zip, blocks/whale_image_slider/controller.php, blocks/whale_image_slider/form_setup_html0.php, blocks/whale_image_slider/form_setup_html.php, blocks/whale_image_slider/add.php, blocks/whale_image_slider/view.php, blocks/whale_image_slider/db.xml, blocks/whale_image_slider/edit.php, blocks/whale_image_slider/icon.png, blocks/whale_image_slider

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
litespeed

# PHP Version
7.2.19

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, inotify, intl, json, libxml, litespeed, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 32M
upload_max_filesize - 32M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.