Wednesday, June 13, 2012

Adding a top of page icon link in blog


Blog တုိင္းမွာ ထည့္သြင္းထားသင့္တဲ့ Link Icon တစ္ခုလို႔ ထင္ပါတယ္။ ကိုယ့္ဘေလာ့ရဲ႕ ပို႔စ္ေတြကို reader ေတြ ဖတ္ရင္း Blog Page ရဲ႕ ေအာက္ဆံုးကို ေရာက္သြားတဲ့အခါမွာ top of the page ကို ျပန္သြားႏုိင္ဖို႔အတြက္ ရည္ရြယ္ပါတယ္။ ကၽြန္ေတာ့္ Blog ရဲ႕ bottom-right hand corner မွာ ထည့္သြင္းထားတာကို ေတြ႔ျမင္ႏုိင္ပါတယ္။ ထည့္သြင္း အသံုးျပဳပံုကေတာ့ အရမ္း လြယ္ကူပါတယ္။ Blogger မွာ sign in လုပ္၊ layout page ကိုသြားၿပီး Add a page element ကို ေရြးရပါမယ္။ Element list ထဲကေန HTML/Javascript ကိုေရြးၿပီး ေအာက္ပါ coding ကို ထည့္သြင္းေပးလိုက္ရံုပါပဲ။
<a style="display:scroll;position:fixed;bottom:5px;right:5px;" href="#" title="Back to Top">
<img src="http://farm3.static.flickr.com/2112/2424600997_f0ef13d47b_o.gif"/></a>

Source : Blogger Buster

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Review