Forum Moderators: open
but recently i stuck with an issue which is related to the bookmark.
which appends the #xyz in the url..
for example http://www.example.com/xyz.html#123
i know it is just because of the bookmark added in the page.but i don't want it to append in the url..
Is there any workaround for this or any alternate of <a name="123"> tag
Thanks
Muckoda
[edited by: BlobFisk at 11:59 am (utc) on July 8, 2008]
[edit reason] Examplified URL [/edit]
In which user enter the url of the site like www.example.com url remains the same in the whole user journey.. nothing adds up in the browser address bar..
so here my dilemma is
In a page i added a bookmark which added #something in the url.
and i dont want it to be added in the url
coz after added bookmark url looks like (www.example.com/example.html#something)and i dont want it.
any pointer or help regarding the same is higly appreciable.
Thanks,
Muckoda
<script type="text/javascript">
var url = "http://www.example.com/";
var Name = "Example.com";
function addFavorite() {
if (window.external) {
window.external.AddFavorite(url,Name)
} else {
alert("Sorry! Your browser doesn't support this function.");
}
}
</script>
The way I understand it, Tricker does not want "#blah" on the end of the URL. Tricker wants a solution that navigates to a certain place on the page without changing the URL. Correct?
Fragment Identifiers
2007-03-02 - [webmasterworld.com...]
They are a client side function so if you are concerned about anything from the search side, don't worry about it.
But, I do have my theories about using Fragment Identifiers, they are a big plus!
Could I ask why you are wanting to hide them? I don't think you can...
It is not possible to navigate to an on-page anchor without appending the #foo to the URL
BTW, the name attribute has been deprecated in favor of id="".