Volledige versie bekijken : like button op website



slicky
26 January 2014, 21:09
hallo,

ik heb een website gemaakt voor mijn vrouw.
nu jaag ik die door de validator (http://validator.w3.org/check?uri=http%3A%2F%2Fusers.telenet.be%2FREVASO%2 FContact.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w 3.org%2Fservices) en daar krijg ik 6 errors op de code van de Facebook like knop.

hoe kan ik die het best oplossen? ik zou toch een foutloze website willen :good:

dit is de site www.retouchesrevaso.be (http://www.retouchesrevaso.be) deze staat op de webruimte van Telenet http://users.telenet.be/REVASO

de knop bevind zich op de contact pagina.

website is gemaakt in Dreamweaver in html.


alvast bedankt. :D

zorro670
26 January 2014, 21:17
Mischien heb je hier al iets aan?
http://www.tomdehaan.nl/facebook-like-button-op-je-website/
deze kan je op je computer downloaden, dan ga je naar het paneel klik op nieuwe plugins toevoegen en dan op bestand zoek deze dan waar hij staat klik hem aan en upload hem dan ook doe dat met de deze,link
http://geldgorilla.nl/plugins/geldgorilla-social-media-plugin.zip
http://developers.facebook.com/docs/reference/plugins/like


Mvg;)

zorro670
26 January 2014, 21:46
Waarom maak je geen gratisse site aan via word express veel gemakkelijker om allerlei te installeren en zeker de plugins.Ook in het nederlands, daarmee zou ik je kunnen helpen.Zie hier mijn blog, zelf gedaan en geplaatst

compuchrisje
26 January 2014, 23:52
Helaas heb ik die les net gemist, met voorbedachte rade evenwel omdat FB me geen snars interesseert. Ik haat trouwens de manier waarop je verplicht wordt om een account te maken om (in feite) openbare info over een bedrijf te kunnen vinden.

Maar de stencils heb ik nog en ik vraag me dus af of je de twee delen van de code wel op de juiste plaats hebt gezet (ééntje juist na de body tag en ééntje op de plaats waar de knop zit). Gebruik hier aparte div's voor, dat werkt netjes.
Kijk bij W3C ook eens wat verder, dan kan je zien waar juist de fout zit.

In een verkorte versie staat daar dit:



You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 53, column 33: there is no attribute "data-href"

<div class="fb-like" data-href="http://www.retouchesrevaso.be" data-width="300…

Line 53, column 76: there is no attribute "data-width"

…://www.retouchesrevaso.be" data-width="300" data-layout="standard" data-action…

Line 53, column 94: there is no attribute "data-layout"

…vaso.be" data-width="300" data-layout="standard" data-action="like" data-show-…

Line 53, column 117: there is no attribute "data-action"

…0" data-layout="standard" data-action="like" data-show-faces="true" data-share…

Line 53, column 140: there is no attribute "data-show-faces"

…="standard" data-action="like" data-show-faces="true" data-share="true"></div>

Line 53, column 158: there is no attribute "data-share"

…="standard" data-action="like" data-show-faces="true" data-share="true"></div>



Via de console van Firefox zou er een fout in het javascript zitten?

theo2602
27 January 2014, 00:32
Chrisje, ik begrijp jouw angst voor Facebook, maar dat helpt niet. Een kennis van mij overwintert in Spanje en dus kijk ik regelmatig naar de Webcam ter plaatse. Gevolg: aanbiedingen van hotels enz. op elke website die gesteund wordt door reclame (Youtube, facebook enz.)

slicky
27 January 2014, 07:25
ik heb eens de code in iframe genomen die geeft nu maar 1 fout meer aan, denk dat ik het zo zal laten :)