2006年12月19日のブックマーク (7件)

  • IE6で最小幅を実現する

    CSSでボックスの最小幅を指定するには通常min-widthを使いますが、IE6はこれに対応していません。 そこで、IE6で擬似的にmin-widthを実現する方法としてボーダーとネガティブマージンを使うものが知られています。 Lucky bag::blog: IE で min-width を指定する方法 外側のボックスのボーダーで最小幅を確保しておいて、 その上に内側のボックスをネガティブマージンで重ねる。 これだけならHTMLCSSは次のようにシンプルで済みます。 <div> <p>ここは可変幅だけど最小幅をもつ</p> </div> div { border-right:400px solid #fff; } p { margin-right:-400px; } 実際、Firefoxはこれだけでうまくいきます。 ところが肝心のIE6はなぜかボーダー部分まで可変になってしまいます。

    nanto_vi
    nanto_vi 2006/12/19
    min-widthのエミュレーション。内側のボックスをつっかえ棒として使い、外側のボックスに高さを指定。
  • ウノウラボ Unoh Labs: JavascriptライブラリをJSANへアップする手順

    komagataです。 最近、色々なソースを読んでJavascriptの勉強をしているんですが、その中で比較的ソースが短く、シンプルなものが多いのでJSANのライブラリを参考にさせてもらっています。出来てから1年以上経ってるのにイマイチ使われていないような気がしますが、勉強ついでに以前作ったpprompt.jsというライブラリをJSAN用に変更してアップしてみました。 jsan logo posted from フォト蔵 そもそもJSANとはJavaScript Archive Networkの略で、要はTeXのCTAN、PerlのCPAN、PHPのPEARみたいなライブラリをアップしたりできるところだそうです。(アップに際して厳密な投票プロセスなどは無いのでPEARとは少し違うかもしれません) JSANライブラリの使い方は長くなるので下記等を参照していただいて、早速アップするモジュール作

    nanto_vi
    nanto_vi 2006/12/19
    PerlのModule::Build::JSANを使ってJavaScriptライブラリをJSANに登録。
  • Adobe - デベロッパーセンター : 外部APIを使用したFlashとJavaScriptの接続 ExternalInterfaceクラス

    Jeong-Heon Kim Adobe 目次 はじめに Flash Player 8のセキュリティ変更 Flash 8以前の接続メソッド ExternalInterfaceクラス ExternalInterface.call() ExternalInterface.addCallback() 印刷用に表示 作成日:2006年6月12日 ユーザレベル:中級 Flashアプリケーションで何らかの機能を使おうとすると、HTMLページ内のJavaScriptのような、Flash Playerの外部にあるコードに接続しなければならないことがよくあります。このような場合、接続を行うにはActionScriptからJavaScriptを呼び出したり、あるいはその逆を行うといったことが必要です。 Flash Player 7以前のバージョンではActionScriptとJavaSc

    nanto_vi
    nanto_vi 2006/12/19
    FlashとJavaScriptの連携、ExternalInterface。
  • Microsoft XML Team's WebLog

    Out of the Angle Brackets Xslt 1.0 biggest issues (kind of) solved Xslt 1.0 has a number of issues that can make the life of an Xml developer frustrating. A lot of... Author: XmlTeam Date: 10/09/2011 The world has moved on, have you? Xml APIs you should avoid using. There is a few Xml APIs you should not be using. In some cases the complier makes this obvious – the... Author: XmlTeam Date: 10/08/2

    Microsoft XML Team's WebLog
    nanto_vi
    nanto_vi 2006/12/19
    MSXML使用時の注意点。バージョンなしのProgIDはMSXML3を指す。MSXML4、5はWeb上では使わない。
  • XML パーサーのバージョンの一覧

    この記事では、製品またはソフトウェアの更新プログラムによって使用可能またはインストールされるMicrosoft XML Core Services (MSXML) のバージョンについて説明します。 元の製品バージョン: XML Core Services 元の KB 番号: 269238 概要 この記事では、MSXML または XML パーサーのバージョン番号を示します。 MSXML のさまざまなバージョンは、Windows、インターネット エクスプローラー、Office、SQL Serverなど、さまざまな製品に含まれています。 MSXML は、さまざまな製品のソフトウェア更新プログラムをインストールするときにも更新されます。 概要 Microsoft には、いくつかの異なる XML パーサーが用意されています。 MSXML パーサーは、Msxml.dll ファイル、Msxml2.dll

    XML パーサーのバージョンの一覧
    nanto_vi
    nanto_vi 2006/12/19
    各アプリケーションが含むMSXMLのバージョンなど。
  • Running applications - Archive of obsolete content | MDN

    Add-ons using the techniques described in this document are considered a legacy technology in Firefox. Don't use these techniques to develop new add-ons. Use WebExtensions instead. If you maintain an add-on which uses the techniques described here, consider migrating it to use WebExtensions. Starting from Firefox 53, no new legacy add-ons will be accepted on addons.mozilla.org (AMO) for desktop Fi

    Running applications - Archive of obsolete content | MDN
    nanto_vi
    nanto_vi 2006/12/19
    外部アプリケーションの実行、nsIProcess。
  • 鳥獣保護区 | OpenApplicationWithURI()

    Firefox 2 から OpenApplicationWithURI() というメソッドが追加されている。 /** * Opens an application with a specific URI to load. * @param application * The application file (or bundle directory, on OS X) * @param uri * The uri to be loaded by the application */ void openApplicationWithURI(in nsILocalFile aApplication, in ACString aURI); [mozilla1.8/browser/components/shell/public/nsIShellService.idl] 名前の通り、このメソッドで他

    nanto_vi
    nanto_vi 2006/12/19
    外部アプリケーションにURIを渡すAPI。Gecko 1.8.1から。