▼【レビューを見る】ボタンをクリックすると、画面中央にレビューがホバーウィンドウ表示されます。
新宿三丁目にある焼酎と焼き鳥が美味しいお店。店内は、ほの暗い照明で、焼酎棚がライトアップされていておしゃれ。バーカウンターがメインで焼き鳥屋さんというよりシックなバーのような雰囲気★梅酒、焼酎、地酒の品揃えが豊富で珍しいものもあったり♪料理はどれも手が込んでいてお酒に合うメニューがいっぱいあります!
<!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>How to create a stunning and smooth popup using jQuery | 設置サンプル</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/popup.js"></script> <style type="text/css"> #backgroundPopup{ display:none; position:fixed; _position:absolute; /* hack for IE6 */ width:100%; height:100%; top:0; left:0; background:#000000; border:1px solid #e7a847; z-index:1; } #popupContact{ display:none; position:fixed; _position:absolute; /* hack for IE6 */ padding:12px; width:408px; height:auto; background:#000; color:#fff; border:2px solid #e7a847; z-index:2; font-size:13px; } #popupContact h2{ margin:0 0 10px 0; padding:0; border-bottom:1px dotted #e7a847; color:#fff; text-align:left; } #popupContactClose{ display:block; position:absolute; right:6px; top:4px; color:#e7a847; font-weight:bold; line-height:2em; } #contactArea { color:#fff; font-size:11px; } .imgleft { float:left; width:100px; height:75px; margin:0 10px 0 0; padding:0; } </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.prodevtips.com/2008/09/08/image-popups-with-jquery/'>How to create a stunning and smooth popup using jQuery</a> | 設置サンプル</h1> <p>▼【レビューを見る】ボタンをクリックすると、画面中央にレビューがホバーウィンドウ表示されます。</p> <!-- CODE --> <p><img src="http://farm4.static.flickr.com/3166/3104684235_537e3463be_m.jpg" alt="高庵TOKYO"/></p> <div id="button"><input type="submit" value="レビューを見る" /></div> <div id="popupContact"> <a id="popupContactClose">[close]</a> <h2>お気に入りの飲み屋さん「高庵TOKYO」</h2> <div id="contactArea"> <p>新宿三丁目にある焼酎と焼き鳥が美味しいお店。店内は、ほの暗い照明で、焼酎棚がライトアップされていておしゃれ。バーカウンターがメインで焼き鳥屋さんというよりシックなバーのような雰囲気★梅酒、焼酎、地酒の品揃えが豊富で珍しいものもあったり♪料理はどれも手が込んでいてお酒に合うメニューがいっぱいあります!</p> <div class='cf'> <div class='imgleft'><a href="http://www.flickr.com/photos/22559849@N06/3105515562/" title="白レバー串みそ焼き@高庵 by php_javascript_room, on Flickr"><img src="http://farm4.static.flickr.com/3215/3141100545_e21269fb11_t.jpg" width="100" height="75" alt="白レバー串みそ焼き@高庵" /></a></div> <h3>白レバー串みそ焼き</h3> <p>白レバーは、ほぼレア状態で口にいれるとふわっととろけます♪味噌ダレととっても合ってます。5本くらいはぺろりといけそうwフォアグラステーキより美味しいかも!?</p> </div> <div class='cf'> <div class='imgleft'><a href="http://www.flickr.com/photos/22559849@N06/3104683957/" title="自家製さつま揚げ二種@高庵 by php_javascript_room, on Flickr"><img src="http://farm4.static.flickr.com/3033/3104683957_a8b91f3235_t.jpg" width="100" height="75" alt="自家製さつま揚げ二種@高庵" /></a></div> <h3>自家製さつま揚げ二種</h3> <p>黒いのはしいたけじゃありませんwさつま揚げです。箸で切らずに、そのまま揚げたてをぱくぱくいただくのが流儀のようです。味がしっかりついているので、このままいけます!</p> </div> <div class='cf'> <div class='imgleft'><a href="http://www.flickr.com/photos/22559849@N06/3104684027/" title="白子の雲丹のせ炙り@高庵 by php_javascript_room, on Flickr"><img src="http://farm4.static.flickr.com/3015/3104684027_a215663229_t.jpg" width="100" height="75" alt="白子の雲丹のせ炙り@高庵" /></a></div> <h3>白子の雲丹のせ炙り</h3> <p>白子にウニがたっぷりのってます★箸でつかむのがむずかしいくらい、お豆腐みたいにとろとろ!口に入れるとじゅわーっとうまみが広がります。あー幸せ!</p> </div> </div> </div> <div id="backgroundPopup"></div> <!-- / CODE --> </div> </body> </html>