<?xml version="1.0" encoding="UTF-8" ?> 
<Module>
  <ModulePrefs title="Gadget ทดลองครับ" height="310" scrolling="false" > 
    <Require feature="tabs" /> 
  </ModulePrefs>
  <Content type="html">
  <![CDATA[ 

    <script type="text/javascript">
    // Initialize tabs, designate the tab named "ผม" as
    // the tab selected by default.
    var tabs = new _IG_Tabs(__MODULE_ID__, "ผม");
    function init() {
        // Technique #1: Capture the tab's ID when you create it, and use the ID 
        // to add content to the tab's corresponding <div>.        
        var one_Id = tabs.addTab("พบ");       
        _gel(one_Id).innerHTML = "กับการเรียนรู้ที่น่าสนใจ<br>หากคุณสนใจเรื่องทำเว็บ<br>คอยพบกับผมนะครับ<br>เร็วๆนี้";

        // Technique #2: Create the tab and define a corresponding <div> in the
        // HTML portion of the gadget. Add static content to the <div>.        
        tabs.addTab("ผม", "two_id");

        // Technique #3: Create the tab and define a corresponding <div> in the
        // HTML portion of the gadget. Add static content to the <div>.
        // Use a callback function to add dynamic content to the static content.
        tabs.addTab("ที่นี่", "three_id", callback);

        // Technique #4: Create the tab with a tooltip message. If specified <div>
        // doesn't exist, tabs library creates one.   
        // Invoke callback function.        
        tabs.addTab("เร็วๆนี้", {            
           contentContainer: _gel("four_id"),
           callback: callback,            
           tooltip: "I'm special"          
        });
    }

    // Callback that provides content to tabs Three and Four
    function callback(tabId) {
      var p = document.createElement("p");
      // Get selected tab
      var selectedTab = tabs.getSelectedTab();
      p.innerHTML = "พื้นที่โฆษณา ";
      _gel(tabId).appendChild(p);
    }

    // Call init function to initialize and display tabs.
    _IG_RegisterOnloadHandler(init);
    </script>

   <div id="two_id" style="display:none"><DIV style="TEXT-ALIGN: center"><DIV style="DISPLAY: block; MARGIN-LEFT: auto; MARGIN-RIGHT: auto; ZOOM: 1; TEXT-ALIGN: center"><A href="http://sites.google.com/site/thaibankor/glov-structure/public-health-div/surapoll.jpg?attredirects=0" imageanchor="1"><IMG src="http://sites.google.com/site/thaibankor/glov-structure/public-health-div/surapoll.jpg" border=0></A></DIV></DIV><DIV style="TEXT-ALIGN: center"><STRONG><FONT size=3>นายสุรพล&nbsp; แก้วตา</FONT></STRONG></DIV><DIV style="TEXT-ALIGN: center"><STRONG><FONT size=1>หัวหน้ากองสาธารณสุขและสิ่งแวดล้อม</FONT></STRONG></DIV><DIV style="TEXT-ALIGN: center">
<a href="http://www.google.com/addurl" target="_blank">
<img src="http://gmodules.com/ig/images/plus_google.gif" border="0" alt="Add to Google"></a>
</DIV></div>
   <div id="three_id" style="display:none">ดูตัวอย่างเว็บต่อไปนี้<br><p><a href="http://sites.google.com/site/thaibankor/" target="_blank">ทต.บ้านค้อ</a> <br /><a href="http://sites.google.com/site/thaimoviesonline/" target="_blank">เว็บดูหนัง</a> <br /><a href="http://sites.google.com/site/bookinghotelthailand/" target="_blank">เว็บเช่าโรงแรม</a> <br /> <a href="http://twitter.com/videotube" target="_blank">ทวิตเตอร์</a> <br /> ฺ<a href="http://www.mybloglog.com/buzz/members/surapollk/" target="_blank">บล็อกเกอร์</a> <br />(คลิกไปชมก่อนเลย)</p><br></div>
  ]]>
  </Content>
</Module>











