/ Published in: JavaScript
                    
                                        
Determines if splash screen is iPad or iPhone.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
(function () {
var filename = navigator.platform === 'iPad' ?
'splash-big.png' : 'splash.png';
document.write(
'<link rel="apple-touch-startup-image" ' +
'href="img/' + filename + '" />' );
})();
Comments
 Subscribe to comments
                    Subscribe to comments
                
                