<!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>ColorBox | 設置サンプル</title>
<link rel="stylesheet" type="text/css" href="/content/lib/global.css" />
<!-- JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="/content/lib/jquery/colorbox/jquery.colorbox.js"></script>
<script type="text/javascript">
$(function(){
$.fn.colorbox.settings.bgOpacity = "0.5";
$(".cpModal").colorbox();
$("#ajax").colorbox({contentWidth:"400px", contentHeight:"200px"});
$("#flash").colorbox({contentAjax:"/content/demo/flash.html"});
$("#google").colorbox({contentWidth:"750px", contentHeight:"450px", contentIframe:true});
$("#inline").colorbox({contentWidth:"500px", contentInline:"#inline-content"});
});
</script>
<!-- CSS -->
<link type="text/css" media="screen" rel="stylesheet" href="/content/lib/jquery/colorbox/colorbox.css" />
<link type="text/css" media="screen" rel="stylesheet" href="/content/lib/jquery/colorbox/example2/colorbox-custom.css" />
<!--[if IE]>
<link type="text/css" media="screen" rel="stylesheet" href="/content/lib/jquery/colorbox/example2/colorbox-custom-ie.css" title="example" />
<![endif]-->
<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://colorpowered.com/colorbox/'>ColorBox</a> | 設置サンプル</h1>
<!-- CODE -->
<ul>
<li><a class="cpModal" href="http://farm4.static.flickr.com/3514/3274514408_1800118ded.jpg" title="アボガド シーザーサラダ">1枚の画像をポップアップ</a></li>
<li><a class="cpModal" href="http://farm4.static.flickr.com/3514/3274514408_1800118ded.jpg" rel="platinum_lounge" title="アボガド シーザーサラダ">複数枚の画像をグループ化してギャラリー表示</a></li>
<li><a class="cpModal" href="http://farm4.static.flickr.com/3509/3273696567_ebf4ed4381.jpg" rel="platinum_lounge" title="アボガド刺">複数枚の画像をグループ化してギャラリー表示</a></li>
<li><a class="cpModal" href="http://farm4.static.flickr.com/3427/3273696469_aa2aaf5e89.jpg" rel="platinum_lounge" title="アボガドとベーコンのピザ">複数枚の画像をグループ化してギャラリー表示</a></li>
<li><a id="ajax" href="/content/demo/ajax.html">外部ファイルをAjaxで取得して表示</a></li>
<li><a id="inline" href="#">ページ内のコンテンツをインライン表示</a></li>
<li><a id="flash" href="http://www.youtube.com/watch?v=rfqNXADl3kU" title="THE LEGEND of Hamster on a piano and pop corn! 5 MILLION VIEWS! THANKYOU ALL!">Flashムービーや動画を埋め込み</a></li>
<li><a id="google" href="http://www.google.com">指定したURLのページをインラインフレーム内に表示</a></li>
</ul>
<!-- This contains the hidden content for inline calls -->
<div style="display:none">
<div id="inline-content">
<div class="cf" style="padding:10px">
<div style="float:left;width:240px; margin-right:10px;"><a href="http://www.flickr.com/photos/22559849@N06/3273696493/" title="ハニートースト@アボガドダイニング Platinum Lounge by php_javascript_room, on Flickr"><img src="http://farm4.static.flickr.com/3316/3273696493_570fdd0ee5_m.jpg" width="240" height="180" alt="ハニートースト@アボガドダイニング Platinum Lounge" /></a></div>
<h3>ハニートースト@アボガドダイニング Platinum Lounge</h3>
<p>アボカドたっぷしのってますが、れっきとしたデザートです。ハニートーストの上にバニラアイスが乗っていて、その上にアボガドがぱらぱらと。アボカドっぽくなくて、どちらかといえば栗のような味がしました!</p>
</div>
</div>
</div>
<!-- / CODE -->
</div>
</body>
</html>