Clive Portman: code

Detecting iPods, iPads and iPhones using Javascript

if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
    $(“p#iphone”).css({‘display: block’});
}