Archivlink: javarea.de Forum > JavaScript > Maustrailer Uhr / Datum(analog)
Vollständigen Link anzeigen: javarea.de Forum > JavaScript > Maustrailer Uhr / Datum(analog)

Pages: [1]

geschrieben von druckgott am 22.06.2006 - 10:18
Hallo ich habe mit diesem Script folgendes Problem bau ich es einfach in eine Html seite in wo sonst nix drin ist funktioniert es wunderbar bau ich es aber jetzt in eine PHP seite ein (natürlich nicht in den PHP bereich) bekomm ich wenn ich es mim IE aufmache unten links so ein kleines ausrufezeichen und er sagt folgeden fehler:

Zeile 216
Zeichen 447
Fehler Object erwartet

an was liegt das:

Hier noch der PHP code der seite wo das script auch drin ist:

hier noch der link zum script
http://www.javarea.de/index.php3?op....amp;id=382

PHP-Quelltext
1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
25: 
26: 
27: 
28: 
29: 
30: 
31: 
32: 
33: 
34: 
35: 
36: 
37: 
38: 
39: 
40: 
41: 
42: 
43: 
44: 
45: 
46: 
47: 
48: 
49: 
50: 
51: 
52: 
53: 
54: 
55: 
56: 
57: 
58: 
59: 
60: 
61: 
62: 
63: 
64: 
65: 
66: 
67: 
68: 
69: 
70: 
71: 
72: 
73: 
74: 
75: 
76: 
77: 
78: 
79: 
80: 
81: 
82: 
83: 
84: 
85: 
86: 
87: 
88: 
89: 
90: 
91: 
92: 
93: 
94: 
95: 
96: 
97: 
98: 
99: 
100: 
101: 
102: 
103: 
104: 
105: 
106: 
107: 
108: 
109: 
110: 
111: 
112: 
113: 
114: 
115: 
116: 
117: 
118: 

<?php defined"_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php if ( $my->id ) { initEditor(); } ?>

<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO?>" />

<?php mosShowHead(); ?>

<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ?>

<link href="css/template_css.css" rel="stylesheet" type="text/css" />

</head>

<a name="top"></a>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td class="lines"></td>
  </tr>
</table>

<div id="Banner" style="position:absolute; width:100%; height:50; z-index:6; left: 0; top: 0;"><img src="../templates/bluecoolpixx/images/coolpixx.png" width="321" height="50" />
</div>
<div id="tabscontainer" align="center">
  <div ="submenucontainer"></div>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td  class="pathway" valign="center" align="left" >
      <div id="Pfad" style="position:absolute; width:400px; height:15; z-index:5; left: 1%; top: 88px;">  <div align="left">
    <img hspace="5" src="templates/bluecoolpixx/images/arrow.gif" border="0" alt="arrow" /><?php mosPathWay(); ?>
  </div>
</div>
  </td>
      <td class="pathway" valign="text-middle" align="right">
            <div id="DatumUhr" style="position:absolute; width:250px; height:15; z-index:5; left: 75%; top: 88px;">
  <div align="left">
          <?  
          $zeit 
date('H:i:s');
          
$datum date('d.m.Y');
echo 
"<font color='#FFFFFF' size='-1,5'>Datum:</font></font><font color='#FFFFFF' size='-1,5'>$datum 
Uhrzeit: 
$zeit</font>";
?>
  </div>
</div>
</td>
  </tr>
  </table>
</div><div id="container">
<table id="header_photo"><tr><td>
<table id="search_top" width="150"  border="0" cellspacing="0" cellpadding="0" valign="top">
  <tr valign="top">
    <td width="10"><img src="templates/bluecoolpixx/images/search.png" /></td>
    <td width="140"><form action="index.php" method="post">
        <div align="center"><strong></strong>
          <input class="inputbox" type="text" name="searchword" size="15" value="<?php echo _SEARCH_BOX?>"  onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX?>') this.value='';" />    
  <input type="hidden" name="option" value="search" />
  </div>
</form></td>
  </tr>
</table>
   </td></tr></table>
<table id="content" border="0" cellpadding="3" cellspacing="0" width="775">
  <tr>
    <td  width="133" valign="top" height="100%">
      <table class ="boxes_left" width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="#CCCCCC">
        <tr>
          <td valign="top"><?php mosLoadModules 'left' ); ?></td>
        </tr>
      </table>
    </td>
        <br>
    <td width="100%" valign="top" class="boxes">
<table width="100%" cellpadding="0" cellspacing="0" class="blog">
  <tr>
          <td valign="top"><?php mosMainBody(); ?></td>
        </tr></table>            
        <div class="back_button">
            <a href='javascript:history.go(-1)'>            </a>
        </div>
 </td>
    <!-- Show only on non content pages -->
        <td width="1%" align="right" valign="top">
          <table width="100%" class ="boxes_right" bgcolor="#CCCCCC" border="0" cellspacing="0" cellpadding="3">
            <tr>
   <td valign="top"><?php
    
if ( mosCountModules'newsflash' ) ) {
      
mosLoadModules 'newsflash' );
//, -2 kommt dafür rein das oben der grüne Balken nicht angzeigt wird
    
} else { }?>
      <p></p><?php mosLoadModules 'right' ); ?></td>
            </tr>
          </table>
      </td>
  </tr>
</table>
<div align="center"></div>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#000000"> </td>
  </tr>
  <tr>
    <td align="center" valign="middle" >
      <table width="461"  border="0" cellpadding="0" cellspacing="0">
<tr><td><img src="templates/bluecoolpixx/images/bottom.gif" width="775" height="50" /></td></tr>
      </table>
</td>
  </tr>
</table>
</div>
Hier ist das Script dann drin geht jetzt wegen den Zeichen nicht aber das funktioniert ja sonst normal nur hier drin eben icht
</body>

</html>



danke

geschrieben von Micha am 22.06.2006 - 23:11
Hi,

lad die Seite mal hoch, das man es sehen kann. Es reicht, wenn Du eine temporäre Demoseite erstellst! So kann man Dir nicht helfen im Moment.

Micha


Powered by: JBB v.2.0.4 Copyright ©2000-2006, www.javarea.de.