Hello folks!!
My Blog contain Phonegap,CMS related posts. Here I am posting the issues solution that I faced while development and its difficult to find proper solution on other sites. I hope my post will help you with your issues. Developer rocks.
Monday, May 25, 2015
Top 5 Tutorial for Angularjs with PhoneGap
Thursday, February 12, 2015
Smooth Scroll Using jQuery
Smooth Scroll Using jQuery Code:
$(function() {
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});
Labels:
click,
dynamic,
element type,
function,
html,
javascript,
jQuery,
link,
location,
position,
tricks,
web
Subscribe to:
Posts (Atom)