How to use your scroll script

Posted in: Newspaper
Post count: 61

I noticed in your theme you have a script to scroll nicely to a certain page element.

How can I make use of this script? What css class do I have to use?

Thank you

Post count: 780

The script is located here: http://screencast.com/t/VzDpmkJQ0

it is not quite ready to be used with classes.

Post count: 61

Hi,

Thank you for your answer

it is not quite ready to be used with classes.

Will it work with classes in the future?

Thank you

Post count: 61

Hi,

By calling it a class I believe I am not expressing myself properly.

What I need to do is when someone clicks n a certain element in a page for it to scroll nicely to a certain element on the page.

Something like this
http://css-tricks.com/snippets/jquery/smooth-scrolling/

or

http://balupton.github.io/jquery-scrollto/

Actually wanted to know if I can use existing code in the theme to do it, or if I had to add code to the theme, and how

Thank you

Post count: 780

The existing code cannot yet do it. It has to be modified or you can use another library.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.