-
AuthorPosts
-
December 8, 2015 at 11:52 pm #549320
Hi!
I notice that there is a difference in scroll speed when using a link for in page jumps (i.e. /page/#section) when using a developer id in a color section vs using a div in a code block (or a html anchor tag works the same way).
When using the color section I get a nice slow scroll to the section. When I use a div in a code block or anchor tag the page jumps immediately to the section.
I am unable to use a color section on my page, is there a another way to achieve the slow scroll?
Thanks!
KeithDecember 13, 2015 at 2:47 pm #551663Hi Keith!
I am unable to use a color section on my page
Why are you not able to use a section in your Page? also, what kind of html anchor tag are you trying to use in a Code Block?
Cheers!
JosueDecember 14, 2015 at 8:53 pm #552590Hi Josue,
Sorry if that wasn’t clear, we can add color sections but in this instance, we are scrolling to sections inside a grid row We’ve tried a simple HTML anchor tag and also using a code block with:
<div id="my-anchor"></div>both work for scroll but the the scroll speed is instant. If you anchor using a color section, the scroll speed is slower an more pleasant. :)
Thanks for your help!
December 14, 2015 at 9:26 pm #552600Hey!
Can we please take a look of your web site?
Can you provide us a link, please?Best regards,
BasilisDecember 14, 2015 at 9:43 pm #552617It’s in development and password protected, see private content.
December 15, 2015 at 1:45 am #552701Hey!
I see you’re using:
<a name="development"></a>Try the following instead: in each Heading element wrap the content with a span with its respective id attached to it, so instead of:
Leadership DevelopmentPut:
<span id="development">Leadership Development</span>Cheers!
JosueDecember 16, 2015 at 12:47 am #553352Works perfectly! I didn’t know that I could add a span to the Heading element. Thanks Josue.
December 16, 2015 at 11:54 pm #554074Yes, most ALB element accept HTML tags so you can extend their functionality :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.
