- This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi to all!!
I’m working with XHTML STRICT and I have a .js into the index for a image_slider. The issue is that the validator finds 3 ERRORS cause this .js inside the index, the 3 ERRORS are about the tag image…
So I tried two things: I tried to change this <> in this
> <<
and also I tried to add this
just to cover the code, but the result was the same: the slider didn't work anymore.
The only thing that I think I can do now is to put the .js into an external file, but for first I'd like to find and also to know a good solution to solve this situation.
Part of the code with the tag image:
$images.each(function(){
var $img = $(this);
$('
').load(function(){
++loaded;
if(loaded == total_elems*2){
$pxs_loading.hide();
$pxs_slider_wrapper.show();
Any suggestion please??
Thanks to all!!
I really hate saying this. Why are you not using an HTML5 doctype?
I really love you say that!! Well anyway the answer is so simple, just because I used a slider made in xhtml strict 1.0 that’s why, but there is another reason: I don’t know HTML5. Is there a large different between them?
Thanks for the answer!!
What does it mean this please? I miss something…
Warning DOCTYPE Override in effect!
The detected DOCTYPE Declaration “” has been suppressed and the DOCTYPE for “XHTML 1.0 Strict” inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.
I changed as you wrote but it says this:
“No Character Encoding Found! Using iso-8859-1.”
And also this:
“No DOCTYPE found!”
But it really doesn’t matter, I’ll understand all this stuff and rules in the future!
Many thanks again!!!
You could post a link or paste your HTML
I meant your whole page document.