<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


ピックアップ記事

zencart サイトタイトル・サイトキーワードの変更

2010年06月29日 過去Blog
SEO対策のためには、サイトのタイトルやキーワードを設定することになると思いますが、zencartで構築されたサイトのタイトルやキーワードを変更するには、includes/languages/japanese/meta_tag.php を編集します。 ■サイトのタイトルを変更 「TITLE」、「SITE_TAGLINE」を変更する。 ■キーワードを変更 「CUSTOM_KEYWORDS」を変更…
「zencart サイトタイトル・サイトキーワードの変更」をはてなブックマークに追加

supplied argument is not a valid MySQL result resource

2009年11月27日 過去Blog
supplied argument is not a valid MySQL result resource 直前に記述したSQLクエリに問題があるということ。 たとえば、存在しないフィールドを指定していたり・・・。 私の場合は、なぜか全角スペースが入っていて気付かないままでした・・・。(_ _。)・・・シュン atlanta life insurance…
「supplied argument is not a valid MySQL result resource」をはてなブックマークに追加

xcodeでメモリリークを簡単に調べる方法

2011年03月03日 過去Blog
以下のサイトにあるようなことが出来るらしい。 http://www.lastday.jp/2011/03/01/memory-leak-xcod やったことないので、今度やってみようと思います。
「xcodeでメモリリークを簡単に調べる方法」をはてなブックマークに追加

Xcode 4 移行ガイド

2011年03月22日 過去Blog
http://sazameki.jp/translations/xcode4/IDEs/Conceptual/Xcode4TransitionGuide/ atlanta insurance how to loose weight…
「Xcode 4 移行ガイド」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy