My apologies in advance if this has already been covered, but I have been unable to find a solution in the forum.
I want to add links to post any page within my site to stumble, digg, reddit ect.
For layout reasons, I don’t want to use “share-it” type solution, as I want full control.
I have tried using the following code, but I am having problems with Internet Explorer modifying the link “to prevent cross-site scripting”
<a href="javascript:window.location = 'http://www.stumbleupon.com/submit?url=' +encodeURIComponent(window.location)+'&title=' +encodeURIComponent(document.title)">Stumble</a>
To avoid this I would like to add the url to the link, but, I can’t find a variable to do this.
Once again, sorry if this has already be resolve and I’ve missed it.
I want to add links to post any page within my site to stumble, digg, reddit ect.
For layout reasons, I don’t want to use “share-it” type solution, as I want full control.
I have tried using the following code, but I am having problems with Internet Explorer modifying the link “to prevent cross-site scripting”
<a href="javascript:window.location = 'http://www.stumbleupon.com/submit?url=' +encodeURIComponent(window.location)+'&title=' +encodeURIComponent(document.title)">Stumble</a>
To avoid this I would like to add the url to the link, but, I can’t find a variable to do this.
Once again, sorry if this has already be resolve and I’ve missed it.
Comment