mundo malesuada® Index du Forum
mundo malesuada® Index du ForumFAQRechercherS’enregistrerConnexion

Php Custom Facebook Like Button

Poster un nouveau sujet   Répondre au sujet    mundo malesuada® Index du Forum -> Divers -> Galerie
Sujet précédent :: Sujet suivant  
Auteur Message
Membres de la guilde

Hors ligne

Inscrit le: 01 Avr 2016
Messages: 129
Localisation: Marseille

MessagePosté le: Mar 9 Jan - 13:31 (2018)    Sujet du message: Php Custom Facebook Like Button Répondre en citant

Php Custom Facebook Like Button

Have a look at our navigation menu, as well as the list of categories in the right sidebar of the page. I do not know your server structure, so its hard for me to build a complete example but this should get you off your feet! File: Index.php // query the database and check to see if there is a record for this content piece and ip address // select count() from statistics where contentId='1' and ip='' limit 1; $contentLiked = false; ?> like unlike File: site.js $(document).ready(function() { $('.likeButton').click(function() { var contentId = $(this).attr('rel'); var link = this; if(!$(link).hasClass('liked')) { $.post("like.php", { Id: contentId }).done(function(data) { if(data) { $(link).addClass('liked'); $(link).html('liked'); } }); } }); }); File: like.php shareimprove this answer answered Jun 5 '13 at 1:35 Jonathan Christensen 9310 That seems to work almost flawlessly, except in the like.php file I had to change the first line from vs. WHAT CAN YOU DO? Use the search box at the top of the page to find the information you were looking for. Random jQuery Plugins Ajax-enabled jQuery Balloon Tooltip Plugin - mb.balloon Add CSS Classes To Elements As In Viewport - in-viewport-class Lightweight jQuery Animated Counter Plugin Google Calendar Like jQuery Time Picker Plugin - Timepicker.js jQuery Plugin To Lazy Load Images After Page Load - siLoader Minimalist jQuery News Ticker Plugin - Newsticker Add Your Review Please enable JavaScript to view the comments powered by Disqus. More. We'll be very grateful. Stack Overflow Questions Jobs Developer Jobs Directory Salary Calculator Help Mobile Stack Overflow Business Talent Ads Enterprise Company About Press Work Here Legal Privacy Policy Contact Us Stack Exchange Network Technology Life / Arts Culture / Recreation Science Other Stack Overflow Server Fault Super User Web Applications Ask Ubuntu Webmasters Game Development TeX - LaTeX Software Engineering Unix & Linux Ask Different (Apple) WordPress Development Geographic Information Systems Electrical Engineering Android Enthusiasts Information Security Database Administrators Drupal Answers SharePoint User Experience Mathematica Salesforce ExpressionEngine Answers Stack Overflow em Portugus Blender Network Engineering Cryptography Code Review Magento Software Recommendations Signal Processing Emacs Raspberry Pi Stack Overflow Programming Puzzles & Code Golf Stack Overflow en espaol Ethereum Data Science Arduino Bitcoin more (26) Photography Science Fiction & Fantasy Graphic Design Movies & TV Music: Practice & Theory Worldbuilding Seasoned Advice (cooking) Home Improvement Personal Finance & Money Academia Law more (16) English Language & Usage Skeptics Mi Yodeya (Judaism) Travel Christianity English Language Learners Japanese Language Arqade (gaming) Bicycles Role-playing Games Anime & Manga Puzzling Motor Vehicle Maintenance & Repair more (32) MathOverflow Mathematics Cross Validated (stats) Theoretical Computer Science Physics Chemistry Biology Computer Science Philosophy more (10) Meta Stack Exchange Stack Apps API Data Area 51 Blog Facebook Twitter LinkedIn site design / logo 2018 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required. No worries - thats what Duct Tape is for! Let's try that again - perhaps you can find what you were looking for here: . rev2018.1.8.28313 . Basically, a button that, when clicked - changes to a new graphic (letting you know you clicked it), can't be clicked again, and sends to a php script so the server knows what you liked. All rights reserved. 404 Error Unfortunately, the page you've requestedcannot be displayed. Free jQuery Plugins and Tutorials jQuery Script - Free jQuery Plugins and Tutorials Search Home Categories Latest jQuery Plugins Most Popular Plugins Recommended Plugins Blog . No spam, we promise! You Might Like: Back to topBootstrapCarouselCountdownDropdown MenuForm ValidationGrid LayoutMagnifierModalMouse HoverNews TickerNotificationParallaxPinterest LayoutPopupPortfolioProgress BarResponsiveScrollSide MenuTabsTimelineTree ViewVideo Most Popular In This Category: Most PopularRecommended Export Html Table To Excel Spreadsheet using jQuery - table2excel 324615 views - 05/26/2017 Full Width Responsive Carousel with jQuery and Bootstrap 3 315438 views - 06/30/2014 jQuery Multiple Select Plugin For Bootstrap - Bootstrap Multiselect 284397 views - 01/03/2018 Nivo Slider - Awesome jQuery Slider Plugin 242951 views - 01/19/2013 Super Simple Modal Popups with jQuery and CSS3 Transitions 224754 views - 12/03/2014 Simple jQuery Plugin For Opening A Popup Window On Page load 220306 views - 08/14/2014 Powerful Form Validation Plugin For jQuery and Bootstrap 3 216300 views - 02/24/2015 Beautiful jQuery File Upload Plugin with Bootstrap 209460 views - 12/01/2017 Responsive Photo Gallery with jQuery and Bootstrap 3 199847 views - 03/01/2015 Sliding Side Menu/Panel with jQuery and Bootstrap - BootSideMenu 177806 views - 12/29/2017 More Popular Plugins Powerful Dynamic Tree Plugin With jQuery - jsTree 221 views - 01/09/2018 Simple Flexible jQuery Autocomplete Plugin - Flexdatalist 12956 views - 01/09/2018 Easy Data Table Generator with jQuery and JSON - Tabulator 14191 views - 01/09/2018 Full-featured Star Rating Plugin For jQuery - Raty 2567 views - 01/09/2018 Responsive CSS3 Animated jQuery Modal Plugin - iziModal 11481 views - 01/08/2018 Google Snippet & Facebook Link Preview Plugin With jQuery - SEO Preview 129 views - 01/07/2018 Slick and App-Like Sliding Menu Plugin With jQuery - Mmenu 104352 views - 01/06/2018 Sticky Scrolling/Reading Progress Indicator With jQuery 105 views - 01/06/2018 jQuery Plugin For Ajaxifying Your Website - Ajaxify 579 views - 01/06/2018 jQuery Plugin For Displaying Social Network Feed - Social Feed 15026 views - 01/05/2018 More Recommended Plugins Follow us: Follow jqueryscript About jQuery Script Free jQuery Plugins and Tutorials - One of the BEST jQuery websites that provide web designers and developers with a simple way to preview and download a variety of Free jQuery Plugins. Please feel free to return to the home pageor use thesearch boxin the upper area of the page to find the information you were looking for. Blog Contact Us Free Tools Terms of Service . Report this error using ourcontact form. CDN-Hosted jQuery Library: Copyright 2012-2017 jQueryScript.Net - Privacy Policy -Sitemap - RSS Feed . comments powered by Disqus Categories: All jQuery Plugins Accordion (105) Animation (730) Chart & Graph (137) CSS3 & Html5 (31) Form (931) Gallery (249) Layout (414) LightBox (372) Loading (214) Menu & Nav (695) Mobile (37) Others (1874) Rotator (85) Slider (650) Slideshow (274) Social Media (163) Table (235) Text (385) Time & Clock (341) Tooltip (117) Zoom (123) Get Free Updates Get Weekly Email on latest Web & Graphic Design freebies. –showdev Jun 5 '13 at 0:17 your sources for the iframes could be –Orangepill Jun 5 '13 at 0:51 add a comment 2 Answers 2 active oldest votes up vote 1 down vote Hopefully this makes sense. There, you might find the information you were looking for, as well as other useful articles that you might be interested in. Which to use?2146How can I know which radio button is selected via jQuery?454How to get useful error messages in PHP?385Frame Buster Buster … buster code needed55Facebook “Like” button callback1175How to create an HTML button that acts like a link?3475Reference What does this symbol mean in PHP?1473How does PHP 'foreach' actually work? Hot Network Questions Is there a way to safely have exposed electrical wires? What is the mistake in "There are many Danes who speak English"? Why do airports, not airlines, determine what can be taken on board? If a photoshoot doesn't represent my best work, should I offer to reshoot? How do I get other players to ask about my backstory? What is the smallest geological change possible to make human evolution untraceable? When ratio test fails How to get apex job id based on future call Is verifying ISOs downloaded from the official website worthwhile? Why would extra fuel be needed to de-orbit the ISS (if it comes to that)? How to draw a directed graph to show the relations among some notions? Is it possible that evolution brought human kind morality? Should company name in logo be an image or text? Recursive Collatz Conjecture The Ultimate Typo See full VF page exception VF: /apex/Exception What is the Powershell syntax for adding and removing items from a TreelistEx field? Under what conditions would humanoids evolve eyes in the backs of their heads? United Airlines joined my first name and middle name on boarding pass. It appears that you've lost your way either through an outdated link or a typo on the page you were trying to reach. Stack Overflow works best with JavaScript enabled .. Disclaimer We are not affiliated with Facebook, YouTube, Instagram, or Twitter. Most Popular Categories jQuery Slider Plugins jQuery Slideshow Plugins jQuery Menu Plugins jQuery Table Plugins jQuery Gallery Plugins Keep in touch with us Site Links Submit Plugins & News / Contact us . Questions? Just want to say hi? Contact us . more stack exchange communities company blog Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Log In Sign Up . Email Sign Up or sign in with Google Facebook Custom simple like button (not facebook) Ask Question up vote 2 down vote favorite 2 I'm looking for the easiest way to add a simple like button to my site. Packages Local Jumpstart Catalyst Department Home A la carte SEO Websites Online Audit System Course Syllabus Login Consultants Overview Consultant Toolkit Prospectus About Company Hire John to Speak Books Blog Podcast Contact Us Find a Consultant      866-DUC-TAPE (382-8273)Made with Privacy Policy Packages A la carte System Consultants About 866-DUC-TAPE (382-8273)Made with Privacy Policy      . Our Services Home FAQs Free Likes Privacy Policy . The Facebook logo, the Like button and thumb, the Instagram logo, the YouTube logo, the Twitter logo, and any other marks are all registered trademarks of their respective owners 5a02188284
how to create the facebook applicationsomeone hacked my facebook account what can i dofacebook ber wlan hacken appfacebook comments plugin colorfacebook for ios active sessionfree download facebook app for nokia mobilefacebook app f r singleshow to increase facebook likes for your pagetips for marketing through facebookcomment d sactiver la notification vu sur le chat facebook

Revenir en haut

MessagePosté le: Mar 9 Jan - 13:31 (2018)    Sujet du message: Publicité

PublicitéSupprimer les publicités ?
Revenir en haut
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    mundo malesuada® Index du Forum -> Divers -> Galerie Toutes les heures sont au format GMT + 1 Heure
Page 1 sur 1

Sauter vers:  

Index | Panneau d’administration | creer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Template lost-kingdom_Tolede created by larme d'ange
Powered by phpBB © 2001, 2005 phpBB Group
Traduction par :