<script type=”text/javascript”> <!– if(navigator.userAgent.indexOf(“MSIE”) > -1){ //Internet Explorer document.write(‘<!-‘+’-[if IE]>’); document.write(‘<input type=”button” value=”お気に入りに追加“‘); document.write(‘ onclick=”window.external.AddFavorite(‘サイトURL‘,’サイト名‘)”>’); document.write(‘<![endif]-‘+’->’); } else if(navigator.userAgent.indexOf(“Firefox”) > -1){ //Firefox document.write(‘<input type=”button” value=”ブックマークに追加“‘); document.write(‘ onclick=”window.sidebar.addPanel(‘サイト名‘,’サイトURL‘,”);”>’); } else if(navigator.userAgent.indexOf(“Opera”) > -1){ //Opera document.write(‘<a href=”サイトURL” rel=”sidebar” title=”サイト名“>ブックマークに追加</a>’); } else { //該当なし void(0); //何もしない } //–> </script>

この投稿へのコメント

コメントはまだありません。

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます。
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA


ピックアップ記事

iPhoneのバックアップ/復元

2011年01月13日 過去Blog
iPhone 上のデータをバックアップ&復元する方法です。 バックアップ iTunesにつなぎます。 iTunes 上に表示されたiPhoneを右クリック(または「control」キーを押しながらクリック)して、「バックアップ」を選択します。 これでバックアップ完了です。とても簡単ですね。 …
「iPhoneのバックアップ/復元」をはてなブックマークに追加

PHP での SimpleXML 処理>>RSS取得

2009年12月05日 過去Blog
phpでrssの情報を抜き出したい場合は、titleやlinkの要素は以下の通りで抜き出せます。 <?php // Load and parse the XML document $rss = simplexml_load_file('http://partners.userland.com/nytRss/nytHomepage.xml'); $title = $rss->channel->title; ?> …
「PHP での SimpleXML 処理>>RSS取得」をはてなブックマークに追加

デジカメのメモリやUSBメモリのデータを誤って削除、フォーマットしてしまった場合の復元方法

2010年10月07日 過去Blog
以下のフリーソフトで復元できました。 http://www.powerdatarecovery.com/ 日本の有料の物も試してみましたが、上記の無料のソフトのほうが精度が高かったです。 anabolic pharma - your personal online pharmacy store…
「デジカメのメモリやUSBメモリのデータを誤って削除、フォーマットしてしまった場合の復元方法」をはてなブックマークに追加

htmlファイルでphpを動かすための.htaccessファイルの設定

2009年11月20日 過去Blog
htmlファイルでphpを動かすための.htaccessファイルの設定 .htaccessファイル内に以下の行を記述します。 AddType application/x-httpd-php .htm .html 当然の前提条件として、htaccessの動作が許可されているサーバに限ります。…
「htmlファイルでphpを動かすための.htaccessファイルの設定」をはてなブックマークに追加

お名前.com VPS サーバでphp アップデート

2011年04月25日 過去Blog
まず、ファイアーウォールからSSHを許可 http://guide.onamae-server.com/vps/3/31/81/124/ ステム設定 > セキュリティー > アップデートからアップデートなし(上級者向け)に変更。これでyumコマンドが使えるようになる。 サーバ管理画面上から システム設定>ユーザ>一般アカウント で一般ユーザのアカウントを作成。 Macのターミナ…
「お名前.com VPS サーバでphp アップデート」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy