Share Coding

Tutorials, Problems, Stuffs …

Tag Archives: scroll

jQuery scroll to top not working

var $container = $('html, body, .divProductList');	

        scrollTop : 0
    }, 300);
    return false;

The magic is in the $container selector. Put your list, html, body into the target.

Programmatically disable Scroll function on Android WebView

WebView WebView1 = (WebView) findViewById(;

//Only hide the scrollbar, not disables the scrolling:

//Only disabled the horizontal scrolling:

//To disabled the horizontal and vertical scrolling:
webview.setOnTouchListener(new View.OnTouchListener() {
	public boolean onTouch(View v, MotionEvent event) {
		return (event.getAction() == MotionEvent.ACTION_MOVE);