Hello everyone!
I have a minor question that makes me major pain.
But maybe someone of you has an answer at hand to make it work.
I've made a floating button on my moodle page to alert the students on an event. When they click on the button it should show a text page which is located in one section of the course. I've made it work so far but it will only collapse the given section. As the content I am linking to is further down within the section, the students have to scroll down to bring the content up.
Is there a way to not only link to a given section but also the given content mark?
I've tried different ways but none of them works.
The URL given is like https://xxx.xxx.com/course/view.php?id=52§ion=2.
I've tried to specify the with the data-section attribute but it doesn't work. I've also tried to use the name of the text field with an # attribute at the end but also no success.
So at the end the output by clicking the link should be, that it collapses the section and jumps or scrolls down to the content that shall be shown.
Would be great if someone has an idea!!!
