-
6Replies
-
F6-Accordions, input elements within title
By Keith Savoie
Using accordions, but need to drop input elements (checkbox) within the .accordion-title. Obviously this is semantically incorrect and I would rather not use a hack. Is there another method of achieving this? Is there a way to modify accordions to use ano... (continued)
Last Reply by Adam009 about 2 years ago
-
F6-Accordions, input elements within title
by Keith Savoie on Monday, November 07, 2016 at 1:54 PM EST
You commented on
Keith Savoie's post
about 3 years
Unless someone has a better solution I was able to deal with this via jquery. You still have semantically incorrect HTML (i know BOOO, not happy with it either) but it gets the job done. Just drop the class .force-click on the input element.
$('.force-click').click(function () {
event.stopPropagation();
});
You commented on
Keith Savoie's post
about 3 years
Its pretty straight forward. I have a title that has a checkbox next to it with "Approved". I need to optionally check that box without opening the accordion. If I were to click anywhere else in that title area the accordion would open.
No Content
-
No Content
-
No Content
Unless someone has a better solution I was able to deal with this via jquery. You still have semantically incorrect HTML (i know BOOO, not happy with it either) but it gets the job done. Just drop the class .force-click on the input element.
$('.force-click').click(function () {
event.stopPropagation();
});