Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onDeviceReady() {
- if (parseFloat(window.device.version) >= 7.0) {
- document.body.style.marginTop = "20px";
- // OR do whatever layout you need here, to expand a navigation bar etc
- }
- navigator.splashscreen.hide();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement