ViewPager animation fade in/out instead of slide

This should work better for the fade in/out transform: public void transformPage(View view, float position) { view.setTranslationX(view.getWidth() * -position); if(position <= -1.0F || position >= 1.0F) { view.setAlpha(0.0F); } else if( position == 0.0F ) { view.setAlpha(1.0F); } else { // position is between -1.0F & 0.0F OR 0.0F & 1.0F view.setAlpha(1.0F – Math.abs(position)); } … Read more

How to scroll up or down the page to an anchor using jQuery?

Description You can do this using jQuery.offset() and jQuery.animate(). Check out the jsFiddle Demonstration. Sample function scrollToAnchor(aid){ var aTag = $(“a[name=””+ aid +””]”); $(‘html,body’).animate({scrollTop: aTag.offset().top},’slow’); } scrollToAnchor(‘id3’); More Information jsFiddle Demonstration jQuery.offset() jQuery.animate()

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)