Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Use Anchors in ASP page

Reply
Thread Tools

Use Anchors in ASP page

 
 
John Beschler
Guest
Posts: n/a
 
      07-30-2003
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>






 
Reply With Quote
 
 
 
 
Jon Mundsack
Guest
Posts: n/a
 
      07-30-2003
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" <(E-Mail Removed)> wrote in message
news:02f701c356c6$b5a9e6f0$(E-Mail Removed)...
> 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>
>
>
>
>
>
>



 
Reply With Quote
 
 
 
 
John Beschler
Guest
Posts: n/a
 
      07-30-2003
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" <(E-Mail Removed)> wrote in message
>news:02f701c356c6$b5a9e6f0$(E-Mail Removed)...
>> 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>
>>
>>
>>
>>
>>
>>

>
>
>.
>

 
Reply With Quote
 
Stuart Palmer
Guest
Posts: n/a
 
      07-31-2003
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" <(E-Mail Removed)> wrote in message
news:02f701c356c6$b5a9e6f0$(E-Mail Removed)...
> 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>
>
>
>
>
>
>



 
Reply With Quote
 
John Beschler
Guest
Posts: n/a
 
      07-31-2003
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 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" <(E-Mail Removed)> wrote in message
>news:02f701c356c6$b5a9e6f0$(E-Mail Removed)...
>> 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>
>>
>>
>>
>>
>>
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Anchors keevsbiz@gmail.com HTML 5 03-22-2006 07:25 PM
In page Anchors Mimic HTML 2 03-14-2005 12:57 AM
What about Anchors (#) and ASP.NET? Lars Netzel ASP .Net 5 07-27-2004 12:57 PM
Use of acronym and abbr tags with anchors Rowan Malin HTML 10 05-14-2004 07:00 PM
Bookmark Anchors and VB.NET Chris M ASP .Net 1 10-24-2003 12:31 PM



Advertisments