End of Support for Joomla 3 - Forum closed
how to avoid scrolling after clicking menu item?
how to avoid scrolling after clicking menu item? was created by renerene
Posted 7 years 2 months ago #18124
Hello,
With 'stick menu = on' the top menu follows the user, as he scrolls down the site. Me like.
However, after a menu item gets selected, the main site scroll to the top. This can be confusing because of the large images of the Headerbar: the user has to scroll down, to see the requested item.
Question: how to freeze the scroll movement, after clicking a menu?
I have studied the 'Smooth scroll option' but not much success there:
a) can not scroll to #breadcrumps ?
b) can not combine the scroll option with switching to an article?
With 'stick menu = on' the top menu follows the user, as he scrolls down the site. Me like.
However, after a menu item gets selected, the main site scroll to the top. This can be confusing because of the large images of the Headerbar: the user has to scroll down, to see the requested item.
Question: how to freeze the scroll movement, after clicking a menu?
I have studied the 'Smooth scroll option' but not much success there:
a) can not scroll to #breadcrumps ?
b) can not combine the scroll option with switching to an article?
Last Edit:7 years 2 months ago
by renerene
Last edit: 7 years 2 months ago by renerene.
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic how to avoid scrolling after clicking menu item?
Posted 7 years 2 months ago #18125
Hi there,
if you click on a menu item on th sticky menu, then Joomla is loading a new site! Sorry thats Joomla!
a.) You cant scroll to breadcrumbs, because the breadcrumbs have not DIV ID
b.) You can scroll to an article if you add an anchor to the article source like this:
if you click on a menu item on th sticky menu, then Joomla is loading a new site! Sorry thats Joomla!
a.) You cant scroll to breadcrumbs, because the breadcrumbs have not DIV ID
b.) You can scroll to an article if you add an anchor to the article source like this:
<div id="article_001"></div>
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
Last Edit:7 years 2 months ago
by joomlaplates
Last edit: 7 years 2 months ago by joomlaplates.
The following user(s) said Thank You: renerene
Please Log in or Create an account to join the conversation.
Replied by renerene on topic how to avoid scrolling after clicking menu item?
Posted 7 years 2 months ago #18127
thank you for the advice to place an ancher in an article.
Still not there, let me tell you a bit more.
(I'm quite a beginner with Joomla. Excuse me if this is just basic stuff)
What I'm trying to do is scroll to an Image Gallery. I assume the Gallery will be some kind of module, that I have to install. For now, I'm working with RokSprocket Module, but think I will search for alternatives, that shows images from a folder (not having to manually add an item for each picture). I will figure that out later.
Secondly, allthough at the moment I'm having troubles with only showing the image gallery if the specific menu item is selected, I think I will work this out.
Thirdly, back to the scrolling issue: In case of using the anchor in a dummy article as suggested, my menu action needs to do two things: make the article visible at the breadcrumps section and b) scroll to it. However: there is only one menu command possible (show single article OR link to external URL).
Or, can I place the dummy article with the anchor code permanent in the Breadcrumps section?
Still not there, let me tell you a bit more.
(I'm quite a beginner with Joomla. Excuse me if this is just basic stuff)
What I'm trying to do is scroll to an Image Gallery. I assume the Gallery will be some kind of module, that I have to install. For now, I'm working with RokSprocket Module, but think I will search for alternatives, that shows images from a folder (not having to manually add an item for each picture). I will figure that out later.
Secondly, allthough at the moment I'm having troubles with only showing the image gallery if the specific menu item is selected, I think I will work this out.
Thirdly, back to the scrolling issue: In case of using the anchor in a dummy article as suggested, my menu action needs to do two things: make the article visible at the breadcrumps section and b) scroll to it. However: there is only one menu command possible (show single article OR link to external URL).
Or, can I place the dummy article with the anchor code permanent in the Breadcrumps section?
Last Edit:7 years 2 months ago
by renerene
Last edit: 7 years 2 months ago by renerene.
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic how to avoid scrolling after clicking menu item?
Posted 7 years 2 months ago #18128
Hi there,
if you want to have a great gallery, shows thumbs from a folder I would take a look at the plugin below:
extensions.joomla.org/extension/ppgallery/
You cant scroll to the breadcrumbs, but you can scroll to the main content with this link "#main"
if you want to have a great gallery, shows thumbs from a folder I would take a look at the plugin below:
extensions.joomla.org/extension/ppgallery/
You cant scroll to the breadcrumbs, but you can scroll to the main content with this link "#main"
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Replied by renerene on topic how to avoid scrolling after clicking menu item?
Posted 7 years 2 months ago #18215
thank you, I've got PPgallety working and it looks good: Just one disadvantage: it is bad suited for mobile device, because a) no swiping to next image, b) zoom level too high, after clicking on an image and c) 'back' leads to upper home menu, instead of going back to gallery.
Can you advise an alternative gallery module?
Maybe also one that can show all videos of a youtube account?
Can you advise an alternative gallery module?
Maybe also one that can show all videos of a youtube account?
Last Edit:7 years 2 months ago
by renerene
Last edit: 7 years 2 months ago by renerene.
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic how to avoid scrolling after clicking menu item?
Posted 7 years 2 months ago #18218
Best gallery, but nor for free is the widgetkit 1
yootheme.com/widgetkit/documentation
yootheme.com/widgetkit/documentation
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates