▼li要素全体をリンク対象にして、クリックしやすくしています。
Windows OS に PHPとApacheサーバーのインストール ~ php.iniの設定まで、 パソコンでPHPを使えるようになるまでの手順を図解。 .htaccessの指定方法、使用頻度の高いPHP関数をサンプル付きで解説。 Tipsでは実用的な自作関数を紹介。
Windows Media Player、RealPlayer、QuickTime、FlashPlayerのWebページ埋め込みによるストリーム配信方法を図・サンプルスクリプト付で解説。 表示するコントロールのカスタマイズ方法やメタファイル作成も。
JavaScriptの基本~実用的な関数までサンプル付きで解説。 ロールオーバー、ウィンドウ操作、連動プルダウン、入力チェック(正規表現含む)など、 サイト制作に使える実用的なスクリプトを紹介。コピペで使えます。 JavaScriptでDOM(Document Object Model)のメソッド・プロパティを使ってページ上のノードにアクセスするサンプルも追加しました。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="ja" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <title>jquery.biggerlink 2 | 設置サンプル</title> <link rel="stylesheet" type="text/css" href="/content/lib/global.css" /> <!-- JS --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="/content/lib/jquery/jquery.biggerlink.js"></script> <script type="text/javascript"> $(function(){ $('#links li').biggerlink(); }); </script> <!-- CSS --> <style type="text/css"> .bl-hot { border:solid 1px #ccc; zoom:1; /* Should be IE only */ background-color:#fff; } .bl-hover { border-color:#aaf; cursor:pointer; background-color:#cdF; } .bl-hover a:link { color:#CC3333; } .bl-hover a:visited { color:#CC3333; } #links { float:left; width:100%; clear:both; margin:0; padding:0; margin-bottom:2em; } #links li.bl-hot { width:30%; float:left; padding:0 1%; margin:0; margin-right:-1px; display:inline; text-indent:0; list-style-type:none; min-height:14em; } #links li:before { content:''; } #links h3 { margin:.5em 0; font-size:1.4em; } </style> <link rel="stylesheet" type="text/css" href="/common/css/example.css"></head> <body id='example3' class='example'><div class="ads" style="margin:32px auto;text-align:center;"></div><h1 class='h'><a href='/'>PHP & JavaScript Room</a> :: 設置サンプル</h1> <h3 class='h'>実行結果</h3> <div id="wrap"> <h1><a href='http://www.ollicle.com/eg/jquery/biggerlink2/'>jquery.biggerlink 2</a> | 設置サンプル</h1> <p>▼li要素全体をリンク対象にして、クリックしやすくしています。</p> <!-- CODE --> <ul id="links"> <li> <h3><a href="http://phpjavascriptroom.com/?t=php">PHP</a></h3> <p>Windows OS に PHPとApacheサーバーのインストール ~ php.iniの設定まで、 パソコンでPHPを使えるようになるまでの手順を図解。 .htaccessの指定方法、使用頻度の高いPHP関数をサンプル付きで解説。 Tipsでは実用的な自作関数を紹介。</p> </li> <li> <h3><a href="http://phpjavascriptroom.com/?t=strm">音声・動画配信</a></h3> <p>Windows Media Player、RealPlayer、QuickTime、FlashPlayerのWebページ埋め込みによるストリーム配信方法を図・サンプルスクリプト付で解説。 表示するコントロールのカスタマイズ方法やメタファイル作成も。</p></li> <li> <h3><a href="http://phpjavascriptroom.com/?t=js">JavaScript</a></h3> <p>JavaScriptの基本~実用的な関数までサンプル付きで解説。 ロールオーバー、ウィンドウ操作、連動プルダウン、入力チェック(正規表現含む)など、 サイト制作に使える実用的なスクリプトを紹介。コピペで使えます。 JavaScriptでDOM(Document Object Model)のメソッド・プロパティを使ってページ上のノードにアクセスするサンプルも追加しました。</p> </li> </ul> <!-- / CODE --> </div> </body> </html>