Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Commit

Permalink
Removed the redundant JS
Browse files Browse the repository at this point in the history
  • Loading branch information
wisanup committed Jan 4, 2012
1 parent 593fe17 commit 901131c
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -142,32 +142,5 @@
})();

</script>
<script>
/* jQuery.noConflict() for using the plugin along with other libraries.
You can remove it if you won't use other libraries (e.g. prototype, scriptaculous etc.) or
if you include jQuery before other libraries in yourdocument's head tag.
[more info: http://docs.jquery.com/Using_jQuery_with_Other_Libraries] */
jQuery.noConflict();
/* calling thumbnailScroller function with options as parameters */
(function($){
window.onload=function(){
$("#tS1").thumbnailScroller({
scrollerType:"hoverAccelerate",
scrollerOrientation:"horizontal",
scrollSpeed:2,
scrollEasing:"easeOutCirc",
scrollEasingAmount:600,
acceleration:4,
scrollSpeed:800,
noScrollCenterSpace:10,
autoScrolling:0,
autoScrollingSpeed:2000,
autoScrollingEasing:"easeInOutQuad",
autoScrollingDelay:500
});
}
})(jQuery);
</script>
<%= javascript_include_tag "jquery.thumbnailScroller" %>
</body>
</html>

0 comments on commit 901131c

Please sign in to comment.