Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting page anchors in ASP

Status
Not open for further replies.

FesterSXS

Programmer
Feb 4, 2002
2,196
GB
Hi all,

I have designed my framed ASP site so any pages that are loaded up on their own will be rebuilt into the frameset without losing any querystring information that may be in the URL. This is working fine although I have a few pages that are going to be linked to directly that would include a page anchor in the URL ... eg)
Can ASP detect these page anchors so I can rebuild them into my frameset also?

regards
Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
I don't think you can detect anchors but you could do this..

If Request.QueryString(&quot;anchor&quot;) <> &quot;&quot; then
Response.Redirect(&quot;#&quot; & Request.QueryString(&quot;anchor&quot;))
End if

Then in your link for an anchor you would do this...

mypage.asp?anchor=library


www.vzio.com
star.gif
if I helped. [wink]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top