Is it possible to have the Tabbed Content also close when the cmp-flex-tabs__content label is clicked upon? I'd like to be able to include a + (plus) to indicate "open" and a - (minus) to indicate close.
Announcement
Collapse
No announcement yet.
Tabbed Content - Mobile view open and close
Collapse
X
-
Tabbed Content - Mobile view open and close
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Tags: None
-
Hi Leslie,
Try changing the input type from radio to checkbox.Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
-
Originally posted by Matt Zimmermann View PostHi Leslie,
Try changing the input type from radio to checkbox.
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Originally posted by lesliekirk View Post
Thanks Matt - that was fun. When it's a checkbox, it does open and close when clicked. But it gets very wonky in desktop view. Two tabs can remain open or both tabs can be closed. I'll play around with it some to see if I can use the checkbox only for smaller screens. Or is there a better way to control the click?
Any other suggestions?Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
HI Leslie,
Colossus uses similar functionality, but not the same. If you are using a checkbox it would be possible to multiple selections, which is why a radio is typically used. If you want to allow for multiple selections on mobile, but not on desktop, then you will have to come up with some JavaScript to control the opening and closing based on screen size.Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
-
Originally posted by Matt Zimmermann View PostHI Leslie,
Colossus uses similar functionality, but not the same. If you are using a checkbox it would be possible to multiple selections, which is why a radio is typically used. If you want to allow for multiple selections on mobile, but not on desktop, then you will have to come up with some JavaScript to control the opening and closing based on screen size.
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
Comment