サイト: beauforgovernor.com
ページの読み込み時にファンシーボックスをトリガーしましたが (ホームページのみ)、携帯電話には表示したくありません。ただし、タブレットに表示したい.
これをコーディングする方法がわかりません。
これは私が現在使用しているJSです:
<script type="text/javascript">
$(document).ready(function() {
$("#aLink").fancybox({
'width' : '640',
'height' : 'auto',
'autoScale' : true,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
});