I want to embed a ShareThis/AddThis button on my site but the site's navigation relies on Hash tags in the url. Each page is assigned a unique hash value (ie, http://domain.com/index.php#products). Changing the navigation/page design isn't an option. Will these service preserve the hash value (both embed JS on the page)? If they don't, what are some alternative solutions?
相关问题
- Convert the int from c# gethashcode() back to stri
- Are String hashCode in java pre-computed?
- hashCode() value changes between executions
- when add key-value pair to a hashMap, why Java mak
- C#: Same Object have to Same HashCode?
相关文章
- How to use @EqualsAndHashCode With Include - Lombo
- Different fields for equals and hashcode
- How is base.GetHashCode() implemented for a struct
- Scala: lightweight way to put Arrays in a Set or M
- Did I implement equals and hashCode correctly usin
- Hash a double in Java
- How HashSet works with regards to hashCode()?
- HashMaps and Null values?
Just replace the # with %23 (the URL encoded version of #) and you'll be fine. ;) I like to use the "remote" version of addthis :
http://www.addthis.com/bookmark.php?url=your_url_here%23hash_tag_here
The javascript button's share-url can be set manually for both services.
AddThis docs: http://www.addthis.com/help/sharing-api
Excerpt from ShareThis doc's (http://blog.sharethis.com/faq/developers-faq/sharethis-api-examples/)