How can I create a Toggle Button which jumps to the recently opened div?
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:
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.
Could you please attach some code?
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:
But this acts crooked:
The problem is, when I simply append the
Thank you for your reply. I found out that the carousel display just displays the first card of every set of cards. In that case, I might not need the toggle button at all.
This brings up another question though, can the carousel show all the cards on a smaller device?
I have, yet another question. I am using the parallax intro, and I have an author box below it. Without the full-height class in html, the author box lines up perfectly beneath the intro. But, with class=”full-height” the author box, in smaller devices, overlaps with the intro. There is something which needs to be changed in the media queries I guess. I don’t know what though, ’cause the sample code of parallax intro website works fine on a mobile.
Another problem that I am facing related to the above scenario is that my intro page’s background image is not working on iPhone (Safari, Chrome) for some reason. It might be a problem in Safari idk. But, when I view it on an Android device, it looks good enough. Please have a look: http://salmanmujtaba.s3-website-us-east-1.amazonaws.com
Please share your email so that I can share the code with you. Thanks.
Dear salman, could you please share your code as I requested before? Dawid
I would appreciate it if you could please reply here. Thank you.
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 firstname.lastname@example.org
Please login or Register to submit your answer