Go to this link http://www.blobh.com.../testing-1.html there select some text then a tooltip kind of thing will appear first share at twitter then at facebook you will understand the matter.
the script i am using is this
<script type='text/javascript'>
$('.demo1').selectedTextSharer({
lists:"Twitter,http://twitter.com/home?status=%ts ,favicon|Facebook,http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.blobh.com%2F&t=%s,favicon|Wikipedia (en),http://en.wikipedia.org/w/index.php?title=Special:Search&search=%s,favicon|Google Maps,http://maps.google.com/?q=%s,favicon",
extraClass: 'dark',
title: 'Share this text ...',
borderColor: '#7F241C',
background : '#4F663A',
titleColor : '#7F241C',
textColor : '#FFFFFF',
hoverColor: '#7F241C'
});
</script>
and the other script is this one http://bloghuts.goog...t-sharer.min.js and the html is like this
<!-- Just wrap a text with a div and add a class, thats all ! --> <div class="demo1"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it</div> <textarea class="demo4"></textarea> <input class="demo4" type="text" />

New Topic/Question
Reply



MultiQuote




|