Author: | Tuesday, January 26, 2010 | (0) comments | Permanent Link
safariのver1.xなどjQueryが使えない=Thickboxなんかも使えないブラウザもあるので拡大画像をポップアップウィンドウで出すためなんかに制作。
-ポップアップウィンドウのセット
-クローズボタンのセット
-戻るボタンのセット
ができます。
(使い方はjsのファイル自体に書いてあります。)
download: windowManager.js
Author: | Thursday, August 16, 2007 | (0) comments | Permanent Link
jQueryのsafari対応がver2+なので、BrowserDetect.jsを使ってブラウザを振り分けるためにsafariのversionナンバーを拾いたいが、navigator.userAgentで返される値はビルド番号なので、対応表が必要でした。
■Apple発表の対応表
http://developer.apple.com/internet/safari/uamatrix.html
Author: | Wednesday, August 15, 2007 | (0) comments | Permanent Link
safariだと、<a href="#" onclick="window.history.back()">が効かない。<a href="javascript:window.history.back()">だと動く。走査の結果、window.historyオブジェクト自体は有るようす。
Author: | Tuesday, May 8, 2007 | (0) comments | Permanent Link
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: | Wednesday, March 28, 2007 | (0) comments | Permanent Link