Profile
Achievement
leobetosouza's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
jQuery
Create a dynamic \"Link to top of page\" with fade and positioned at some pixels of bottom when scrolls to this position
Changes 340px with the page footer height.
CSS:
#top_link{
position:fixed;
bottom:20px;
right:50%;
margin-right:-600px;
overflow:hidden;
text-indent:-9999px;
background:url(../img/top.png) no-repeat 0 0;
display:block;
width:5...
1
1220
posted 13 years ago by leobetosouza