Body and footer content need to scroll and only header need to fix

34 views
Skip to first unread message

amar A

unread,
Apr 3, 2014, 1:53:05 PM4/3/14
to isc...@googlegroups.com

Hi,


I am using below iscroll5 functionality, but in my case i don't want footer as fixed(body content and footer need to scroll), can you please help on this what chages i need to do. Thanks

http://lab.cubiq.org/iscroll5/demos/zoom/

Below is the js code

var myScroll;

function loaded () {
	myScroll = new IScroll('#wrapper', {
		zoom: true,
		scrollX: true,
		scrollY: true,
		mouseWheel: true,
		wheelAction: 'zoom'
	});
}
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);


Regards

Amarnath

Reply all
Reply to author
Forward
0 new messages