βοηθεια για validation

Ερωτήσεις και απαντήσεις σχετικές με την HTML, XHTML και την κατασκευή σελίδων για το Web.

Συντονιστές: WebDev Moderators, Super-Moderators

Απάντηση
H_TSOPELAS
Δημοσιεύσεις: 16
Εγγραφή: 31 Αύγ 2010 21:33

βοηθεια για validation

Δημοσίευση από H_TSOPELAS » 13 Αύγ 2011 17:23

kalisera se olous, exv ena themataki me to validation sthn selida moy. moy bgazei 1 error to opoio leei:

Κώδικας: Επιλογή όλων

Line 261, Column 129: there is no attribute "onload"

…mes/default/images/opened.gif" onload="javascript:dojo.addOnLoad(function(){va…

✉

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&#58; check the spelling and case of the element and attribute, &#40;Remember XHTML is all lower-case&#41; 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.
sti 261 grammi o kodikas einai: <img alt="image menu" style="display:none;" src="/demo/modules/mod_jo_accordion/themes/default/images/opened.gif" onload="javascript:dojo.addOnLoad(function(){var accordion = new WWAccordion({node : dojo.byId('offlajn-accordion-100'), mode: 'onclick', interval: '500', level : 0})});" />

kai sto arxeio poy to breika leei: <img alt="image menu" style="display:none;" src="modules/<?php echo $module->module; ?>/themes/default/images/opened.gif" onload="javascript:dojo.addOnLoad(function(){var accordion = new WWAccordion({node : dojo.byId('<?php echo $GLOBALS['id']; ?>'), mode: '<?php echo $params->get( 'mode', 'onclick' ); ?>', interval: '<?php echo $params->get( 'duration', '500' ); ?>', level : 0})});" />


opoios mporei na katalabei ti ginete as riksei kamia idea giati den eimai eidikos...

Απάντηση

Επιστροφή στο “HTML και XHTML”

Μέλη σε σύνδεση

Μέλη σε αυτήν τη Δ. Συζήτηση: Δεν υπάρχουν εγγεγραμμένα μέλη και 0 επισκέπτες