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

実行結果

Content is comming here as you probably can see.Content is comming here as you probably can see.

Balloon tooltip - dhtmlgoodies.com | 設置サンプル

▼リンクにマウスオーバーするとツールチップが表示されます。

Ajax

Ajax(アジャックス、エイジャックス)は、ユーザーインターフェース構築技術の総称。XMLHttpRequest(HTTP通信を行うためのJavaScript組み込みクラス)による非同期通信を利用し、通信結果に応じてDHTMLで動的にページの一部を書き換えるというアプローチを取る。

AjaxはAsynchronous (アシンクロナス/エイシンクロナス、非同期) JavaScript + XML の略で、2005年2月18日にJesse James Garrettにより名付けられた。

Ajax From Wikipedia

設置サンプルのソース

<!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>Balloon tooltip | 設置サンプル</title>
      <link rel="stylesheet" type="text/css" href="/content/lib/global.css" />
      <link rel="stylesheet" type="text/css" href="/content/lib/balloon_tooltip/css/bubble-tooltip.css" media="screen" />
      <script type="text/javascript" src="/content/lib/balloon_tooltip/js/bubble-tooltip.js"></script>
      <style type="text/css">
         /* over-write */
         #bubble_tooltip { width:200px; }
         #bubble_tooltip strong { font-size:1.2em; color:#0075d9; }
      </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="bubble_tooltip">
         <div class="bubble_top"><span></span></div>
         <div class="bubble_middle"><span id="bubble_tooltip_content">Content is comming here as you probably can see.Content is comming here as you probably can see.</span></div>
         <div class="bubble_bottom"></div>
      </div>
      <h1><a href="http://www.dhtmlgoodies.com/index.html?whichScript=bubble_tooltip">Balloon tooltip - dhtmlgoodies.com</a> | 設置サンプル</h1>
      <p>▼リンクにマウスオーバーするとツールチップが表示されます。</p>
      <blockquote cite="http://ja.wikipedia.org/wiki/Ajax">
         <dl>
            <dt>Ajax</dt>
               <dd>
                  <p>Ajax(アジャックス、エイジャックス)は、<a href="#" onmouseover="showToolTip(event,'<strong>ユーザーインターフェース<\/strong><br \/>機械、特にコンピュータとその機械の利用者(通常は人間)の間での情報をやりとりするためのインタフェース。');return false" onmouseout="hideToolTip()">ユーザーインターフェース</a>構築技術の総称。<a href="#" onmouseover="showToolTip(event,'<strong>XMLHttpRequest<\/strong><br \/>JavaScriptなどのウェブブラウザ搭載のスクリプト言語で、サーバとのHTTP通信を行うための組み込みオブジェクト(API)。');return false" onmouseout="hideToolTip()">XMLHttpRequest</a>(HTTP通信を行うためのJavaScript組み込みクラス)による非同期通信を利用し、通信結果に応じて<a href="#" onmouseover="showToolTip(event,'<strong>DHTML<\/strong><br \/>DHTML(Dynamic HTML)は静的なHTMLの内容をCSSとJavaScript等のクライアントサイドスクリプト言語を用いて動的に変更するウェブ技術を指す抽象概念。');return false" onmouseout="hideToolTip()">DHTML</a>で動的にページの一部を書き換えるというアプローチを取る。</p>
                  <p>AjaxはAsynchronous (アシンクロナス/エイシンクロナス、非同期) JavaScript + XML の略で、2005年2月18日にJesse James Garrettにより名付けられた。</p>
                  <cite><a href="http://ja.wikipedia.org/wiki/Ajax" onmouseover="showToolTip(event,'<strong>Ajax From Wikipedia<\/strong><br \/>http://ja.wikipedia.org/wiki/Ajax');return false" onmouseout="hideToolTip()">Ajax From Wikipedia</a></cite>
               </dd>
         </dl>
      </blockquote>
   </body>
</html>