Topic: How can I create a Toggle Button which jumps to the recently opened div?
salman1793 pro asked 6 years ago
Hi,
Thank you for reading this. I am trying to create an anchor tag which acts as a toggle button. The functionality is to jump to the recently opened div, after the user clicked on the toggle button.
I am not able to comprehend the documentation (https://mdbootstrap.com/angular/advanced/collapse/) which says:
Accessibility
Be sure to add aria-expanded
to the control ....
I believe the answer is hidden in the above-mentioned paragraph. I request you to please guide me in the right direction.
Looking forward to hearing from you.
Regards,
Salman Mujtaba
salman1793 pro answered 6 years ago
Dawid Adach pro commented 6 years ago
Dear salman1793, curently multi item carousel is showin only first slide , there is an idea to customize this behaviour however now this is expected otuput. Regarding second quesion - could you please attach some code sample? My email is d.adach@mdbootstrap.comsalman1793 pro commented 6 years ago
I would appreciate it if you could please reply here. Thank you.Dawid Adach pro commented 6 years ago
Dear salman, could you please share your code as I requested before? DawidFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No
salman1793 pro commented 6 years ago
I have another question regarding the toggle button. The media queries do not seem to work when I try and display a complex section below the toggle button. Basically, I have a carousel of cards. The cards have toggle buttons. The section (details) to be toggled id to be displayed below the carousel. Below the Carousel is a Contact section. Currently, the details section is overlapping with the contacts section. It works fine if I simply display the details section (no toggle button). Example: ... Carousel cards But this acts crooked: ... Carousel cards The problem is, when I simply append theDawid Adach pro commented 6 years ago
Could you please attach some code?