开发者

Get bookmark value from URL calling classic ASP

If I'm calling for example, http://www.mysite.asp?p1=2&p2=3#Bookmark Does the browser invoke that #Bookmark after the "classic" ASP generates output? It appears that it's 开发者_运维问答not coming thru, the browser doesn't jump down to the bookmark. I am suspicious it's getting "thrown out" by either ASP or the browser. This acts the same on both FF and IE6. Ideas? Thanks Stackoverflow!


Have you set the anchor name in the HTML markup?

For this #Bookmark to work you must have a link <a name="Bookmark" ... ></a>.

See HTML Links - The name Attribute.

Basic notes:

Tip: If a browser does not find the named anchor specified, it goes to the top of the document. No error occurs.

More on this:

http://thedailyreviewer.com/dotnet/view/bookmark-anchors-and-vbnet-103202803 http://www.velocityreviews.com/forums/t96249-can-you-jump-to-an-anchor-on-postback.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜