top of page

Html Tutorials

How to get an image in a corner of your blog?

 

1.) <img style='position: fixed; right: 0; bottom: 0;'src='imageurl'>

 

2.) paste this under <body> 

 

3.) change 'imageurl' to desired image url

 

4.)u  can also change the size and height etc.

 

 

How to add a 'back to top' ?

1.) Copy these codes:

 

#scrollToTop:link, #scrollToTop:visited {   display: none;   position: fixed;   top: 20px;   right: 20px; }

 

2.) and add below”css” codes file just </style>

 

3.) copy these codes:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript" src="http://static.tumblr.com/ikeq9mi/DfYl6o46t/scrolltotop.min.js"></script> <a href="javascript:;" id="scrollToTop" rel="nofollow" title="Go to Top"><img src="image" title="Go to Top" alt="Go to Top"/></a>

 

4.) and paste JavaScript code </head> code.

 

5.) change 'image' to desired image url

Infinite/Endless scrolling

 

Put the code before <head> and </head>

<script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code" ></script>

 

  • If it doesn’t work, retype the quotes.

bottom of page