Bryan P
05-29-2006, 11:06 PM
In gereanl, I can use the <a> to create anchor to allow user to goto a specific loaction within a web page, e.g. if we have a page called bryan.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>Testing</title>
</head>
<body>
<a name="loc1">
<p>
Testing<br>
Testing<br>
</p>
<a name="loc2">
<p>
testing<br>
testing</p>
</body>
</html>
if I "input www.xxx.com/bryan.html#loc1" it will display the location which related to the <a name="loc1".
if I "input www.xxx.com/bryan.html#loc2" it will display the location which related to the <a name="loc2".
However, if I apply this anchor tag to the .aspx (presentation layer), the ASP.NET is not workable. Could you help me?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>Testing</title>
</head>
<body>
<a name="loc1">
<p>
Testing<br>
Testing<br>
</p>
<a name="loc2">
<p>
testing<br>
testing</p>
</body>
</html>
if I "input www.xxx.com/bryan.html#loc1" it will display the location which related to the <a name="loc1".
if I "input www.xxx.com/bryan.html#loc2" it will display the location which related to the <a name="loc2".
However, if I apply this anchor tag to the .aspx (presentation layer), the ASP.NET is not workable. Could you help me?