Buongiorno a tutti,
premetto che sono abbastanza neofita dell'argomento e mi sto cimentando ora per la prima volta a fare un sito tutto mio.
Ho usato un template responsive, e visualizzavo abbastanza bene il sito su tutti i device, da desktop al mobile. Nel momento in cui ho inserito il seguente script nella homepage, nei mobile vedo solo una pagina bianca in cui si vede solo le scritte che mi fa visualizzare lo script.
Se può servire il sito è questo

lo script è quello che fa vedere il countdown...

il codice è il seguente:
codice:
<div  id="countdown" >
    <table  class ="coutdown_desktop" style="background-image: url('images/bg_countdown.gif'); border: 1px dotted #b32682; text-align: center; font-family: 'Indie Flower', cursive; font-size: 12pt; color: #b32682; width: 400px; margin: auto;">
	<tbody>
	    <tr>
		<td>[img]images/sposini.png[/img]</td>
		<td>
		    <script type="text/javascript">
			var before = "Ludovica & Alessandro ";
			var current = "Ludovica & Alessandro... Oggi sposi!!!";
			var montharray = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
			function countdown(yr, m, d) {
			    var today = new Date();
			    var todayy = today.getYear();
			    if (todayy < 1000) {
				todayy += 1900;
			    }
			    var todaym = today.getMonth();
			    var todayd = today.getDate();
			    var todaystring = montharray[todaym] + " " + todayd + ", " + todayy;
			    var futurestring = montharray[m - 1] + " " + d + ", " + yr;
			    var difference = (Math.round((Date.parse(futurestring) - Date.parse(todaystring)) / (24 * 60 * 60 * 1000)) * 1);
			    if (difference === 0) {
				document.write(current);
			    } else if (difference > 0) {
				document.write(before + "
...Sposi tra " + difference + " giorni!!");
			    } else if (difference < 0) {
				var da_gg = (difference * (-1));
				document.write("Ludovica e Alessandro sposi da " + da_gg + " giorni!!");
			    }
			}
			countdown(2014, 5, 31);

		    </script>
		</td>
	    </tr>
	</tbody>
    </table>
</div>
Spero di essere stata chiara e che mi sappiate aiutare!
Grazie