Welcome, Guest
Username: Password: Remember me

TOPIC: how to avoid scrolling after clicking menu item?

how to avoid scrolling after clicking menu item? 2 years 1 month ago #1

  • renerene
  • renerene's Avatar
  • Offline
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?
The administrator has disabled public write access.

how to avoid scrolling after clicking menu item? 2 years 1 month ago #2

  • joomlaplates
  • joomlaplates's Avatar
  • Offline
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:
<div id="article_001"></div>
The administrator has disabled public write access.
The following user(s) said Thank You: renerene

how to avoid scrolling after clicking menu item? 2 years 1 month ago #3

  • renerene
  • renerene's Avatar
  • Offline
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?
The administrator has disabled public write access.

how to avoid scrolling after clicking menu item? 2 years 1 month ago #4

  • joomlaplates
  • joomlaplates's Avatar
  • Offline
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"
The administrator has disabled public write access.

how to avoid scrolling after clicking menu item? 2 years 1 month ago #5

  • renerene
  • renerene's Avatar
  • Offline
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?
The administrator has disabled public write access.

how to avoid scrolling after clicking menu item? 2 years 1 month ago #6

  • joomlaplates
  • joomlaplates's Avatar
  • Offline
Best gallery, but nor for free is the widgetkit 1
yootheme.com/widgetkit/documentation
The administrator has disabled public write access.
Moderators: joomlaplates

Einzelnes Theme ( Download 1 Template)

Das sog. "Einzelne Theme" ist für alle Kunden geeignet die lediglich ein (1) Template benötigen, egal ob kommerziell oder privat genutzt. Sie dürfen das erworbene Template auf einer Joomla Installation produktiv nutzen.


Mitgliedschaft ( Download alle Templates)

Während ihrer Mitgliedschaft ist es ihnen erlaubt alle Templates herunter zu laden und unseren Bestimmungen entsprechend zu nutzen. Nach Ablauf der Mitgliedschaft dürfen sie natürlich alle bereits in Nutzung befindlichen Templates weiter einsetzen. Sie haben jedoch nach Ende ihrer Mitgliedschaft keinen Zugriff mehr auf den Download Bereich und keinen Zugriff mehr auf Updates.

Die Zahlung ist einmalig und ihr Membership läuft automatisch aus, sofern sie es nicht erneuern.

Unsere Mitgliedschaften bieten wir ausschließlich über JoomlaPlates.com an.

Jetzt kaufen