uri-fragment

Accessing Jump Links (the part of the URL after a hasch character, #) from the code behind

Hi! Anyone know if it's possible to access the name of a jump link in c# code? I'm doing some url Rewriting stuff and I'm thinking I might not be able to see that part of the URL. So basically, my URL looks a little something like this: http://www.mysite.com/Terms.aspx#Term1 And I want to access "Term1". I can't see it in the Se...

Can a search engine link to a certain section of an HTML file?

If I have a page divided in sections/fragments, that are linked to within the page with anchors, like this: <div class="menu"> <a href="#sec1">Section 1</a> <a href="#sec2">Section 2</a> <a href="#sec3">Section 3</a> </div> <div class="content"> <a name="#sec1"></a> <h2>Section 1</h2> <p>Bla bla bla...</p> </div...

How to monitor the changes in the url (Fragment identifier - the anchor portion of a URL )

Hi, I'm making a website that tend to handle all the request in one page (Ajax). so i thought that I could trap every user's click on a link and check IF it's on my website i do something on JavaScript like an ajax request for example, ELSE it would open the link like usual! doing a watch on window.location did not work! and moreover I ...

FormsAuthentication.RedirectFromLoginPage - fragment not preserved on redirect

I have a page, URI looks like this: http://domain.example.com/Profiles/Profile.aspx?username=blah#blahtab When that fragment (#blahtab) is present, some jQuery picks up on that and displays a different section of the page initially. However, that page requires a user to authenticate first. Coming back from the authentication step us...

How to use htaccess to rewrite url to html anchor tag (#)

Hi - I have a situation where I want to take the following URL: /1/john and have it redirect using Apache's htaccess file to go to /page.php?id=1&name=john#john so that it goes to an html anchor with the name of john. I've found a lot of reference to escaping special characters, and to adding the [NE] flag so that the redirect ign...