This function is only for navigating to #convert, but you can easy change the function offcourse:

If anybody knows how this is possible in ASP.NET, let me know, I'm not a freak yet
Blog about Sharepoint (WSS/MOSS) 2007 & 2010, Web Parts, Workflows, ASP.NET, .NET 3.5
1 opmerking:
You can also use
window.location.hash="anchor";
for instance
function callAnchor(){
window.location.hash="anchor";}
<a name="anchor">
text text text text text
text text text text text
text ... ... ..
... ... ...
... ... ...
text text text text text
text text text text
<p onclick="callAnchor();">Link</p>
Also it's possible in this way [the short way]
<p onclick="window.location.hash=anchor'">Link</p>
Een reactie posten