Skip to content

Commit 50c6d54

Browse files
author
Karl Swedberg
committed
refactored the plugin.
1 parent 173dee5 commit 50c6d54

File tree

5 files changed

+6196
-102
lines changed

5 files changed

+6196
-102
lines changed

demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
width: 200px;
1010
}
1111
</style>
12-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
12+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>
1313
<script src="../jquery.smooth-scroll.js" type="text/javascript"></script>
1414
<script type="text/javascript">
1515
$(document).ready(function() {
16-
$('li a').smoothScroll({offset: -125});
16+
$('li a').smoothScroll();
1717
});
1818

1919
</script>

demo/jquery-1.3.2.js

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)