About Anchors
How can I get an "anchor" part of URL such this:
"www.domain.com?field1=zzz&field2=yyy#my-anchor"
in ASP code?I have to create new URL in ASP script with mixture of some parameters but the anchor must be in this one too.
How can I get an "anchor" part of URL such this:
"www.domain.com?field1=zzz&field2=yyy#my-anchor"
in ASP code?I have to create new URL in ASP script with mixture of some parameters but the anchor must be in this one too.
Can you use named anchors in ASP links?
I am using an <IFRAME> on one of my pages and want to jump to one part of the page that is loaded, but I'm also passing querystring variables in the link. It doesn't seem to recognise the #now anchor that I want to jump to.
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. Code:
I am currently building a page that initially displays a list of categories e.g.
Category 1
Category 2
etc
Clicking on a category should cause a list of the items in the category to be shown e.g. clicking Category 1 should lead to:
Category 1
Item 1
Item 2 etc.
Category 2
I have implemented this part successfully. I have placed a hyperlink in each Category so that when it is clicked the page is refreshed, with a parameter 'categoryid' used to return the relevant items from the database. Code:
I have a need to pass a url via the address field to a page - i.e.
page.asp?myurl=newpage.asp.
When I get the QueryString object for "myurl" it correctly comes back
with 'newpage.asp'. However, if I pass an anchor name on the url -
e.g. page.asp?myurl=newpage.asp#myanchor - the result is still just
'newpage.asp'.
Is there a way to pass the anchor link into the page and get access to
it?
I am trying to passing some variables via the url and also a named anchor appended to the end. unfortunetely the named anchor is been read in as part of the last variable.
threads.asp?t=96&f=15&j=y#288
I use request.queryString("j") to retrieve the value but the value returned is y#288 and no y as expected.
Is there anyway to fix this problem.
I can't pass the value via a form.
here is the code I use to create the url
Code:
All of these fail :
response.redirect("page.asp?Param=Param#Anchor")
response.redirect("page.asp#Anchor?Param=Param")
This one works fine :
location.href = "page.asp?Param=Param#Anchor"
I have a solution i dont like :
i can replace #Anchor by &Anchor=Anchor
Does someone has an other idea ?
I have developed an extranet system, that is not recognizing any named anchors in IE. The top drop down on the page should be jumping the user to each section. It works beautifully in Firefox, but not in IE. Has anyone encountered this before? Any insights?
View Replies View Related