PHP & JavaScript Room :: 設置サンプル

実行結果

設置サンプル

【参照】QueryLoader - preload your website in style

アボカド シーザーサラダ@アボガドダイニング Platinum Lounge アボカド刺@アボガドダイニング Platinum Lounge ベーコンとアボカドのピザ(トマトソース)@アボガドダイニング Platinum Lounge アボカドディップ@アボガドダイニング Platinum Lounge フライドポテト アボカドディップ添え@アボガドダイニング Platinum Lounge ハニートースト@アボガドダイニング Platinum Lounge

設置サンプルのソース

<!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>設置サンプル</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/queryLoader.js"></script>
      <script type="text/javascript">
         $(function(){
            QueryLoader.selectorPreload = "body";
            QueryLoader.init();
         });
      </script>
      <!-- CSS -->
      <style type="text/css">
         .QOverlay {
            background-color: #000;
            z-index: 9999;
         }
         .QLoader {
            background-color: #ccc;
            height: 1px;
         }
         body {
            margin:0; padding:0;
         }
         #wrap {
            margin:20px;
         }
         #demo a {
            display:block;
            width:650px; height:490px;
            text-align:center;
            margin:10px;
         }
          #demo img {
            border: 1px solid #999;
            margin:0; padding:5px;
            width:640px; height:480px;
         }
      </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 &amp; JavaScript Room</a> :: 設置サンプル</h1>
<h3 class='h'>実行結果</h3>
      <div id="wrap">
         <h1>設置サンプル</h1>
         <p>【参照】<a href='http://www.gayadesign.com/diy/queryloader-preload-your-website-in-style/'>QueryLoader - preload your website in style</a></p>
<!-- CODE -->
<div id="demo">
   <a href="http://www.flickr.com/photos/22559849@N06/3274514408/"><img src="http://farm4.static.flickr.com/3514/3274514408_49f9e56d5c_o.jpg" alt="アボカド シーザーサラダ@アボガドダイニング Platinum Lounge" /></a>
   <a href="http://www.flickr.com/photos/22559849@N06/3273696567/"><img src="http://farm4.static.flickr.com/3509/3273696567_de3437ced9_o.jpg" alt="アボカド刺@アボガドダイニング Platinum Lounge" /></a>
   <a href="http://www.flickr.com/photos/22559849@N06/3273696469/"><img src="http://farm4.static.flickr.com/3427/3273696469_a85934303c_o.jpg" alt="ベーコンとアボカドのピザ(トマトソース)@アボガドダイニング Platinum Lounge" /></a> 
   <a href="http://www.flickr.com/photos/22559849@N06/3274514302/"><img src="http://farm4.static.flickr.com/3396/3274514302_450a830d47_o.jpg" alt="アボカドディップ@アボガドダイニング Platinum Lounge" /></a>
   <a href="http://www.flickr.com/photos/22559849@N06/3273696401/"><img src="http://farm4.static.flickr.com/3324/3273696401_338429848f_o.jpg" alt="フライドポテト アボカドディップ添え@アボガドダイニング Platinum Lounge" /></a>
   <a href="http://www.flickr.com/photos/22559849@N06/3273696493/"><img src="http://farm4.static.flickr.com/3316/3273696493_d2e819c7f5_o.jpg" alt="ハニートースト@アボガドダイニング Platinum Lounge" /></a>
</div>
<!-- / CODE -->
      </div>
   </body>
</html>