Test a feature Our partnership with BrowserStack now lets you test your website for compatibility across 2,000+ real browsers and devices. Test on: Did you know? Next If a feature you're looking for is not available on the site, you can vote to have it included. Better yet, if you've done the research you can even submit it yourself! You can import usage data from your Google Analytics account and
Webサイトの表示高速化対策していますか? 日本は欧米諸国に比べWebサイトの表示高速化対策をしているサイトが少ないです。 特に、最近ではスマートフォンの普及によりモバイルサイトの需要も増え、高速化をしなければいけない機会も増えてるのかなと思います。 日本のモバイルデータ通信はLTEで高速になりつつあるとは言え、まだまだ「貧弱!貧弱ゥ!」です。 幸いなことに僕も最近鶴の一声によってクライアントからサーバー周りまで包括的な高速化対策を経験する機会を得ることができました。 それまでは、「手間がかかりすぎるからできればやりたくない」というのが本音でした。職務怠慢ですね(苦笑)。 でも、できるだけ楽したい!と思うのが人の常。 この連載ではできるだけ楽をしながらできる高速化手法と計測結果を1つ1つ紹介しようと思います。 基本的にはすべて受け売りの内容です。やってみた対策を羅列して、連載の中で自分で試
Landscape トップページ | < 前の日 2002-09-30 2002-10-02 次の日 2002-10-10 > Landscape - エンジニアのメモ 2002-10-02 IE で JavaScript の有効 / 無効 を設定する 当サイト内を Google 検索できます * IE で JavaScript の有効 / 無効 を設定するこの記事の直リンクURL: Permlink | この記事が属するカテゴリ: [IE] [JavaScript] ツール(T) -> インターネットオプション(O) -> 「セキュリティ」タブ -> 「レベルのカスタマイズ」ボタン -> 「スクリプト」 の 「アクティブスクリプト」で「有効にする」を選択。
PIE makes Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features. Try the Demo This quick demo shows just a few of the CSS3 properties PIE can render. Use the controls to adjust the CSS3 applied to the box. Load this page in IE to see that it is rendered properly!
var expire_date = new Date(); // 有効期限を10日にする expire_date.setTime(expre_date.getTime() + 10*24*60*60*1000); var cookie_name = "key"; var cookie_value = "テスト"; // Cookie値のエスケープには escape/unescape 関数を用いるのが一般的だが、 // 日本語を正しく処理できない場合があるため encodeURIComponent/decodeURIComponent を使用する cookie_name = encodeURIComponent( cookie_name ); cookie_value = encodeURIComponent( cookie_value ); document.cookie = cookie
1. Cookieに値をセットする方法。 "キー文字列=値;" の形式の文字列を、document.cookieに代入します。 // "key01" というキーで "value01" という値をセットする document.cookie = "key01=value01;"; 2. Cookieに複数のキーをセットする方法。 キー数分document.cookieに代入します。 // "key01" というキーで "value01" という値をセットする document.cookie = "key01=value01;"; // "key02" というキーで "value02" という値をセットする document.cookie = "key02=value02;"; // この方法ではダメ document.cookie = "key01=value01; key02=value02
Window( Frame )の幅の取得 function getWindowWidth(){ if(window.innerWidth) return window.innerWidth; // Mozilla, Opera, NN4 if(document.documentElement && document.documentElement.clientWidth){ // 以下 IE return document.documentElement.clientWidth; } else if(document.body && document.body.clientWidth){ return document.body.clientWidth; } return 0; } Window( Frame )の高さの取得 function getWindowHeight(){ if
JavaScript でのブラウザ判定について まとまった情報がサクッとヒットしないので、まとめ UserAgent によるブラウザ判定 よくある単純な例 var userAgent = window.navigator.userAgent.toLowerCase(); if (userAgent.indexOf('opera') != -1) { return 'opera'; } else if (userAgent.indexOf('msie') != -1) { return 'ie'; } else if (userAgent.indexOf('chrome') != -1) { return 'chrome'; } else if (userAgent.indexOf('safari') != -1) { return 'safari'; } else if (userAgen
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く