前≪ 2009/11/27(金) 22:22 ≫次 documents.getElementsByNameという便利そうな機能で、いくつかのdivタグに同じname属性を付けといて、一斉に表示・非表示を切り替えるようにしてやろうと思ったが、これはうまく動かない場合がある。というかChromeでは意図通りに動くのに、IEでは意図通りに動かない。 スクリプト function flip(name) { var a = document.getElementsByName(name); for (var i = 0; i < a.length; ++i) { var e = a[i]; if (e.style.display == "none") { e.style.display = "block"; continue; } e.style.display = "none"; } } HTML
本連載では,DOM(Document Object Model)を使ったJavaScriptの新しいコーディング手法について紹介していきます。 近年,AJAXの台頭をきっかけに,JavaScriptを使ったブラウザのリッチ・クライアント化が進んできました。これまでは,サーバー側のプログラムでページを書き換えることで,ブラウザの表示に変化を与えてきました。しかし,現在では,ページの表示を変化させるだけであれば,ほとんどのことはJavaScriptのみで対処することが可能です。それを実現するのがDOMなのです。 ブラウザのリッチ・クライアント化により,JavaScriptに求められる要求は,複雑さを増すばかりです。本連載では,DOMの基礎を学び,DOMならではのコーディング手法について紹介していきます。 まず,第1回ではDOMとは何なのか,そしてDOMで何ができるのかを解説していきます。 DO
Below you can find the complete documentation for prettyPhoto. If you are having problems with prettyPhoto and need support, please come and ask your questions in our forums. If you got here by mistake, don’t leave! The main prettyPhoto page can be found here. If you we’re not looking for prettySociable, well too bad, but you can still read my blog here. Script needed First include the jQuery libr
Welcome to jQuery for Designers Learn how easy it is to apply web interaction using jQuery Search Search for Featured Simple use of Event Delegation Posted on 14th June 2011 — Event delegation may be some techie term that you’d rather shy away from, but if you’ve not already used it, this example will show you a simple but powerful use of event delegation. View Tutorial 16 Comments Tutorials – It’
IE6でCSSのposition fixedが使用できない。 firefox, opera, safari, choromeなどのクロスメディアなブラウザ (というよりはクロスブラウザなhtml、か)で表示を同一にしたいが 色々なサイトに書かれてい内容が面倒で 困っていたのだが、一番導入しやすいと思われる解決方法が見つかった。 ここで公開されているfixed.jsを、公開するhtmlと同じディレクトリに置く (絶対passでもおk) HEAD内に以下の記述を追加 <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript">google.load("jquery", "1.2");</script> <script type="text/ja
Make a note of it: Web tech, montaineering, and so on. Note: この記事は、3年以上前に書かれています。Webの進化は速い!情報の正確性は自己責任で判断してください。 タブ・メニュー作ってみました。使いまわしを考慮してパッケージ化に挑戦。JavaScriptを切っているときは、ページ内リンクとなります。 HTML <ul id="tab"> <li class="present"><a href="#page1">Page_1</a></li> <li><a href="#page2">Page_2</a></li> <li><a href="#page3">Page_3</a></li> <li><a href="#page4">Page_4</a></li> <li><a href="#page5">Page_5</a></li
SORRY! If you are the owner of this website, please contact your hosting provider: webmaster@onehackoranother.com It is possible you have reached this page because: The IP address for this domain may have changed recently. Check your DNS settings to verify that the domain is set up correctly. It may take 8-24 hours for DNS changes to propagate. It may be possible to restore access to this site by
アニメーションするドロップダウンメニュー作成JS「Sliding JavaScript Dropdown Menu」 2008年04月30日- Sliding JavaScript Dropdown Menu - Web Development Blog This lightweight drop down menu script (~1.8kb) allows you to easily add smooth transitioning dropdowns to your website. This can be used for navigation, dropdown lists, info panels, etc.アニメーションするドロップダウンメニュー作成JS「Sliding JavaScript Dropdown Menu」 デモページはこちら メニューの中身は単なるul li
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く