Hallo xchs,
da hatte ich ja wohl mal wieder das sprichwörtliche Brett vorm Hirn.....danke.
Jetzt habe ich also den Code soweit berichtigt, und auch im html-Teil folgende Änderungen vorgenommen:
HTML-Code:
<!-- CLIMA CLIMA CLIMA-->
<div id="clima">
<table>
<tbody>
<tr>
<td><span><strong>Valle de Elqui</strong></span></td>
<td><span><script type="text/javascript">
//<![CDATA[
document.write(muestraclima('Vicuña', 1, 'min'));
//]]>
</script>º / <script type="text/javascript">
//<![CDATA[
document.write(muestraclima('Vicuña', 1, 'max'));
//]]>
</script> º</span></td>
<td><script type="text/javascript">
//<![CDATA[
document.write(muestraclima('Vicuña', 1, 'icono'));
//]]>
</script></td>
</tr>
</tbody>
</table>
</div>
Und nun kriege ich wieder "undefined". Es ist doch nicht zu glauben....
Der Markup-Validator meldet nun auch keine Fehler mit dem Script mehr.
Wo am Code könnte das denn sonst noch liegen??
Sadara
Lesezeichen