f

How To Add Smooth Scrolling "Back To Top" Button

Back To Top
How to add smooth scrolling back to top button for website & blogger. Animated back to top button in blogger/website is one of the best Jquery style animated widget that looking good and also visitors enjoy easy site navigation scroll to top.

The best thing about this button is that it appears only when the user scrolls down the page and disappears as he scrolls up, and also one more feature of this script you can add your own image that you like.

Scroll this page to Bottom and See Demo at bottom right

How to Add Smooth Scroll to Top with Jquery ?


1. Go To Blogger > Layout
2. Add a Gadget Choose HTML/JavaScript widget
Paste the following code inside it

JQuery Code. if you can already add jquery plugin into your website or blog then skip first code. and if you not add already then add this code with scroll to top script.
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js' type='text/javascript'></script>
Scroll to Top Code.

<script type="text/javascript">
var scrolltotop={
//Modified by bloggerknown.blogspot.com more JQuery Scroll to Top Design
//startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
//scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
controlHTML: '<img src="IMAGE LINK" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ bottom of window corner
anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
state: {isvisible:false, shouldvisible:false},
scrollup:function(){
if (!this.cssfixedsupport) //if control is positioned using JavaScript
this.$control.css({opacity:0}) //hide control immediately after clicking it
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
dest=jQuery('#'+dest).offset().top
else
dest=0
this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
},
keepfixed:function(){
var $window=jQuery(window)
var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
this.$control.css({left:controlx+'px', top:controly+'px'})
},
togglecontrol:function(){
var scrolltop=jQuery(window).scrollTop()
if (!this.cssfixedsupport)
this.keepfixed()
this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
if (this.state.shouldvisible && !this.state.isvisible){
this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
this.state.isvisible=true
}
else if (this.state.shouldvisible==false && this.state.isvisible){
this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
this.state.isvisible=false
}
},
init:function(){
jQuery(document).ready(function($){
var mainobj=scrolltotop
var iebrws=document.all
mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
 mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
.css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
.attr({title:'Scroll to Top'})
.click(function(){mainobj.scrollup(); return false})
.appendTo('body')
if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
mainobj.togglecontrol()
$('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
mainobj.scrollup()
return false
})
$(window).bind('scroll resize', function(e){
mainobj.togglecontrol()
})
})
}
}
scrolltotop.init()
</script>

Replace IMAGE LINK with the image link of your back to top button.we have collect some of back to top button you can also get here. If you want to add image link then right click the buttons below and select "Copy image location" and add this link:

Collection of Back to Top buttons.

back to topback to topback to topback to topback to topback to topback to topback to top
back to topback to topback to topback to topback to topback to topback to topback to top
back to topback to topback to topback to topback to topback to topback to topback to top

3. Save the widget and drag it near the footer or any bottom position.
4. View your blog to see the magic.

I hope this little trick work on all, if any problem then post comments for help others. share with frineds :D

How To Optimize Your Blog for Mobile view

optimize blog for mobileMake Blogger ready for Mobile Phones

In this day we can not ignore the importance of mobile internet. Because almost all of us have to use the mobile, and make easy to use internet access. And every internet provider company trying to provide best internet services like 3G's , Wifi, mobile apps,etc.

So many of your blog readers come through mobile phones. and our website is compatible for mobile phone browsers. But if you don't make the mobile friendly blog, then we have to lose a lot of mobile readers, because in a mobile phone, a normal blog takes lot of time to load and there are different problems that your website not fitting properly within the mobile screen.


Start working and make mobile friendly blog. sign in to your blog first.

Step No.1

Go to Blogger account > Template > Mobile

Blogger Templates

After click setting button a popup windows open clik "Yes. Show mobie template on mobile devices. and also choose mobile template and Save.

mobile template

Step No.2

Find this line >
<b:include data='blog' name='all-head-content'/>
And paste this code below that line...
<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/>
<b:if cond='data:blog.isMobile'>
<meta content='width=device-width, initial-scale=1.0, user-scalable=0' name='viewport'/>
<b:else/>
<meta content='width=1100' name='viewport'/>
</b:if>
Save Changes!

Now your blog ready for mobile browser with good speed. visit your blog for mobile view add ?m=1 tag in url example = http://bloggerknown.blogspot.com/?m=1

Thank you for your time for read this post i hope you like this post.

How to Make Money Online with Shortened URLs

There are many website allows services to shrink URLs. URL-shortening services allow you to make cash when you use them to shorten long URLs from various websites. you can post shortened URLs on your blog, website, Twitter, Facebook or any other social network when belong to. once your visitors click on the shortened URLs, you can generate income from every click-through. Basically short URL works as a redirection service which is able to redirect the shorter URL to the supposed web page.

How Can you Earn Cash from this URL shortening providers ?
  • Sign up with desired universal resource locator shorterner provider (List Below).
  • Copy your links and make short URLs from your account.
  • Share your short URL anyplace with your friends, social media, websites, download links.
  • Whenever somebody click those shortened links,  they will go through some short 5 to 15 seconds advertisements(for e.g. below).
  • After this he will skip the ad and look at the link that was hidden behind that short link.
  • Thats it, whenever somebody go through this advertisement once clicking, you’re paid.

Top best shorten URL website to earn money


Adf.ly is a world largest web site that allows you to shrink your URL, it's not different from alternative such websites like goo.gl, bitly.com, tinyurl.com, however difference is that they can give you a fix part of cash against and they and that they have ad twist. They're going to offer you $5 against 10,000 visitors, mean to say that if 10,000 peoples visits your shrink URL then they will give you $5.
Payout = 5$

2. Cashfly.com

We're a free web link shortening service with a twist. Every time one of your links is shared with someone else on the Internet, you get paid! It's that easy, simply register for an account then start linking. Each time someone visits one of your links - YOU GET PAID.


3. LinkBucks.com

LinkBucks allows you to make cash from the links your users post, from the links you place on your website, or from the posts you make in a forum. It is simple and easy to get started making money Today!


4. Adlock.in

Adlock is a url shortening website . Shorten your long URL to adlock.in/xxxx and start earning


5. bee4.biz

bee4.biz is a free short URL redirection service with a twist. Get paid for every link you share on the Internet. You can place links on FaceBook, Twitter, forums, and anywhere you share links!

All sites are good but i prefer adf.ly because this is more trusted and i get paid many time .

More

Search This Blog