Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Is there a Twitter button that I can put on my site with the following functionality:

When the user clicks the button, it brings up a popup of my page on Twitter without the user leaving my site...?

Is there also a Facebook button with this functionality?

And is there a Linkedin button with this functionality?

share|improve this question
add comment

2 Answers

Simply put there is not generic button ready for anyone to grab a little bit of code for either facebook or twitter

For Twitter this is possible with the Twitter @anywhere Platform. this does involve a bit of coding. (not much)

I do not know about a way to do this through facebook or linked-in. but I assume it is not as easy as a pre-coded button

share|improve this answer
    
Thank you very much for that.. –  user10569 Apr 30 '11 at 7:42
add comment

you can user following code for do this..

 <!-- facebook -->
      <script>function fbs_click() {u=location.href;t=document.title;window.open(‘http://www.facebook.com/sharer.php?u=’+encodeURIComponent(u)+’&t=’+encodeURIComponent(t),’sharer’,'toolbar=0,status=0,width=626,height=436′);return false;}</script><a href=”http://www.facebook.com/share.php?u=<url>” onclick=”return fbs_click()” target=”_blank”><img src=”ADD_IMAGE_URL_HERE” alt=”Share on Facebook” /></a>

      <!-- twitter -->
      <a href=”http://twitter.com/home?status=Currentlyreading <?php the_permalink(); ?>” title=”Click to share this post on Twitter”"><img src=”ADD_IMAGE_URL_HERE” alt=”Share on Twitter”></a>

<!-- Linkedin -->
<a href=”http://www.linkedin.com/shareArticle?mini=true&url=<?phpthe_permalink(); ?>&title=<?php the_title(); ?>&source=ADD_YOUR_BLOG_URL_HERE”><img src=”ADD_IMAGE_URL_HERE”></a>

its may what you needed..

Thanks..

share|improve this answer
    
this by it self will Not bring up a popup but this could be used in conjunction I guess –  mjrider Apr 28 '11 at 13:34
    
ok..i have been edited my code.now you can check it out..thx. –  Chandresh Apr 28 '11 at 13:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.