MyBB Community Forums

Full Version: W3C validator and javascript problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys ... I am creating a skin and, in theory, the 'I finished but I found a little problem, I built a javascript on MyBB and I do not know because it affects all of MyBB and no longer work, such as the collapse, the' editor and a lot a button .... Why? how can I do to ensure that there is this javascript function while those of MyBB?



Then I have another small problem ... When I scan with W3C Validator gives me errors that I do not understand how to solve (o.o '), type:


Quote:Line 111, Column 129: end tag for element "span" Which is not open
... <div Class="item_menu" /> List </ div> </ a> </ span> <span class="float_left">

The Validator found an end tag for the above element, But That element is not currently open. This Is Often Caused by a leftover end tag from an element That Was removed During editing, or by an implicitly closed element (if You Have an error related to an element Being Used Where It is not allowed, Almost Certainly this is the case). In the Latter case this error will disappear as soon as you fix the original problem.

If this error occurred in a script section of your document, You Should Probably read this FAQ entry.


the red arrow for him would be wrong, but it is not right? if not, how fix it? (All other 42 errors are so!)


Thanks to allSmile
From what i can see, the message is mostly telling you that you have an end tag "</ span>" without having a precedent begin tag like "<span>"...
Wink
Also can we have a url?
(2010-11-02, 06:04 PM)exdiogene Wrote: [ -> ]From what i can see, the message is mostly telling you that you have an end tag "</ span>" without having a precedent begin tag like "<span>"...
Wink

yes, there is a tag <span> initial!!! Confused

(2010-11-02, 06:06 PM)- G33K - Wrote: [ -> ]Also can we have a url?

yes!! http://downloadsafe.altervista.org
You're using jquery for your javascript framework while mybb uses prototype. Theres a conflict between these two.
You need to add noconflict code to overcome the conflict.

http://community.mybb.com/thread-79259.html
fantastic, but i don' t understend very good, could you summarize what should I do please? xD
It can't be made any simpler than this post - http://community.mybb.com/thread-79259-p...#pid579755
Cool, thank for all very very very very very very very very much, i resolved my problem.... Big GrinDD i add rep for all ;P So... Do you like my theme?