|
|
|
ทำอย่างไร ค่ะ ที่เวลาเรากดคลิกไปหน้าอื่น แล้วให้ scall bar อยู่ข้างล่างสุด |
|
|
|
|
|
|
|
ทำแล้วไม่ได้เหมือนเดิมค่ะ scall bar ยังเลื่อนขึ้นข้างบนเหมือนเดิม
เอาไปใส่ไว้บรรดทัด 141 357 ดูให้หน่อยนะค่ะว่าถูกที่หรือเปล่า
Code (PHP)
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#menu1 {
float: center;
width: 550px;
}
#menu1 ul {
margin: 0px;
padding: 0px 0px 0px 15px;
list-style: none;
}
#menu1 li {
float: left;
}
#menu1 a {
display: block;
float: left;
height: 25px;
padding: 13px 30px 0px 30px;
text-decoration: none;
text-transform: uppercase;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: #0C0C0C;
}
#menu1 a:hover, #menu1 .current_page_item a {
background: #00F;
text-decoration: none;
color: #FFF;
}
#menu1 .current_page_item a {
color: #FFFFFF;
}
.body {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #2E5783;
border-color: #003;
}
body{font-size:13px;
font-family:font-family: Verdana, Geneva, sans-serif;
}
#menu {
float: left;
padding-top: 2px;
height: 20px;
}
#menu ul {
margin: 0;
padding: 0;
list-style: none;
}
#menu ul li {
padding: 0;
margin: 0;
display: inline;
}
#menu ul li a {
float: left;
display: block;
height: 35px;
width: 125px;
margin: 0;
padding: 8px 0 0 0;
text-align: center;
font-size: 12px;
text-decoration: none;
color: #FFF;
font-weight: bold;
outline: none;
}
#menu li a:hover, #menu li .current {
color: #333333;
background: url(pic/menu_hover.png) no-repeat top;
}
.data333 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #003366;
}
.data333 a{
color:#03C;
}
.data33 a{
color:#FFF;
}
.data33 a:hover{
color:#FFF;
}
#data1 {
font-size: 24px;
}
.data2 {
color: #F00;
font-size: 18px;
font-family: Verdana, Geneva, sans-serif;
background-color: #FF9;
}
.data3 {
font-size: 22px;
color: #00F;
font-family: Verdana, Geneva, sans-serif;
background-color: #FF9;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #F00;
}
a:active {
text-decoration: none;
}
</style>
</head>
<body Onload="window.location='#pointer'">
<table width="980" border="0" align="center" cellspacing="0">
<tr>
<td height="1387"><table width="980" border="0">
<tr>
<td><img src="pic/healh.jpg" width="980" height="200" /></td>
</tr>
</table>
<table width="980" border="0" align="center" cellspacing="0" bgcolor="#3D74AD">
<tr>
<td height="47" align="left" bgcolor="#023287"><div id="menu">
<ul>
<li><a class="current" href="project.php">หน้าแรก</a></li>
<li><a href="ShowActivity.php">กิจกรรม</a></li>
<li><a href="ShowNews.php">ข่าว รพ.สต</a></li>
<li><a href="#">บุคลากร</a></li>
<li><a href="#">เอกสาร</a></li>
</ul>
</div>
<table width="255" border="0" align="right">
<tr>
<td width="249" height="39" align="center"><form id="cse" name="cse" method="get" action="http://www.google.com/cse">
<table width="32" height="32" border="0" align="left" background="pic/google.png">
<tr>
<td width="26"> </td>
</tr>
</table>
<input type="text" name="q" id="textfield" />
<input type="submit" name="sa" id="sa" value="ค้นหา" />
</form></td>
</tr>
</table></td>
</tr>
</table>
<table width="980" border="0" align="center" bgcolor="#FFFFFF">
<tr>
<td width="197" height="487" valign="top"><table width="190" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="184"><img src="pic/t_login.gif" alt="" width="187" height="63" /></td>
</tr>
<tr>
<td><table width="177" height="188" border="0" align="center" cellspacing="0" background="pic/bgbg_login.gif">
<tr>
<td width="175" height="188" align="center" valign="top"><form id="form1" name="form1" method="post" action="checkdata">
<table width="168" border="0" align="left" cellspacing="0">
<tr>
<td height="52" colspan="2"><p> </p></td>
<td width="158"><p><span class="body">username:</span>
<input type="text" name="logname" id="logname" />
</p></td>
</tr>
<tr>
<td colspan="2"><span class="body">
<label for="password"></label>
</span></td>
<td><span class="body"> password:</span>
<input type="password" name="psswd" id="psswd" /></td>
</tr>
<tr>
<td height="23" colspan="2"> </td>
<td height="23"><input type="checkbox" name="checkbox" id="checkbox" />
<span class="body"> login ตลอดไป</span></td>
</tr>
<tr>
<td colspan="2"> </td>
<td><input type="submit" name="button" id="button" value="เข้าสู่ระบบ" /></td>
</tr>
<tr>
<td width="2" height="19"> </td>
<td width="2"> </td>
<td class="body"height="19"><a class="body" href="FormRegister.php">สมัครสมาชิก</a> ลืมรหัสผ่าน</td>
</tr>
<tr>
<td height="17" colspan="3"> </td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
<table width="190" border="0" align="center" cellspacing="0">
<tr>
<td width="188" height="66"><table width="188" border="0" cellspacing="0" bgcolor="#C1D4E5">
<tr>
<td width="186"><img src="pic/t_menu.gif" alt="" width="187" height="64" border="0" align="left" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="187" border="0" align="left" cellspacing="0" background="pic/bg_menu.gif">
<tr>
<td height="29" colspan="2" rowspan="2"> </td>
<td width="176" height="24"class="data333"><a href="History.php">เกี่ยวกับ รพ.สต</a></td>
</tr>
<tr>
<td height="32"class="data333"><a href="ShowVM.php" target="_blank"class="menu">วิสัยทัศน์ / พันธกิจ</a></td>
</tr>
<tr>
<td height="23" colspan="2"> </td>
<td height="23" class="data333">ข้อมูลทั่วไป</td>
</tr>
<tr>
<td height="20"> </td>
<td> </td>
<td height="20" class="data333"><img src="pic/gimmick_05.gif" alt="" width="16" height="16" /> <a href="History1.php" target="_blank"class="menu">ประวัติความเป็นมา</a></td>
</tr>
<tr>
<td width="3" height="26"> </td>
<td width="2"> </td>
<td height="26" class="data333"><img src="pic/gimmick_05.gif" alt="" width="16" height="16" /> <a href="Generality.php" target="_blank"class="menu">สภาพทั่วไป</a></td>
</tr>
<tr>
<td height="26"> </td>
<td> </td>
<td height="26" class="data333"><img src="pic/gimmick_05.gif" alt="" width="16" height="16" /> <a href="Economy.php" target="_blank"class="menu">สภาพทางเศรษฐกิจ</a></td>
</tr>
<tr>
<td height="26"> </td>
<td> </td>
<td height="26" class="data333"><img src="pic/gimmick_05.gif" alt="" width="16" height="16" /><a href="Social studies.php" target="_blank"class="menu"> สภาพทางสังคมการศึกษา</a></td>
</tr>
<tr>
<td height="26"> </td>
<td> </td>
<td height="26" class="data333"><img src="pic/gimmick_05.gif" alt="" width="16" height="16" /> <a href="Basic services.php" target="_blank"class="menu">การบริการพื้นฐาน</a></td>
</tr>
<tr>
<td height="22"> </td>
<td> </td>
<td height="22" class="data333"><img src="pic/gimmick_05.gif" alt="" width="16" height="16" /> <a href="Other.php" target="_blank"class="menu">ข้อมูลอื่นๆ</a></td>
</tr>
<tr>
<td height="22" colspan="2"> </td>
<td height="22" class="data333"><a href="ShowService.php" target="_blank"class="menu">ขั้นตอนให้/รับ บริการ</a></td>
</tr>
<tr>
<td height="23" colspan="2"> </td>
<td height="23" class="data333"><a href="plan.php" target="_blank"class="menu">ตารางบฏิบัติงาน</a></td>
</tr>
<tr>
<td height="24" colspan="2"> </td>
<td height="23" class="data333"><a href="map.php" target="_blank"class="menu">แผนที่การเดินทาง</a></td>
</tr>
</table></td>
</tr>
</table>
<table width="100" border="0" align="left">
<tr>
<td height="49"><table width="188" height="49" border="0" cellspacing="0" background="pic/t_vdio.jpg">
<tr>
<td height="49"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><iframe width="187" height="156" src="http://www.youtube.com/embed/lmDLwF2HsnE" frameborder="0" allowfullscreen="allowfullscreen"></iframe></td>
</tr>
<tr>
<td height="52"><table width="187" border="0" background="pic/t_vdio2.jpg">
<tr>
<td height="46"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="158"><iframe width="187" height="156" src="http://www.youtube.com/embed/T2MZaWd73Rk" frameborder="0" allowfullscreen="allowfullscreen"></iframe></td>
</tr>
</table>
<p> </p></td>
<td width="571" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tbody>
<tr>
<td width="29" align="right"><img src="pic/line_01.gif" alt="" height="23" border="0" /></td>
<td width="569" align="right" background="pic/line_02.gif"></td>
<td align="right" width="36"><img src="pic/line_03.gif" alt="" width="37" height="23" border="0" /></td>
</tr>
<tr>
<td class="menutype" background="pic/line_04.gif"></td>
<td><fieldset>
<legend align="left"></legend>
<table width="95%" align="center">
<p>
<marquee direction=up height=130 onMouseOut=this.start() onMouseOver=this.stop() scrollamount=1 scrolldelay=30 width=100% truespeed=true style="filter:wave(add=0, lightstrength=80, phase=1, strength=1, freq=2);color:#FF0000">
<center>
<p class="data3">โรงพยาบาลส่งเสริมสุขภาพตำบลหนองงูเหลือม</p>
<p class="data2">เป็นผู้นำในการพัฒนาระบบสุขภาพ</p>
<p class="data2">โดยการที่มีส่วนร่วมของทุกภาคส่วนนำไปสู่การมีสุขภาพดีภายในปี 2555</p>
</marquee>
</table>
</fieldset></td>
<td class="menutype" background="pic/line_06.gif"></td>
</tr>
<tr>
<td height="34"><img src="pic/line_07.gif" alt="" width="29" height="34" border="0" /></td>
<td background="pic/line_08.gif" height="34"></td>
<td height="34"><img src="pic/line_09.gif" alt="" width="37" height="34" border="0" /></td>
</tr>
</tbody>
</table>
<table width="560" border="0" align="center" cellspacing="0" background="pic/t_pic.jpg">
<tr>
<td height="51"> </td>
</tr>
</table>
<table width="500" border="0" align="center" cellspacing="0">
<tr>
<td><embed src="http://widget.sanook.com/slide-diy/swf/slide.swf" width="500" height="300" flashvars="xmlPath=http://widget.sanook.com/static_content/farm1/2640/14edf3c52b7196/myslide.xml" bgcolor="#FFFFFF" wmode="transparent"></embed></td>
</tr>
</table>
<p> </p>
<p>
<p><a name="#pointer"></a>
<div id="menu1">
<ul>
<li><a href="project">ข่าวสุขภาพ</a></li>
<li><a href="ShowArticle">บทความ</a></li>
<li><a href="ShowTrick">เคล็ดลับสุขภาพดี</a></li>
<li class="current_page_item"><a href ="ShowKnowledge">เกร็ดน่ารู้</a></li>
<li></li>
</ul>
</div></p>
<p> </p>
<table width="560" border="0" align="center" cellspacing="0">
<tr>
<td><?php
function DateThai($strDate)
{
$strYear = date("Y",strtotime($strDate))+543;
$strMonth= date("n",strtotime($strDate));
$strDay= date("j",strtotime($strDate));
$strMonthCut = Array("","ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.");
$strMonthThai=$strMonthCut[$strMonth];
return "$strDay $strMonthThai $strYear";
}
$strDate = "2008-08-14 ";
?>
<?
include ("ConnectGeneral.php");
mysql_query ("SET NAMES utf8") or die (mysql_errno());
$id_knowledge=$_GET['id_knowledge'];
$sql = "SELECT * FROM `knowledge`ORDER BY date_knowledge DESC";
$result = mysql_query($sql);
while($row=mysql_fetch_array($result)){
$id_knowledge= $row["id_knowledge"];
$date_knowledge = DateThai($row["date_knowledge"]);
$head_knowledge= $row["head_knowledge"];
$pic_knowledge= $row["pic_knowledge"];
echo "<tr align='left'>";
echo "<td><img width=70 height=56 src='$pic_knowledge'></td>";
echo "<td class='hactivity'><a href=\"ShowKnowledge1.php?id_knowledge=$id_knowledge\"<base target=_blank ' />$head_knowledge</td>";
echo "<td>$date_knowledge</td>";
}
?></td>
</tr>
</table>
<p> </p></td>
<td width="198" valign="top"><table width="204" border="0" cellspacing="0">
<tr>
<td width="202" height="156" valign="top"><table width="180" border="0" align="right" cellspacing="0">
<tr>
<td><img src="pic/t_link.gif" alt="" width="196" height="49" align="right" /></td>
</tr>
<tr>
<td><table width="196" border="0" align="right" cellspacing="0" background="pic/bg_menu.gif">
<tr>
<td height="26" > </td>
<td class="data333"><a href="http://nptho.moph.go.th/muang/tonsamrong/index.php">สถานีอนามัยต้นสำโรง</a></td>
</tr>
<tr>
<td height="26"> </td>
<td class="data333"><a href="http://203.157.151.9/hnongkadone/p1.html">สถานีอนามัยหนองกะโดน</a></td>
</tr>
<tr>
<td height="23"> </td>
<td class="data333"><a href="http://nptho.moph.go.th/muang/samkwai/index.php">สถานีอนามัยสามควายเผือก</a></td>
</tr>
<tr>
<td height="26"> </td>
<td class="data333"><a href="http://nptho.moph.go.th/08336/index.html">สถานีอนามัยหนองปากโลง</a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="200" border="0" align="right" cellspacing="0">
<tr>
<td class="data33"width="190" align="left" valign="top"><a href="http://www.moph.go.th/moph2/index4.php"><img src="pic/mophy.jpg" alt="" width="190" height="60" align="texttop" /></a></td>
</tr>
<tr>
<td class="data33" height="57" valign="top"><a href="http://www.mohanamai.com/"><img src="pic/1275708636.png" alt="" width="187" height="50" /></a></td>
</tr>
<tr>
<td class="data33"height="51" valign="top"><a href="#"><img src="pic/h_system.jpg" alt="" width="187" height="50" /></a></td>
</tr>
<tr>
<td class="data33"height="60" valign="top"><a href="http://www.boe.moph.go.th/boedb/SrrtSubNetwork/index.php"><img src="pic/20110222_97236214.jpg" alt="" width="187" height="53" /></a></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="200" border="0" align="right" cellspacing="0">
<tr>
<td align="center"><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F%25E0%25B9%2582%25E0%25B8%25B5%25E0%25B8%25A3%25E0%25B8%2587%25E0%25B8%259E%25E0%25B8%25A2%25E0%25B8%25B2%25E0%25B8%259A%25E0%25B8%25B2%25E0%25B8%25A5%25E0%25B8%25AA%25E0%25B9%2588%25E0%25B8%2587%25E0%25B9%2580%25E0%25B8%25AA%25E0%25B8%25A3%25E0%25B8%25B4%25E0%25B8%25A1%25E0%25B8%25AA%25E0%25B8%25B8%25E0%25B8%2582%25E0%25B8%25A0%25E0%25B8%25B2%25E0%25B8%259E%25E0%25B8%2595%25E0%25B8%25B3%25E0%25B8%259A%25E0%25B8%25A5%25E0%25B8%25AB%25E0%25B8%2599%25E0%25B8%25AD%25E0%25B8%2587%25E0%25B8%2587%25E0%25B8%25B9%25E0%25B9%2580%25E0%25B8%25AB%25E0%25B8%25A5%25E0%25B8%25B7%25E0%25B8%25AD%25E0%25B8%25A1%2F215824441840062&width=200&height=258&colorscheme=light&show_faces=true&border_color&stream=false&header=false" scrolling="No" frameborder="0" style="border:none; overflow:hidden; width:200px; height:258px;" allowtransparency="true"></iframe></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="980" border="0" align="center" cellspacing="0" background="pic/foodter.jpg">
<tr>
<td height="73"> </td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
</body>
</html>
|
|
|
|
|
Date :
2012-02-10 13:30:40 |
By :
น้องอาโป |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 02
|