Attaching Text To The Twitter Sharing Link
I'm trying to figure out how I can output the string of text Try this recipe at the beginning of this twitter sharing function. So when you click the button to share it will say 'T
Solution 1:
It's very simple, just add this text=Try this recipe&
at first, i.e.
functionload_twitter() {
window.open('http://twitter.com/share?text=Try this recipe&url='+ window.location.href +'&via=atsbyvermouth','','scrollbars=no,menubar=no,height=450,width=650,resizable=yes,toolbar=no,location=no,status=no');
}
DEMO.
Post a Comment for "Attaching Text To The Twitter Sharing Link"