View Full Version : smooth scroll with javascript or without

06-25-2012, 01:27 AM
I want a fancy scrolling to work even when javascript is not enabled in your browser. javascript. http://gravitysign.com/fancyscroll/horizontal#/ (http://gravitysign.com/fancyscroll/horizontal#/)
Removing slash / in the HTML code works without javascript but not with javascript.


window.onload = function(){
var fs=new fancyScroll({easingFunc: 'easeOutCubic',
easingTime: 1000,
deepLinking: true,
scrollMode: 'horizontal',
goTopText: 'Return'});


<a href="#/sale">Sale</a>
<a href="#/discount">Discount</a>
<a href="#/new">New</a>
<a href="#/contact">Contact us</a>

An example of one that works with & without javascript but not something I want to use: tympanus.net/Tutorials/WebsiteScrolling/ (http://tympanus.net/Tutorials/WebsiteScrolling/)

Philip M
06-25-2012, 08:45 AM
Use the <noscript> tag to provide an alternate content for users that have disabled scripts in their browser or have a browser that doesn’t support client-side scripting.

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum