Hi,
i added a countdown with this module an now i have on the pages where the countdown is shown on the Top the //--> characters. IE and Safari shows this error. With Firefox i can't see it. The W3C Validator put 9 Errors and 3 warnings out. The following code is bad:
<!-- Layout -->
<!-- <div id="header-region" class="clear-block"><div id="block-countdown-0" class="block block-countdown">
<div class="blockheadline">Countdown bis zum Stammeslager</div>
<div class="content"><em>38</em> Tage, <em>15</em> Stunden, <em>3</em> Minuten bis <em>Blidingsholm Schweden</em><script type="text/javascript"><!--
init_countdown('m');
// --></script></div>
</div>
</div> //-->
This shows the w3c validator: http://validator.w3.org/check?uri=www.dpsg-nordkirchen.de&charset=(detect+automatically)&doctype=Inline&group=0
What can i do?
Thanks for your help
strauch
Comments
Comment #1
deekayen commentedThat is indeed not the intended output. Please outline how what you did to reproduce this output.
Comment #2
dman commentedFrom that view-source, it appears you've got nested comments. That is, the inner script with comment is produced by the module, but you've added other comments in your theme - probably page.tpl.php - and that's caused the conflict.
Is this just user error?
Comment #3
deekayen commented@dman, that's my current thinking, but perhaps there's an alternate configuration strauch is using that I hadn't considered in the design of the module's JS insert. That's why I asked for more info.
Comment #4
strauch commentedHi,
i have no idea if this is what you want to hear..... so i try it:
i changed something in my theme, so that the header ist in the main text area over the headline. I set the countdownblock to header and set the settings for this block, and i have the error.
Maybe it helped if you see the sourcecode from www.dpsg-nordkirchen.de ? mhh in the evening i have a look at my theme may i find something.
Greetings
strauch
Comment #5
deekayen commentedNow that I see the entire source, I'm almost positive the problem is in your theme. If you remove the
<!--after<!-- Layout -->and the//-->after that second</div>, probably in your page.tpl.php, it should clear up.I didn't look around more much more than the countdown area, but I bet the
class="sidebars"in your body tag doesn't belong there, either.Comment #6
strauch commentedThanks for your help, i will test i tonight :).