Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories

how to use JavaScript to force a HTML page scroll to the top in all mobile browsers?

Sure, just animate the scrollTop property of body and html (or whatever element you have that is scrollable).

$("html, body").animate({scrollTop:

It is necessary to select both body and html for cross-browser support.

Categories : Javascript

Related to : how to use JavaScript to force a HTML page scroll to the top in all mobile browsers?
Force web browsers to recognize updated graphics across site
You could add a query string with an incremental number, ie. href="style.css?ver1.123" Have a look at

Categories : HTML
MP3 Playback 503 Error using Chromium-based browsers on mobile
This problem probably had to do with some server settings I am unaware of, as moving the file to another server (our staging server) allowed it to be played without any problems. I do not understand why, but by making the audio file longer than 5 seconds allowed it to be played back on the Android Chrome browser from the original server. Hope this helps somebody! It sure is strange!

Categories : Android
Which mobile browsers support "connectionless push" as described in the EventSource specification?
I reached out to Ian Hickson (author of the eventsource rfc). He's given me permission to repost his answer here: "I haven't heard of any implementations. That section was added by request from some network-associated handset vendors a few years ago. Since then, the landscape has changed quite a bit and networks and handset vendors don't work as closely together."

Categories : Misc
kendo ui mobile listview endless scroll displaying only one item
The listview widget is not compatbile with style:inset in endlessScroll mode thanks to kendo. Enabling endless scrolling or press to load more options triggers the virtual mode of the ListView. Currently, certain features (grouped mode and inset styling) are not supported in virtual mode.

Categories : Javascript
Force Zoom-Level/DPI-Scale with CSS, Header-Tag or JavaScript
There doesn't seem to be a code fix for this, but it can be fixed by changing your browser settings. See links below: Stop Firefox DPI Scaling (when Windows setting is at 125%)

Categories : CSS
Recently Add
How to add items to sharepoint list from a html document?
Copying App Package Folder To Isolated Storage For Windows Store App
javascript save file from (sinatra's) streaming response
Use routeParams to create templateUrl in AngularJS
resize image using javascript
How to add and remove div's (input)
Onsen UI sliding menu
BxSlider is working but there is a blank space inside div
on button click delete from datatable and also from array
Jquery changing table th tag is not working properly
Get file height width before uploading using Javascript /
Break out of Bootstrap modal dialog if unauthenticated
Listener for click on ANY element and read particular HTML-5 custom attribute when present?
What is the best way to use this in prototype method
Get Latitue and Longitude of the center in google map when draged
Jquery multidimensional Json parse
Not able to format date
How to force y position of one branch in d3 sankey plugin?
radio button doesn't come up from JS file
Calling PHP webservice method from Javascript/jQuery
Responsive menu - parent menu with link
'click' event firing multiple times, no solutions working
How to create Cordova Blackberry (Hybrid) application
Javascript date picker multiple select
How to do the marker management in google map
JQuery/Ajax Unexpected Identifier error
AngularJS Promise error catching
Populate form from child object
Jquery popup with scrollbar and column alignment
OpenLayers3 control panel
© Copyright 2017 Publishing Limited. All rights reserved.