Hallo zusammen,
Ich bin einfach zu blöd und brauche Hilfe..!!
Ich habe mir hier einige sachen für meine HP ausgesucht , habe mir dann den Quelltext anteigen lassen und schwupp, traten auch schon einige Probleme auf.
Wie gesagt, ich habe mir den Quelltext anzeigen lassen und an einer bestimmten stelle stand da..."dieses Skript bitte nicht übernehmen"...
Jetzt meine Frage...:
Bis wohin kann ich den Text kopieren ?
Muss ich da noch was dran verändern?
Oh bitte falls ihr mir antwortet, dann bitte verständlich und bitte wenns geht auch auf deutsch, ich hab nämlich null ahnung
Hier mal der Quelltext..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<link rel="stylesheet" href="hp_mm.css" type="text/css">
<html>
<head>
<title>12/Std.Uhr-Datum</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
//Dieses Script bitte nicht übernehmen!
var Dateien = "../index.shtml?12_std.uhr-datum.html";
if (top.frameset_geladen + "" != "okay"){
if(document.images)
top.location.replace(Dateien);
else
top.location.href = Dateien ;
}
if (parent.frames.length>2) {
err_url = self.location.href;
window.onerror = top.reportError;
}
// -->
</script>
</head>
<body>
<b>12/Std.Uhr-Datum</b>
<p><table width=100% cellpadding=0 cellspacing=0 border=0><tr><td valign=top><BODY onLoad="startclock();">
die aktuelle Zeit und Datum :
<FORM NAME='jsfrm'><INPUT TYPE=text NAME='face' size=27 value=''>
</FORM>
<SCRIPT LANGUAGE="JavaScript">
<!--
var timerID = null
var timerRunning = false
function KHArray(size)
{
this.length = size;
for(var i = 1; i <= size; i++)
{
this = "";
}
return this;
}
function stopclock (){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false
}
function showtime () {
var now = new Date();
var year = now.getYear();
var month = now.getMonth() + 1;
var date = now.getDate();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var day = now.getDay();
Day = new KHArray(7);
Day[0]="SON";
Day[1]="MON";
Day[2]="DIE";
Day[3]="MIT";
Day[4]="DON";
Day[5]="FRE";
Day[6]="SAM";
var timeValue = "";
timeValue += (Day[day]) + " ";
timeValue += date + "-";
timeValue += ((month < 10) ? " 0" : "") + month + "-";
timeValue += year + " ";
timeValue += ((hours <= 12) ? hours : hours - 12);
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
timeValue += (hours < 12) ? " AM" : " PM";
document.jsfrm.face.value = timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true
}
function startclock () {
stopclock();
showtime()
}
//-->
</SCRIPT>
<p>
<p>
<form>
<input type="button" value="Quelltext" onclick='window.location = "view-source:" + window.location.href'>
</form>
</td>
<td> </td>
<td valign=top>
<script type="text/javascript"><!--
google_ad_client = "pub-5189769012724419";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="4285903912";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr></table>
<p>
<br><hr align="center" size="1" width="50%">
<center>
meine eMail: <a href="mailto:js@webaid.de" class=linkint>js@webaid.de</a><br>
meine Homepage: <a href="http://www.mywebaid.de" target="_top" class=linkint>http://www.mywebaid.de</a><br>
</center>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" src="../ms.js">
<!--
//-->
</SCRIPT>
</body>
</html>
Ich bin einfach zu blöd und brauche Hilfe..!!
Ich habe mir hier einige sachen für meine HP ausgesucht , habe mir dann den Quelltext anteigen lassen und schwupp, traten auch schon einige Probleme auf.
Wie gesagt, ich habe mir den Quelltext anzeigen lassen und an einer bestimmten stelle stand da..."dieses Skript bitte nicht übernehmen"...
Jetzt meine Frage...:
Bis wohin kann ich den Text kopieren ?
Muss ich da noch was dran verändern?
Oh bitte falls ihr mir antwortet, dann bitte verständlich und bitte wenns geht auch auf deutsch, ich hab nämlich null ahnung
Hier mal der Quelltext..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<link rel="stylesheet" href="hp_mm.css" type="text/css">
<html>
<head>
<title>12/Std.Uhr-Datum</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
//Dieses Script bitte nicht übernehmen!
var Dateien = "../index.shtml?12_std.uhr-datum.html";
if (top.frameset_geladen + "" != "okay"){
if(document.images)
top.location.replace(Dateien);
else
top.location.href = Dateien ;
}
if (parent.frames.length>2) {
err_url = self.location.href;
window.onerror = top.reportError;
}
// -->
</script>
</head>
<body>
<b>12/Std.Uhr-Datum</b>
<p><table width=100% cellpadding=0 cellspacing=0 border=0><tr><td valign=top><BODY onLoad="startclock();">
die aktuelle Zeit und Datum :
<FORM NAME='jsfrm'><INPUT TYPE=text NAME='face' size=27 value=''>
</FORM>
<SCRIPT LANGUAGE="JavaScript">
<!--
var timerID = null
var timerRunning = false
function KHArray(size)
{
this.length = size;
for(var i = 1; i <= size; i++)
{
this = "";
}
return this;
}
function stopclock (){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false
}
function showtime () {
var now = new Date();
var year = now.getYear();
var month = now.getMonth() + 1;
var date = now.getDate();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var day = now.getDay();
Day = new KHArray(7);
Day[0]="SON";
Day[1]="MON";
Day[2]="DIE";
Day[3]="MIT";
Day[4]="DON";
Day[5]="FRE";
Day[6]="SAM";
var timeValue = "";
timeValue += (Day[day]) + " ";
timeValue += date + "-";
timeValue += ((month < 10) ? " 0" : "") + month + "-";
timeValue += year + " ";
timeValue += ((hours <= 12) ? hours : hours - 12);
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
timeValue += (hours < 12) ? " AM" : " PM";
document.jsfrm.face.value = timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true
}
function startclock () {
stopclock();
showtime()
}
//-->
</SCRIPT>
<p>
<p>
<form>
<input type="button" value="Quelltext" onclick='window.location = "view-source:" + window.location.href'>
</form>
</td>
<td> </td>
<td valign=top>
<script type="text/javascript"><!--
google_ad_client = "pub-5189769012724419";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="4285903912";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr></table>
<p>
<br><hr align="center" size="1" width="50%">
<center>
meine eMail: <a href="mailto:js@webaid.de" class=linkint>js@webaid.de</a><br>
meine Homepage: <a href="http://www.mywebaid.de" target="_top" class=linkint>http://www.mywebaid.de</a><br>
</center>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" src="../ms.js">
<!--
//-->
</SCRIPT>
</body>
</html>