473,471 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3798
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ben Wilson | last post by:
To anyone who can help me, you have my thanks in advance. I am implementing a "301 Moved Permanently" redirect in my website due to a change of our domain names. Unfortunately, I am having a...
4
by: Mark Tranchant | last post by:
I'm looking for some advice here. Using a browser that supports fixed positioning (not IE), take a look at: http://tranchant.plus.com/guitar/chord-tutorial/ The page consists of a fixed...
2
by: mlv2312 | last post by:
Hi, I have experienced problems when dealing with nested anchors. I implemented some code to perform highlighting and specific anchors are used for the searched words. The problem is when the...
1
by: mlv2312 | last post by:
Hi, I have experienced problems when dealing with nested anchors. I implemented some code to perform highlighting and specific anchors are used for the searched words. The problem is when the...
1
by: eomer | last post by:
I have a lengthy page with several paragraphs. At the top of the page is a navigation bar with anchors to each of the paragraphs (the links). The problem is this: If I go to the page (after the...
12
by: Rich | last post by:
Strangely, on-page anchors will work on MSIE, but not on Netscape7.2 or Firefox1.5. All anchors are numbers e.g. <a href="#21">TOPIC</a> supposed to connect down to <a name="#21>beginning of...
17
by: Crimperman | last post by:
Hi, need some advice on URIs In a dynamic page (perl driven) we list a number of items presented in an hierarchical tree structure. Within that page is a form which allows you to search for...
1
by: Alec MacLean | last post by:
Hi. I'm using VS2005 Pro to work on a website project for my company. The site has several navigation elements, all based on the standard VS2005 navigation components. I have high-level...
3
by: windandwaves | last post by:
does it matter if I write var anchors = document.getElementsByTagName("A"); or var anchors = document.getElementsByTagName("a"); Or is there a better way to catch both <a hrefs and <A...
1
by: Patient Guy | last post by:
I have a "hidden" anchor in the body of a doc. By "hidden," I mean that the contained text of the anchor is indistinguishable from the surrounding text, the text contained by its parent/ancestor...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.