Skip to content

Instantly share code, notes, and snippets.

@uhfx uhfx/up.html
Created Jul 13, 2014

What would you like to do?
<!-- 「トップへ戻る」ボタン -->
<div id="back-to-top" style="position:fixed;right:12px;bottom:12px"><a href="#"><img src="画像のURLを用意" /></a></div>
if($(this).scrollTop() > 500){
} else{
$("#back-to-top a").click(function(){
return false;
<!-- 「トップへ戻る」ボタン ここまで -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.