470,631 Members | 1,640 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

Use Anchors in ASP page

I'm developing a framset with links in the top frame that
I want to use to position the page in the bottom frame to
a certain anchor. Problem is the page in the bottom frame
is an ASP page.

Any help?

Thanks,
John
<!-- frameset -->
</head>
<frameset rows="120,*" cols="*">
<frame src="AffilManageTop.htm" name="AdminHdr" noresize>
<frame src="AOEManageFrame.asp" name="AdminTbls">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>

<!-- top frame -->

<a href="AdmnTbls.htm#Table1" target="AdminTbls">Link to
Table 1</a>
<a href="AdmnTbls.htm#Table2" target="AdminTbls">Link to
Table 2</a>
<a href="AdmnTbls.htm#Table3" target="AdminTbls">Link to
Table 3</a>
<!-- bottom frame -->

<A name="table1">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table2">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table3">
<table>
<tr>
<td> some data</td>
</tr>
</table>


Jul 19 '05 #1
4 3698
Have you tried...

<!-- top frame -->
<a href="AOEManageFrame.asp#Table1" target="AdminTbls">Link to Table 1</a>
<a href="AOEManageFrame.asp#Table2" target="AdminTbls">Link to Table 2</a>
<a href="AOEManageFrame.asp#Table3" target="AdminTbls">Link to Table 3</a>
"John Beschler" <gi***@geewhiz.com> wrote in message
news:02****************************@phx.gbl...
I'm developing a framset with links in the top frame that
I want to use to position the page in the bottom frame to
a certain anchor. Problem is the page in the bottom frame
is an ASP page.

Any help?

Thanks,
John
<!-- frameset -->
</head>
<frameset rows="120,*" cols="*">
<frame src="AffilManageTop.htm" name="AdminHdr" noresize>
<frame src="AOEManageFrame.asp" name="AdminTbls">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>

<!-- top frame -->

<a href="AdmnTbls.htm#Table1" target="AdminTbls">Link to
Table 1</a>
<a href="AdmnTbls.htm#Table2" target="AdminTbls">Link to
Table 2</a>
<a href="AdmnTbls.htm#Table3" target="AdminTbls">Link to
Table 3</a>
<!-- bottom frame -->

<A name="table1">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table2">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table3">
<table>
<tr>
<td> some data</td>
</tr>
</table>


Jul 19 '05 #2
Yep. At least I think that's what my code does now.
However, it does nothing when I click on the link. If the
bottom frame is HTM it works fine, just not with ASP.

Thanks,
John

-----Original Message-----
Have you tried...

<!-- top frame -->
<a href="AOEManageFrame.asp#Table1" target="AdminTbls">Link to Table 1</a><a href="AOEManageFrame.asp#Table2" target="AdminTbls">Link to Table 2</a><a href="AOEManageFrame.asp#Table3" target="AdminTbls">Link to Table 3</a>

"John Beschler" <gi***@geewhiz.com> wrote in message
news:02****************************@phx.gbl...
I'm developing a framset with links in the top frame that I want to use to position the page in the bottom frame to a certain anchor. Problem is the page in the bottom frame is an ASP page.

Any help?

Thanks,
John
<!-- frameset -->
</head>
<frameset rows="120,*" cols="*">
<frame src="AffilManageTop.htm" name="AdminHdr" noresize> <frame src="AOEManageFrame.asp" name="AdminTbls">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>

<!-- top frame -->

<a href="AdmnTbls.htm#Table1" target="AdminTbls">Link to
Table 1</a>
<a href="AdmnTbls.htm#Table2" target="AdminTbls">Link to
Table 2</a>
<a href="AdmnTbls.htm#Table3" target="AdminTbls">Link to
Table 3</a>
<!-- bottom frame -->

<A name="table1">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table2">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table3">
<table>
<tr>
<td> some data</td>
</tr>
</table>


.

Jul 19 '05 #3
Just think of it like an html page, and asp page is an html page which is
generated by a asp server.

If you can get it working in html then you will get it working in asp, try
it in static html first and see if your code works, if not it won't work
with ASP generated code. (Make sure your 'a names' are being created
/there)

Stu
"John Beschler" <gi***@geewhiz.com> wrote in message
news:02****************************@phx.gbl...
I'm developing a framset with links in the top frame that
I want to use to position the page in the bottom frame to
a certain anchor. Problem is the page in the bottom frame
is an ASP page.

Any help?

Thanks,
John
<!-- frameset -->
</head>
<frameset rows="120,*" cols="*">
<frame src="AffilManageTop.htm" name="AdminHdr" noresize>
<frame src="AOEManageFrame.asp" name="AdminTbls">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>

<!-- top frame -->

<a href="AdmnTbls.htm#Table1" target="AdminTbls">Link to
Table 1</a>
<a href="AdmnTbls.htm#Table2" target="AdminTbls">Link to
Table 2</a>
<a href="AdmnTbls.htm#Table3" target="AdminTbls">Link to
Table 3</a>
<!-- bottom frame -->

<A name="table1">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table2">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table3">
<table>
<tr>
<td> some data</td>
</tr>
</table>


Jul 19 '05 #4
Stuart,

Thanks for the post. After I read it, I went back and
tackled it again. Once I figured out the things I screwed
up, it worked perfectly.

You da man!

-----Original Message-----
Just think of it like an html page, and asp page is an html page which isgenerated by a asp server.

If you can get it working in html then you will get it working in asp, tryit in static html first and see if your code works, if not it won't workwith ASP generated code. (Make sure your 'a names' are being created/there)

Stu
"John Beschler" <gi***@geewhiz.com> wrote in message
news:02****************************@phx.gbl...
I'm developing a framset with links in the top frame that I want to use to position the page in the bottom frame to a certain anchor. Problem is the page in the bottom frame is an ASP page.

Any help?

Thanks,
John
<!-- frameset -->
</head>
<frameset rows="120,*" cols="*">
<frame src="AffilManageTop.htm" name="AdminHdr" noresize> <frame src="AOEManageFrame.asp" name="AdminTbls">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>

<!-- top frame -->

<a href="AdmnTbls.htm#Table1" target="AdminTbls">Link to
Table 1</a>
<a href="AdmnTbls.htm#Table2" target="AdminTbls">Link to
Table 2</a>
<a href="AdmnTbls.htm#Table3" target="AdminTbls">Link to
Table 3</a>
<!-- bottom frame -->

<A name="table1">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table2">
<table>
<tr>
<td> some data</td>
</tr>
</table>

<A name="table3">
<table>
<tr>
<td> some data</td>
</tr>
</table>


.

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Ben Wilson | last post: by
4 posts views Thread by Mark Tranchant | last post: by
2 posts views Thread by mlv2312 | last post: by
1 post views Thread by mlv2312 | last post: by
1 post views Thread by eomer | last post: by
12 posts views Thread by Rich | last post: by
3 posts views Thread by windandwaves | last post: by
1 post views Thread by Patient Guy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.