|
|
|
ช่วยดู code ให้ด้วยค่ะ อยากจะใส่ แทก HTML ใน code asp อ่าค่ะ เพราะมันมี warning อ่ะค่ะ มี codeให้ดูนะค่ะ ช่วยด้วยค่ะ |
|
|
|
|
|
|
|
Code (ASP)
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="intranet_web._Default" Title="KEC-T Intranet" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
<!--
function IMG1_onclick() {
}
// -->
</script>
<table width="100%" height="100%" style="background-color:#F8F8F8" cellspacing="" bordercolor="#FFFFFF">
<tr>
<td bordercolor="#666666" style="height: 88px; width: 606px;" contenteditable="true" align="center" valign="top">
</td>
<td style="height: 88px; width: 1292px;" contenteditable="true" valign="top">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
height="100" hspace="10" style="width: 595px" width="643">
<param name="flash_component" value="ImageViewer.swc">
<param name="movie" value="Flash/sub-menu.swf">
<param name="quality" value="high">
<param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:true,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:1,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}">
<embed flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:true,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:1,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}"
height="100" hspace="10" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
quality="high" src="Flash/sub-menu.swf" type="application/x-shockwave-flash"
width="300"></embed>
</object>
<br />
<object align="center" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
height="25" width="606"><param name="flash_component" value="ImageViewer.swc"><param
name="movie" value="Flash/Greeting-text.swf"><param name="quality" value="high"><param
name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:true,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:1,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}">
<embed flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:true,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:1,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}"
height="38" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
quality="high" src="Flash/Greeting-text.swf" type="application/x-shockwave-flash"
width="300"></embed>
</object>
</div>
</td>
</tr>
<tr>
<td bordercolor="#666666" style="width: 606px; height: 80px;"></td>
<td align="center" valign="middle" style="width: 1292px; height: 90px;" contenteditable="true">
<div id="tabs">
<p class="bold">
KEC-T Intranet MENU</p>
<ul>
<li class="outer one click" style="height: 1px"><span style="font-size: 1em">ข่าวฝาก</span> <div class="tab_left">
<h5>
PROGRAM</h5>
<p>
ฝากข่าวสารของฝ่ายต่างๆ ที่ต้องการประกาศที่นี่ <a href="default.aspx">Main Menu</a>.</p>
</div>
</li>
<li class="outer two">บุคคล <div class="tab_center">
<h5>PERSONNEL</h5>
<a href="http://www.w3.org/Style/CSS/" class="unlock" title="Unlock the secrets of CSS at w3.org"><img src="style_css/mini-tabbed-pages/icon/lock.gif" alt="Locked" title="Locked" /></a>
</div>
</li>
<li class="outer three">MAIL
<div class="tab_right">
<h5>Email</h5>
<p>Maybe a link to your emails or a form asking to login to retrieve your emails, or even a link to a <a href="http://www.cssplay.co.uk/w3c/contact.html">Contact Page</a>.</p>
</div>
</li>
</ul>
<br class="clear" />
<ul>
<li class="outer four">ค้นหา
<div class="tab_left">
<h5>
ค้นหา
</h5>
<p>You can add a search form here.</p>
</div>
</li>
<li class="outer five">PROFILE
<div class="tab_center">
<h5>Your Profile</h5>
<form id="two" action="..." method="post">
<fieldset id="personal">
<label for="login">login : </label>
<input name="login" id="login" type="text" tabindex="1" />
</fieldset>
<p class="buttons">
<input id="button1" type="submit" value="Send" />
<input id="button2" type="reset" value="Reset" />
</p>
</form>
</div>
</li>
<li class="outer six">DRAW
<div class="tab_right">
<h5>DRAW</h5>
<a href="http://www.adobe.com/products/fireworks/"><img class="image" src="style_css/mini-tabbed-pages/icon/fireworks.gif" alt="Adobe Fireworks 8" title="Adobe Firerworks 8" /></a>
<p class="fire">Get top-quality design results. Take creative control with seamless vector and bitmap editing.</p>
</div>
</li>
</ul>
<br class="clear" />
<span class="base">©2011 KEC-T company</span>
</div>
</td>
<tr>
<td bordercolor="#666666" style="width: 606px; height: 80px">
</td>
<td align="center" contenteditable="true" style="width: 1292px; height: 90px" valign="middle">
</td>
</tr>
<tr>
<td bordercolor="#666666" style="width: 606px; height: 80px">
</td>
<td align="center" contenteditable="true" style="width: 1292px; height: 90px" valign="middle">
</td>
</tr>
</table>
</asp:Content>
ตามนี้เลยค่ะ พอดีมันขีดเส้นใต้สีแดงพวก code html ทุกตัวเลยอ่าค่ะ เลยลองเอา <html> </html> ใส่ครอบไว้ ที่ไหนก็ตามมันก็อ error ขึ้นมาอ่าค่ะ วานผู้รู้ช่วยที่ค่าT_T ขอบคุณมากๆคร้า
Tag : ASP.NET, Web (ASP.NET), VS 2005 (.NET 2.x)
|
ประวัติการแก้ไข 2011-04-18 14:23:57 2011-04-18 14:26:17
|
|
|
|
|
Date :
2011-04-18 14:22:50 |
By :
kittygirl |
View :
1044 |
Reply :
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Error ตรงไหนครับ ปกติถ้าใช้ Tag ของ ASP.NET จะไม่ค่อยมีปัญหาครับ
|
|
|
|
|
Date :
2011-05-03 21:44:19 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|