SexyBookmarks - Un petit plugin pour le partage de l'utile et intéressant Liens sur les services signet célèbre sociale (si vous ne savez toujours pas ce sujet ou si vous voulez en savoir plus, s'il vous plaît aller à sa page d'accueil). SexyBookmarks prend en charge que quelques flatforms populaire, et que vous utilisez uniquement ce plug-in si vous utilisez Wordpress, Joomla, bbPress et encore plus est Firefox (information page d'accueil de SexyBookmarks's). SexyBookmarks dans votre page personnelle, seulement avec HTML, CSS et JavaScript; aucun serveur exigence de côté.
- Demo
- Agrandir
- Recharger
- New window
Gratuit iPage h�bergement Web pour la premi�re ann�e MOMENT
Si vous �tes toujours � la recherche d'un fournisseur d'h�bergement Web fiable avec des tarifs abordables, pourquoi vous ne prenez pas un peu de temps pour essayer iPage, seulement avec $1.89/month, inclus $500+ Cr�dits suppl�mentaires gratuites pour le paiement de 24 mois ($45)?
Plus de 1.000.000 de clients + existisng peuvent pas avoir tort, vraiment vous n'�tes pas aussi! Plus important encore, lorsque vous enregistrez l'h�bergement web � iPage gr�ce � notre lien, nous allons �tre heureux de renvoyer un plein remboursement. C'est g�nial! Vous devriez essayer iPage h�bergement web GRATUITEMENT maintenant! Et contactez-nous pour tout ce que vous devez savoir sur iPage.
SexyBookmarks - a small plugin for sharing the useful & helpful links on the famous social bookmark services (if you still don't know about it or you want to learn more, please go to its homepage). The advantages of this plug-in are:
- super easy to install and use, just upload necessary files then setup
- very beautiful design & icons
- easy to custom the layout
- 50+ social sites to choose
- Admin Control Panel
Now, SexyBookmarks only supports some popular flatforms, and you only use this plug-in if you're using Wordpress, Joomla, bbPress and further more is Firefox (information from SexyBookmarks's homepage).
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; but this release still satisfy most of the circumstances. With different platforms, please query the search engines for the installation guides.
1. Preparation
- js/sexy-bookmarks-public.js
- css/style.css
- images/sexy-sprite.png
2. Programming some JavaScript code lines
/* click handler for SexyBookmarks Credit: Phong Thai Cao - http://www.JavaScriptBank.com Please keep this creadit when you use this code */ jQuery('.sexy-bookmarks a.external').click(function() { // get the current URL & encode it into the standard URI var url = encodeURIComponent(window.location.href), desc = ''; // parse the description for the above URL by the text() method of jQuery // the text must be placed in the P tag with ID="sexy-bookmarks-content" // so you can change the container of description with another tag and/or another ID if( jQuery('p.sexy-bookmarks-content').length ) { desc = encodeURIComponent(jQuery('p.sexy-bookmarks-content').text()); } // detect the social bookmark site user want to share your URL // by checking the className of site that we'll declare in the HTML code // and assign the URL & description we got into the current anchor // then redirect to the clicked bookmark site, you can use window.open() method for opening the new window switch(this.parentNode.className) { case 'sexy-twittley': this.href += '?title=' + document.title + '&url=' + url + '&desc=' + desc + '&pcat=Internet&tags='; break; case 'sexy-digg': this.href += '?phase=2&title=' + document.title + '&url=' + url + '&desc=' + desc; break; case 'sexy-twitter': this.href += '?status=RT+@your_twitter_id:+' + document.title + '+-+' + url; break; case 'sexy-scriptstyle': this.href += '?title=' + document.title + '&url=' + url; break; case 'sexy-reddit': this.href += '?title=' + document.title + '&url=' + url; break; case 'sexy-delicious': this.href += '?title=' + document.title + '&url=' + url; break; case 'sexy-stumbleupon': this.href += '?title=' + document.title + '&url=' + url; break; case 'sexy-mixx': this.href += '?title=' + document.title + '&page_url=' + url + '&desc=' + desc; break; case 'sexy-technorati': this.href += '?add=' + url; break; case 'sexy-blinklist': this.href += '?Action=Blink/addblink.php&Title=' + document.title + '&Url=' + url; break; case 'sexy-diigo': this.href += '?title=' + document.title + '&url=' + url + '&desc=' + desc; break; case 'sexy-yahoobuzz': this.href += '?submitHeadline=' + document.title + '&submitUrl=' + url + '&submitSummary=' + desc + '&submitCategory=science&submitAssetType=text'; break; case 'sexy-myspace': this.href += '?t=' + document.title + '&u=' + url; break; case 'sexy-facebook': this.href += '?t=' + document.title + '&u=' + url; break; case 'sexy-designfloat': this.href += '?title=' + document.title + '&url=' + url; break; case 'sexy-devmarks': this.href += '?posttitle=' + document.title + '&posturl=' + url + '&posttext=' + desc; break; case 'sexy-newsvine': this.href += '?h=' + document.title + '&u=' + url; break; case 'sexy-google': this.href += '?op=add&title=' + document.title + '&bkmk=' + url; break; } })
3. Declaring
<script type="text/javascript" src="path/to/directory/js/jquery.js"></script> <script type="text/javascript" src="path/to/directory/js/sexy-bookmarks-public.js"></script> <link rel="stylesheet" type="text/css" href="path/to/directory/css/style.css" media="screen" />
4. Setup HTML code
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-center sexy-bookmarks-bg-sexy"> <ul class="socials"> <li class="sexy-twittley"><a href="http://twittley.com/submit/" rel="nofollow" class="external" title="Submit this to Twittley">Submit this to Twittley</a></li> <li class="sexy-digg"><a href="http://digg.com/submit" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li> <li class="sexy-twitter"><a href="http://twitter.com/home" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li> <li class="sexy-scriptstyle"><a href="http://scriptandstyle.com/submit" rel="nofollow" class="external" title="Submit this to Script & Style">Submit this to Script & Style</a></li> <li class="sexy-reddit"><a href="http://reddit.com/submit" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li> <li class="sexy-delicious"><a href="http://del.icio.us/post" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li> <li class="sexy-stumbleupon"><a href="http://www.stumbleupon.com/submit" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li> <li class="sexy-mixx"><a href="http://www.mixx.com/submit" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a></li> <li class="sexy-technorati"><a href="http://technorati.com/faves" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a></li> <li class="sexy-blinklist"><a href="http://www.blinklist.com/index.php" rel="nofollow" class="external" title="Share this on Blinklist">Share this on Blinklist</a></li> <li class="sexy-diigo"><a href="http://www.diigo.com/post">Post this on Diigo</a></li> <li class="sexy-yahoobuzz"><a href="http://buzz.yahoo.com/submit/" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a></li> <li class="sexy-myspace"><a href="http://www.myspace.com/Modules/PostTo/Pages/" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a></li> <li class="sexy-facebook"><a href="http://www.facebook.com/share.php" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a></li> <li class="sexy-designfloat"><a href="http://www.designfloat.com/submit.php" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a></li> <li class="sexy-devmarks"><a href="http://devmarks.com/index.php" rel="nofollow" class="external" title="Share this on Devmarks">Share this on Devmarks</a></li> <li class="sexy-newsvine"><a href="http://www.newsvine.com/_tools/seed&save" rel="nofollow" class="external" title="Seed this on Newsvine">Seed this on Newsvine</a></li> <li class="sexy-google"><a href="http://www.google.com/bookmarks/mark" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a></li> </ul> </div>
5. Done
Conclusion
- With this JavaScript code, you'll able to change/update SexyBookmarks easily by editing codes above.
- Easy to change the slogan of SexyBookmarks: Sharing is Caring, Sharing is Sexy, Share the Love, Share the Wealth, Share and Enjoy. Just edit the CSS style, or you can make it appear randomly by using JavaScript, contact me if you need.
Hope you like this post and find some helpful things in this, leave me any comment/thought if you want. Hope see you in the next post soon.
-->Author: Phong Thai Cao
Admin of JavaScriptBank.com: provide you thousands of free JavaScript code, DHTML, tutorials, examples, reference and help.
- Sent (0)
- Nouveau
Générez vos vidéos d'entreprise par l'IA avec la voix ou simplement du texte
chatGPTaz.com
Parlez à ChatGPT dans votre langue maternelle
AppAIVidéo
Votre première application vidéo AI GRATUITE
Deepfake Video
Deepfake AI Video Maker
Deepfake
Deepfake AI Video Maker
AI Deep Fake
Deepfake AI Video Maker
AIvidio
AI Video Mobile Solutions
AIvideos
AI Video Platform & Solutions
AIvedio
AI Video App Maker
Faceswap AI en ligne
Échangez des visages, des vidéos, des photos et des GIF instantanément avec de puissants outils d'IA - Faceswap AI Online GRATUIT
Faceswap AI en ligne
Échangez des visages, des vidéos, des photos et des GIF instantanément avec de puissants outils d'IA - Faceswap AI Online GRATUIT
Temu gratuit 500 $ pour les nouveaux utilisateurs
Claim Free Temu $500 Credit via Affiliate & Influencer Program
Crédits publicitaires TikTok gratuits
Maîtrisez les publicités TikTok pour le marketing de votre entreprise
Dall-E-OpenAI.com
Générez automatiquement des images créatives avec l'IA
chatGPT4.win
Parlez à ChatGPT dans votre langue maternelle
Premier produit d'intelligence artificielle d'Elon Musk - Grok/UN.com
Parlez au chatbot Grok AI dans votre langue
Outily.win
Centre d'outils ouvert et gratuit, utilisable par tous et pour tous, avec des centaines d'outils
GateIO.gomymobi.com
Airdrops gratuits à réclamer et à partager jusqu'à 150 000 $ par projet
iPhoneKer.com
Économisez jusqu'à 630 $ à l'achat d'un nouvel iPhone 16
Acheter le robot Tesla Optimus
Commandez votre robot Tesla Bot : Optimus Gen 2 dès aujourd'hui pour moins de 20 000 $
Something isn\'t working R�ponse
Firstly, I love the sexy bookmarks, adds some real class to my site.
Now for the problem bit. I designed my site in dreamweaver, got the sexy bookmarks working lovely. Uploaded the files to my web server and now it doesn't work.
I can see a set of links in a long list, but for some reason they are not converting over to the bookmark images. When I look, the file paths all look correct, the image files, js and css files also look like they are in place and yet it still won't work. Not confident in mucking about with js so I haven't ammended anything in there. I thought it might be the file path to the image but it looks ok. Not sure what else to try.
Any suggestions, have you had this issue before.
can I see your live demo @ Andy R�ponse
I think you did some thing wrong, can you show your live demo?
ok so that\'s weird lol R�ponse
I did a few things to check the links were pointing to the right places but they were so can't see how that would have put anything right.
Anyhow, I shut my browser down by mistake, when I reopened it, the sexy bookmarks started working. Strange!
So, all is ok and I'm loving my new site and of course the sexy bookmarks.
Thanks for your post on setting it up. You get my vote for president!
Nope not working in my browser R�ponse
Anyhow, it just doesn't seem to wanna play ball. I'll go back and check the paths again but I'm sure they're right.
It's crazy cos it works on my localhost.
R�ponse
Well I knew it would be user error, I just was having a hard time figuring out what I'd done wrong.
All is ok now and it's looking great.
Thanks again for the post on this.
@ Andy R�ponse
hope you'll have many awesome features from it