代替スタイルシートを使用し、iOS4を使用してiPadsで検索したWebサイトがあります。しかし、これは、iPadのiOS5を実行して呼び出されていません。私はまた、サイトhttp://css-tricks.com/examples/AlternateStyleSheets/がiOS4を実行している私のiPadでうまく動作するが、これはおそらくブラウザの問題であることを示すiOS5を実行している私のiPad上ではうまく動作しないことが判明しましたか?代替のスタイルシートが動作しないiOS5
私のサイトには、次のスニペットアラートが呼ばれて、両方のケースで
<link rel="alternate stylesheet" id="smallScr" title="smallScr" type="text/css" href="/style/smallscreen.style.css" />
<link rel="alternate stylesheet" id="microScr" title="microScr" type="text/css" href="/style/microscreen.style.css" />
.
.
var varDevice = 'iPad';
alert('detected small (ipad) screen device = ' + screen.width + ' x ' + screen.height);
setActiveStyleSheet('smallScr');
を持っていますが、私の代わりのシートは、iPadで動作してiOS5を上適用されません。
は、誰もがこの問題に遭遇し、解決策を持っている持ってい
おかげ
はロブ