WEBINAR: Know Where You Stand: Understanding Your Digital Accessibility Position — Register
A while back a lot of people where covering how to work around the bug that IE always reloads background images from the server, leading to your UI flickering. Dean wrote one and lots of others wrote the same thing. Today, I saw this simple workaround (from a fellow Googler who worked at Microsoft before): document.execCommand("BackgroundImageCache", false, true) Much simpler but makes me wonder w
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015. * Some parts of this feature may have varying levels of support. Learn more See full compatibility The Object type represents one of JavaScript's data types. It is used to store various keyed collections and more complex entities. Objects can be created using th
var fn = function hoge () { ; };alert(hoge); // IE8 は ReferenceError にならない! #ES5
ECMAScript の 名前付き関数式 ECMAScript には「名前付き関数式」があり、変数に関数式を代入するときに名前をつけることが出来ます。 var hoge = function foo () { alert(foo); // function foo() { ... } alert(foo === hoge); // true }; ここでは "foo" という名前の関数を作りました。関数fooの内部では foo で関数オブジェクトを参照できますが、関数fooの外部では参照できません。 // 関数宣言 function piyo () { alert(piyo); } // 名前付き関数式 var hoge = function foo () { alert(foo); }; piyo(); // 実行できる hoge(); // 実行できる foo(); // Refere
IE6 SP2- の ActiveXObject 周りのメモリリーク問題はあまり知られていないような気がしたので、簡単にまとめておきます。 jQuery や prototype.js では以下の方法で回避しています。 /** * メモリリークを回避する方法 (jQuery および prototype.js 方式) */ function empty () { // この関数は何も実行せず、何も参照しない位置に置く。何も参照しない故に循環参照しなくなる。 } function get (url) { var xhr = new ActiveXObject('Msxml2.XMLHTTP.6.0'); xhr.onreadystatechange = function () { // この関数は xhr を参照可能→循環参照している if (xhr.readyState === 4) { xh
Microsoft Developer Blogs Get the latest information, insights, and news from Microsoft. AI agents are quickly moving from experiments to production‑critical components of modern applications. But while many teams know how to build agents, far fewer are confident they’re hosting them on the right foundation. Most organizations start by deploying agents the same way... We're shipping two major capa
Microsoft Developer Blogs Get the latest information, insights, and news from Microsoft. AI agents are quickly moving from experiments to production‑critical components of modern applications. But while many teams know how to build agents, far fewer are confident they’re hosting them on the right foundation. Most organizations start by deploying agents the same way... We're shipping two major capa
ieblog 2008.4.23のエントリ id:uupaaさんのtweet経由で知った記事 What Happened to Operation Aborted? IE使ってるときに出るエラーダイアログ"Operation Aborted"を解説してるエントリ これが出るとページ内容が全部破棄されるので怖い IE7以前でエラーダイアログが出る条件、IE8での対処と、開発者向けの回避方法がまとまったエントリ 「body要素内にscript要素は禁止」の論拠にもなるお話 以下斜め読んだ内容 "Operation Aborted"ダイアログが出ると 今見てるページが見れなくなる ダイアログ出る直前に表示されてなる内容は破棄される ダイアログをクリックするまでは表示される内容は破棄されないので悪あがきする人もいる IE8beta1ではこの怖い挙動はストップ "Operation Aborted"
CSSでDOM要素に対してアルファフィルターを適用させたいときは、クロスブラウザを意識すると次のような記述になると思います。 もうすこし古いMozilla系ブラウザを対象にするなら-moz-opacityの定義も追加してあげるとことになりますが、 今回はIEに絞った話のため、そのあたりは割愛します。 element { filter: alpha(opacity=0); /* IE / opacity: 0; / その他のモダンブラウザ */ } さて、普段は特に何も考えずにfilter:alpha~と記述していたのですが、 実はIEはある条件下によってまったくfilterが効かない場合があります。 ActiveXが無効 そもそもの話ですが、filterはActiveXを利用したレンダリングを行っています。 そのため、そもそもセキュリティの設定などでActiveXを無効にされていると、fi
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く