I am using AmazingSlider and tried to add it to my design but it doesnt work can anyone help me i add all css and java still not working i tried it at dreamweaver it is working but in here not :/
and i like to ask about one more think too how i can create 1 page website that slide to topic when you click About Us button and website slides to there.
-- please note: you add the class page-scroll to any nav element you wish to use, but you could also change the $('a.page-scroll') page to capture any class or id on your page.
2) for smoothscroll i use https://github.com/cferdinandi/smooth-scroll
so all you need is to just link to https://cdnjs.cloudflare.com/ajax/libs/smooth-scroll/10.1.0/js/smooth-scroll.min.js ,add to you user.js the initialization (in this example i also initialize AOS - animate on scroll):
/* this part to init AOS and smoothScroll functions */
$(function() { /* this is the jQuery equivalent of documents.ready */
AOS.init({
disable: 'mobile'
});
smoothScroll.init();
});
and you've done. Now you can simply add "data-scroll" to your internal #link. To do that you have to add a class with name "data-scroll" and no value in the Attribute pane.