Phong Thai Cao

is the Web developer for 5+ years with PHP, JavaScript, CSS. He is the creator & the admin of JavaScriptBank.com: provide you thousands of free JavaScript codes, DHTML, JavaScript tutorials, examples, reference and help

32 responses to “Integrate SexyBookmarks into any HTML page with JavaScript”

  1. Jacquii Cooke

    Brilliant tutorial! Thanks for the share – I’m using it on one of my vBulletin boards – you can see it integrated into The Journey Video Directory at http://wlsjourney.org/community-forums/videos/adjustable-gastric-banding-lagb-1/lap-band-fill-adjustment-22.html

    One thing to note though – the css definitions have been changed from “sexy-bookmarks” to “shr-bookmarks” — so you’ll have to edit parts of the code to make it work.

    Thanks again for the share! ;)

    Jacquii.

  2. Andrew

    I’m trying to add sexybookmarks to a vBulletin discussion board to replace the default “social bookmarks” box at the bottom of threads. I’ve managed to get sexybookmarks to appear in the right place, but the icons are not correct for each link; I suspect this is because the version of shr-sprite.png is out of sync with the link code in your example.

    Could you show how the .js and link list are supposed to be updated when the sexybookmarks developer updates his product?

  3. Dez

    Hello there, i’ve followed your tutorial and managed to implement it and see the actual result in Mozilla (url’s are not generated tho, working on it).

    I am also wondering if you have found a solution to the Internet Explorer problem. If not, does anyone know how to disable it if users browser is IE.

    Thanks in advance, great tutorial.

  4. aussiecriminals

    Hi I have a wordpress.com crime blog and would love to have this one mine.I followed all the instructions and nothing appears. The only thing I might have got wrong is the exact spot to put the js/sexy-bookmarks-public.js file in. AS the following says( place JavaScript code lines below after autocentering feature) is that at the end? it is the only reference I see to auto centre in the js file? Any help much appreciated…Cheers

  5. Patrick

    I can’t seem to figure this out, and I’m hoping someone can help me.
    I’ve put the proper code in the
    I’ve uploaded all the files, except when I downloaded the package it did not contain sexy-sprite.png so I’m not sure where to get that.

    When adding the HTML to my website, it gives me a standard UL bulleted list, and isn’t accessing the animated functions.

    I’m not sure what I’m doing wrong.. but if someone can help me.. please shoot me an email:

    pryan.ky@gmail.com

    Thank you,

    Patrick

  6. Syscl

    one thing i notice in the newest version is that it use shr-blabla instead of sexy-blabla in the CSS classes.. so i just replace those, and your code works seamlessly.. ;) Thank you very much..

  7. Arko

    How to add the slogan into CSS like “sharing is sexy”?????
    And why it is not selecting the current URL automatically?? what changes I have to make……

  8. Daniel

    Any ideas why this is showing in every browser except IE? :S

    Any help would be massively apprieciated…

  9. Daniel

    Great tutorial! This looks excellent! Thanks alot :)

  10. Seyri Film, Online Film İzle.

    case = kase :D

  11. Jesse Wallace

    I am checking this in IE7 and IE8 and its not working – all the icons are missing

  12. 130+ Worth Investigating Fresh Posts for Designers and Developers | tripwire magazine

    [...] Integrate SexyBookmarks into any HTML page with JavaScript [...]

  13. How to Integrate SexyBookmarks into any HTML page with JavaScript « Web Page Authority Blog

    [...] Integrate SexyBookmarks into any HTML page with JavaScript SexyBookmarks is a handy plugin for sharing the useful & helpful links on the famous social bookmark services just like AddThis WordPress plugin. This tutorial and article will teach you how to actually use this plugin in any website, not just WordPress – implement it wherever you want it! [...]

  14. affiliate

    article will teach you how to actually use this plugin in any website
    .-= affiliate´s last blog ..Where Can I Buy Incentivized Traffic To Sign Up To Pay Per Action Affiliate Programs? =-.

  15. Jimmy Talkington

    b) Download the core file of jQuery framework, then place it into js directory

    Where do I get that at?

  16. CSS Brigit |

    In this post, I’ll show you how to add SexyBookmarks into your personal page, only with HTML, CSS and JavaScript; no server-side requirement. Obviously, you (and your visitors) can have some little limits without PHP….

  17. [User Link:Integrate SexyBookmarks into any HTML page with JavaScript] | Tips for Designers and Developers | tripwire magazine

    [...] Integrate SexyBookmarks into any HTML page with JavaScript [...]

  18. Internet Briefing Blog / Wochenendsurf-Tour

    [...] Trotz RSS, Twitter und Facebook Statusmeldung, der gute alte Newsletter ist noch lange nicht tod, darum hier Guidelines und bespiele. Hier doch noch ein Link für die Entwickler, wie sie Feedback mit Twitter und bit.ly teilen und ein Link für sexybookmarks mit Javascript. [...]

  19. Hidayat Sagita

    nice concept :)

  20. Jen

    Interesting. Like some of the others here, not sure I’d use it as it does seem a bit on the heavy side, but interesting concept. Might have to try out my own version to see if I can’t get the bulk down.

  21. links for 2010-02-20 | sashidhar.com

    [...] Integrate SexyBookmarks into any HTML page with JavaScript | Graphic and Web Design Blog -Resources … (tags: javascript webdev bookmarks) [...]

  22. Blogger Template Place

    wow…great. Try to apply this sexy bookmark. Thanks
    .-= Blogger Template Place´s last blog ..Blue Iceberg Blogger Template =-.

  23. رواد الغرام

    Excellent very helpful
    Thanks
    .-= رواد الغرام´s last blog ..ÝæÇÆÏ ÔÑÈ ÇáãÇÁ æ ÇáÃæÞÇÊ ÇáãäÇÓÈå áåý … =-.

  24. e11world

    This is really nice and I will definitely use this technique in the future.

  25. Integrate SexyBookmarks into any HTML page with JavaScript « BrightSpark

    [...] Phong Thai Cao Read Post [...]

  26. Integrate SexyBookmarks into any HTML page with JavaScript « BrightSpark

    [...] Thai Cao Read Post Comments [...]

  27. ice

    This is what i see (Chrome/Mac) http://twitpic.com/143×4o

    1. Dainis Graveris

      sorry, image fixed now :)

  28. Michal Kozak

    As I like it to see on other people’s websites :), I would never implement it on my own for two reasons:

    1) it’s based on jQuery
    2) the whole thing it’s really heavy (jQuery itself here is ~50kb)

    About first argument: Don’t get me wrong, I don’t have anything against jQuery. But it’s just not efficient to use it if what you’re gonna do is couple simple things. You’ll use only several jQuery functions – but the browser still has to download the whole library.

    About second argument: I believe everything is clear here. :)

    That’s why I’m so big raw JavaScript fan.
    .-= Michal Kozak´s last blog ..michalkozak: http://goo.gl/sQEB – Creating a Furry Possum in Photoshop, very nice tutorial. =-.

    1. Saad Bassi

      I totally agreed with you. But you know javascript is hard to learn from a beginner’s point of view. One can easily use jquery. I agree with you that If you are using jquery for some simple things then better to do it with javascript to decrease the page load time.

      1. Michal Kozak

        Hi Saad, thanks for reply :).

        I’ll tell you more. You absolutely have to point with learning from scratch for beginners. Actually some people see JS as easy script language and connect it with some pop-up and blinking stuff on your page – when the truth is, JavaScript is actually object-oriented programming language with huge potential. But that comes with experience from working with it.

        But I’ll tell you more – I dare to say it’s >always< better to use raw JavaScript. Especially if your app/program is quite big and complicated.

        Why do I think is that? Because raw JavaScript will always, always be faster than any js-library out there. For example, what looks simple in jQuery, the $ function that grabs an element from the document – is not so simple. There are couple things happening before the element is returned to you. And with raw JS is simple document.getElementById for example. It's not efficient, imagine that you have like 50 of this $ jQUery function.

        Good example – Drawter developer realized that (http://drawter.com/) and changed all the $ to raw JS functions. It speeded up the app a lot.
        .-= Michal Kozak´s last blog ..michalkozak: http://goo.gl/sQEB – Creating a Furry Possum in Photoshop, very nice tutorial. =-.

  29. Integrate SexyBookmarks into any HTML page with JavaScript « BrightSpark

    [...] Thai Cao Go to Link Comments [...]

Leave a Reply