Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2110

General Questions/New to Joomla! 4.x • Scrolling one page menu

$
0
0
So, I have a scrolling menu setup on my webpage. This seems to work well, however if I click through to a new page from the front page, and then try to select an option from the menu other than home (excluding contact and about), it simply scrolls down to the bottom of the current page, and does not load the front page first.

https://www.waproductions.com

The way I am scrolling is by setting a menu option as a webpage link, and then using the below as the link.

#showreel

Then, I add a custom module just before the module that shows the showreel for example. This module has the below code.

<section id="showreel" class="row"></section>

What I need to do is have the menu option load the below single article first.

index.php?option=com_content&view=article&id=285

Followed by #showreel, to get it to scroll down to the correct section.

Would anyone be able to advise? I guess this is probably not the most elegant way to do things, but it works other than not loading the home page first.

Hope that makes sense. Thank you.

Statistics: Posted by williama — Wed May 15, 2024 10:05 am



Viewing all articles
Browse latest Browse all 2110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>