Smooth scroll for SD3 - Post ID 283881

User 2806889 Photo


Registered User
64 posts

Thanks for the help with this and examples. I'll have to go back and figure out where I went off course. I appreciate this greatly!
User 379556 Photo


Registered User
1,535 posts

Wayan Jaya wrote:
So what's wrong with adding the attribute "data-smooth-scroll" (value = ID of target element)

It's probably worth mentioning that, as far as I can see, one needs to be using the Foundation framework for this attribute to be available in SD V3.

Frank
User 2699991 Photo


Registered User
4,806 posts
Online Now

Frank Cook wrote:
Wayan Jaya wrote:
So what's wrong with adding the attribute "data-smooth-scroll" (value = ID of target element)

It's probably worth mentioning that, as far as I can see, one needs to be using the Foundation framework for this attribute to be available in SD V3.

Frank


Yep thats correct
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://alphathemes.coffeecup.com/forms … an%281%29/
User 122279 Photo


Senior Advisor
14,457 posts

Here is one that works in Bootstrap. I bet a pound to a penny that it will work in Vanilla too. Same kind of file as in the Foundation example above, just a bit of jquery added instead of the attribute.
Attachments:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 379556 Photo


Registered User
1,535 posts

Inger wrote:
Here is one that works in Bootstrap. I bet a pound to a penny that it will work in Vanilla too.

I have copied the script, and built similar containers and buttons in Vanilla, and can confirm that it does indeed work in the CoffeeCup Vanilla framework.

Frank
User 122279 Photo


Senior Advisor
14,457 posts

Good to know! :)
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.