Main

Category Archive | JavaScript

2010年01月26日

jsライブラリいくつか

"jsライブラリいくつか" more.. »

Author:  |  | (0) comments | 

2007年08月16日

windowManager.js

safariのver1.xなどjQueryが使えない=Thickboxなんかも使えないブラウザもあるので拡大画像をポップアップウィンドウで出すためなんかに制作。

-ポップアップウィンドウのセット
-クローズボタンのセット
-戻るボタンのセット
ができます。
(使い方はjsのファイル自体に書いてあります。)

download: windowManager.js

Author:  |  | (0) comments | 

2007年08月15日

Safariのバージョンナンバーとビルド番号の対応表

jQueryのsafari対応がver2+なので、BrowserDetect.jsを使ってブラウザを振り分けるためにsafariのversionナンバーを拾いたいが、navigator.userAgentで返される値はビルド番号なので、対応表が必要でした。

■Apple発表の対応表
http://developer.apple.com/internet/safari/uamatrix.html

Author:  |  | (0) comments | 

2007年05月08日

safari | history.back()

safariだと、<a href="#" onclick="window.history.back()">が効かない。<a href="javascript:window.history.back()">だと動く。走査の結果、window.historyオブジェクト自体は有るようす。

Author:  |  | (0) comments | 

2007年03月28日

prototype.js | Formオブジェクト

window.onload = function() {
	Form.disable("myForm");
	$("_checkbox").onclick = function() {
		if(this.checked == true) {
			Form.enable("myForm");
		} else {
			Form.disable("myForm");
		}
	}
}
*続きはprototype.jsとjquery.jsがコンフリクトするので追記に書く。

"prototype.js | Formオブジェクト" more.. »

Author:  |  | (0) comments | 

Recent Entry
Category Archive
Monthly Archive
About
Powered by
Movable Type 3.33-ja