Zum Inhalt springen

wie erstelle ich ein Template aus dieser html Datei?

Erstellt am 6. August 2007 · 11 Antworten · letzte Antwort am 8. August 2007

Tags: Frage

idt ·

Hallo Profis, kann mir jemand verraten wie ich diese Html Seite als Template einfügen kann?
Besten Dank für Eure Hilfe
Mfg
idt

<!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>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta name="generator" content="Adobe GoLive" />
		<title>index</title>
		<link href="css/basic.css" rel="stylesheet" type="text/css" media="all" />
		<style type="text/css" media="screen"><!--
#Ebene1 { height: 100px; width: 606px; left: 163px; top: 10px; position: absolute; z-index: 4; visibility: visible; }
#Ebene2 { height: 364px; width: 130px; left: 10px; top: 171px; position: absolute; visibility: visible; }
#Ebene3 { height: 364px; width: 606px; left: 163px; top: 171px; position: absolute; visibility: visible; }
#Ebene4 { height: 26px; width: 248px; left: 340px; top: 145px; position: absolute; visibility: visible; }
#Ebene5 { height: 40px; width: 150px; left: 227px; top: 0; position: absolute; z-index: 4; visibility: visible; }
#Ebene6 { height: 364px; width: 130px; left: 780px; top: 171px; position: absolute; visibility: visible; }
--></style>
		<csactions>
			<csaction name="9ae93a1" class="Goto Link" type="onevent" val0="dienstleistung.html" val1="" urlparams="1"></csaction>
			<csaction name="b3bd2f4" class="Goto Link" type="onevent" val0="datenbank.html" val1="" urlparams="1"></csaction>
			<csaction name="f069788" class="Goto Link" type="onevent" val0="webhosting.html" val1="" urlparams="1"></csaction>
			<csaction name="fb1c3d15" class="Goto Link" type="onevent" val0="speicher.html" val1="" urlparams="1"></csaction>
			<csaction name="100c2d527" class="Goto Link" type="onevent" val0="netzwerk.html" val1="" urlparams="1"></csaction>
			<csaction name="1029a1629" class="Goto Link" type="onevent" val0="email.html" val1="" urlparams="1"></csaction>
			<csaction name="1111d3c37" class="Goto Link" type="onevent" val0="support.html" val1="" urlparams="1"></csaction>
			<csaction name="16b8b0481" class="Goto Link" type="onevent" val0="presse.html" val1="" urlparams="1"></csaction>
			<csaction name="16f5eff91" class="Goto Link" type="onevent" val0="tools.html" val1="" urlparams="1"></csaction>
			<csaction name="172f7f4102" class="Goto Link" type="onevent" val0="microsoft.html" val1="" urlparams="1"></csaction>
			<csaction name="176e3dc114" class="Goto Link" type="onevent" val0="kontakt.html" val1="" urlparams="1"></csaction>
			<csaction name="1796651123" class="Goto Link" type="onevent" val0="agb.html" val1="" urlparams="1"></csaction>
		</csactions>
		<csscriptdict import="import">
			<script type="text/javascript" src="GeneratedItems/CSScriptLib.js"></script>
		</csscriptdict>
		<csactiondict>
			<script type="text/javascript"><!--
CSAct[/*CMP*/ '9ae93a1'] = new Array(CSGotoLink,/*URL*/ 'dienstleistung.html','');
CSAct[/*CMP*/ 'b3bd2f4'] = new Array(CSGotoLink,/*URL*/ 'datenbank.html','');
CSAct[/*CMP*/ 'f069788'] = new Array(CSGotoLink,/*URL*/ 'webhosting.html','');
CSAct[/*CMP*/ 'fb1c3d15'] = new Array(CSGotoLink,/*URL*/ 'speicher.html','');
CSAct[/*CMP*/ '100c2d527'] = new Array(CSGotoLink,/*URL*/ 'netzwerk.html','');
CSAct[/*CMP*/ '1029a1629'] = new Array(CSGotoLink,/*URL*/ 'email.html','');
CSAct[/*CMP*/ '1111d3c37'] = new Array(CSGotoLink,/*URL*/ 'support.html','');
CSAct[/*CMP*/ '16b8b0481'] = new Array(CSGotoLink,/*URL*/ 'presse.html','');
CSAct[/*CMP*/ '16f5eff91'] = new Array(CSGotoLink,/*URL*/ 'tools.html','');
CSAct[/*CMP*/ '172f7f4102'] = new Array(CSGotoLink,/*URL*/ 'microsoft.html','');
CSAct[/*CMP*/ '176e3dc114'] = new Array(CSGotoLink,/*URL*/ 'kontakt.html','');
CSAct[/*CMP*/ '1796651123'] = new Array(CSGotoLink,/*URL*/ 'agb.html','');
var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		pre_h_02 = newImage('../../../tell-vision.com/bilder/h_02.png');
		pre_pwr_02 = newImage('../../../tell-vision.com/bilder/pwr_02.png');
		pre_h_04 = newImage('../../../tell-vision.com/bilder/h_04.png');
		pre_h_00 = newImage('../../../tell-vision.com/bilder/h_00.png');
		preloadFlag = true;
	}
}

// --></script>
		</csactiondict>
	</head>

	<body onload="preloadImages();">
		<div id="Ebene1">
			<div align="center">
				<table width="291" border="0" cellspacing="0" cellpadding="0">
					<tr bgcolor="#fca001">
						<td></td>
						<td>
							<div align="center">
								<div id="Ebene5">
									<strong><font size="6" color="#f41313">IDT</font></strong></div>
								<img src="../../../tell-vision.com/bilder/ZEILE2_M.JPG" alt="" height="30" width="457" border="0" /></div>
						</td>
						<td></td>
					</tr>
					<tr bgcolor="#fca001">
						<td><a onmouseover="changeImages('pwr_01','../../../tell-vision.com/bilder/pwr_02.png');return true" onmouseout="changeImages('pwr_01','../../../tell-vision.com/bilder/pwr_01.png');return true" href="#"><font color="#fca001"><img id="pwr_01" src="../../../tell-vision.com/bilder/pwr_01.png" alt="" name="pwr_01" height="50" width="50" border="0" /></font></a></td>
						<td><img src="../../../tell-vision.com/bilder/ZEILE3_M.JPG" alt="" height="95" width="457" border="0" /></td>
						<td><a onmouseover="changeImages('pwr_2','../../../tell-vision.com/bilder/pwr_02.png');return true" onmouseout="changeImages('pwr_2','../../../tell-vision.com/bilder/pwr_01.png');return true" href="#"><img id="pwr_2" src="../../../tell-vision.com/bilder/pwr_01.png" alt="" name="pwr_2" height="50" width="50" border="0" /></a></td>
					</tr>
				</table>
			</div>
		</div>
		<div id="Ebene2">
			<table width="142" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="51"><a onmousedown="changeImages('h_00','../../../tell-vision.com/bilder/h_00.png');return true" onmouseup="changeImages('h_00','../../../tell-vision.com/bilder/h_02.png');return true" onmouseover="changeImages('h_00','../../../tell-vision.com/bilder/h_02.png');return true" onmouseout="changeImages('h_00','../../../tell-vision.com/bilder/h_01.png');return true" href="#"><img id="h_00" src="../../../tell-vision.com/bilder/h_01.png" alt="" name="h_00" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">IDT</font></div>
					</td>
				</tr>
				<tr>
					<td width="51"><a onclick="changeImages('h_2','../../../tell-vision.com/bilder/h_00.png');CSAction(new Array(/*CMP*/'9ae93a1'));return CSClickReturn()" onmouseover="changeImages('h_2','../../../tell-vision.com/bilder/h_02.png');return true" onmouseout="changeImages('h_2','../../../tell-vision.com/bilder/h_01.png');return true" href="#" csclick="9ae93a1"><img id="h_2" src="../../../tell-vision.com/bilder/h_01.png" alt="" name="h_2" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Dienstleistung</font></div>
					</td>
				</tr>
				<tr>
					<td width="51"><a onclick="CSAction(new Array(/*CMP*/'b3bd2f4'));return CSClickReturn()" onmousedown="changeImages('h_3','../../../tell-vision.com/bilder/h_00.png');return true" onmouseup="changeImages('h_3','../../../tell-vision.com/bilder/h_02.png');return true" onmouseover="changeImages('h_3','../../../tell-vision.com/bilder/h_02.png');return true" onmouseout="changeImages('h_3','../../../tell-vision.com/bilder/h_01.png');return true" href="#" csclick="b3bd2f4"><img id="h_3" src="../../../tell-vision.com/bilder/h_01.png" alt="" name="h_3" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">MySQL</font></div>
					</td>
				</tr>
				<tr>
					<td width="51"><a onclick="CSAction(new Array(/*CMP*/'f069788'));return CSClickReturn()" onmousedown="changeImages('h_4','../../../tell-vision.com/bilder/h_00.png');return true" onmouseup="changeImages('h_4','../../../tell-vision.com/bilder/h_02.png');return true" onmouseover="changeImages('h_4','../../../tell-vision.com/bilder/h_02.png');return true" onmouseout="changeImages('h_4','../../../tell-vision.com/bilder/h_01.png');return true" href="#" csclick="f069788"><img id="h_4" src="../../../tell-vision.com/bilder/h_01.png" alt="" name="h_4" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Webhosting</font></div>
					</td>
				</tr>
				<tr>
					<td width="51"><a onclick="CSAction(new Array(/*CMP*/'fb1c3d15'));return CSClickReturn()" onmousedown="changeImages('h_5','../../../tell-vision.com/bilder/h_00.png');return true" onmouseup="changeImages('h_5','../../../tell-vision.com/bilder/h_02.png');return true" onmouseover="changeImages('h_5','../../../tell-vision.com/bilder/h_02.png');return true" onmouseout="changeImages('h_5','../../../tell-vision.com/bilder/h_01.png');return true" href="#" csclick="fb1c3d15"><img id="h_5" src="../../../tell-vision.com/bilder/h_01.png" alt="" name="h_5" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Speicherplatz</font></div>
					</td>
				</tr>
				<tr>
					<td width="51"><a onclick="CSAction(new Array(/*CMP*/'100c2d527'));return CSClickReturn()" onmousedown="changeImages('h_6','../../../tell-vision.com/bilder/h_00.png');return true" onmouseup="changeImages('h_6','../../../tell-vision.com/bilder/h_02.png');return true" onmouseover="changeImages('h_6','../../../tell-vision.com/bilder/h_02.png');return true" onmouseout="changeImages('h_6','../../../tell-vision.com/bilder/h_01.png');return true" href="#" csclick="100c2d527"><img id="h_6" src="../../../tell-vision.com/bilder/h_01.png" alt="" name="h_6" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Netzwerk</font></div>
					</td>
				</tr>
				<tr>
					<td width="51"><a onclick="CSAction(new Array(/*CMP*/'1029a1629'));return CSClickReturn()" onmousedown="changeImages('h_7','../../../tell-vision.com/bilder/h_00.png');return true" onmouseup="changeImages('h_7','../../../tell-vision.com/bilder/h_02.png');return true" onmouseover="changeImages('h_7','../../../tell-vision.com/bilder/h_02.png');return true" onmouseout="changeImages('h_7','../../../tell-vision.com/bilder/h_01.png');return true" href="#" csclick="1029a1629"><img id="h_7" src="../../../tell-vision.com/bilder/h_01.png" alt="" name="h_7" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Email</font></div>
					</td>
				</tr>
			</table>
		</div>
		<div id="Ebene3">
			<div align="center">
				In der heutigen Zeit, wo alle Geschaefte unter enormen Zeitdruck und finanziellen Abhaengigkeiten stehen ist es eminent wichtig, die Kosten so gering wie moeglich zu halten. Nicht immer ist dies jedoch moeglich, bedingt durch Abhaengigkeiten die es gar nicht braucht. Viele Konzerne haben das auch realisiert und versuchen dies zu aendern,doch der Wunsch den Kunden an sich zu binden ist groesser als die Vernunft. So bezahlt man fuer Dienstleistungen noch immer zu viel, da eine Alternative nicht zur Verfuegung steht. <br />
				Aus diesem Grund entstand unsere Idee,  eines Dienstleistungsunternehmen der anderen Art;<br />
				              <strong>Kundenfreundlich</strong><br />
				ins Leben zu rufen. Ausgangslage war wohl der Bereich der Telekommunikation, wo man seit geraumer Zeit die Moeglichkeit hat in sogenannten Zeitintervallen die Gespraechskosten abzurechnen, man bezahlt nur noch die effektive Gespraechsdauer und dies im Sekundentakt.<br />
				Eine Revolution koennte man meinen! doch weit gefehlt, denn immer noch werden Monatsgebuehren erhoben die sich Jenseits der Realitaet bewegen. Weshalb das so ist erscheint eigentlich logisch, man will die Kunden an sich binden um so doppelt zu verdienen.</div>
			<p align="center">Fair oder nicht Fair, sei dahingestellt, unsere Ideologie ist es nicht. Deshalb sind wir von unserer Dienstleistung ueberzeugt und offerieren Sie transparente Preise, indem Sie nur das bezahlen was Sie auch benutzt haben, ohne sich zeitlich mit spitzfindigen AGB an uns zu binden, bei welchen Sie<br />
				in Problemfaellen juristisch bereits im Vorfeld verloren haben. Haben wir Sie neugierig gemacht? Unter Dienstleistungen erfahren Sie mehr ueber das Konzept und die vielfaeltigen Angebote die wir Ihnen zur Verfuegung stellen. Sie werden sehen, dass unsere Dienstleistungen sich von denen der anderen klar unterscheiden und Ihnen eine kostenguenstige Alternative bietet.<br />
				<em>
				Alle Rechte vorbehalten IDT 2007</em><br />
			</p>
		</div>
		<div id="Ebene4">
			<div align="center">
				<strong>Internet Data Transfer</strong></div>
		</div>
		<div id="Ebene6">
			<table width="129" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="50"><a onclick="CSAction(new Array(/*CMP*/'1111d3c37'));return CSClickReturn()" onmouseover="changeImages('h_03','../../../tell-vision.com/bilder/h_04.png');return true" onmouseout="changeImages('h_03','../../../tell-vision.com/bilder/h_03.png');return true" href="#" csclick="1111d3c37"><img id="h_03" src="../../../tell-vision.com/bilder/h_03.png" alt="" name="h_03" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Support</font></div>
					</td>
				</tr>
				<tr>
					<td width="50"><a onmouseover="changeImages('h_8','../../../tell-vision.com/bilder/h_04.png');return true" onmouseout="changeImages('h_8','../../../tell-vision.com/bilder/h_03.png');return true" href="#"><img id="h_8" src="../../../tell-vision.com/bilder/h_03.png" alt="" name="h_8" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Tutorials</font></div>
					</td>
				</tr>
				<tr>
					<td width="50"><a onclick="CSAction(new Array(/*CMP*/'16b8b0481'));return CSClickReturn()" onmouseover="changeImages('h_9','../../../tell-vision.com/bilder/h_04.png');return true" onmouseout="changeImages('h_9','../../../tell-vision.com/bilder/h_03.png');return true" href="#" csclick="16b8b0481"><img id="h_9" src="../../../tell-vision.com/bilder/h_03.png" alt="" name="h_9" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Presse</font></div>
					</td>
				</tr>
				<tr>
					<td width="50"><a onclick="CSAction(new Array(/*CMP*/'16f5eff91'));return CSClickReturn()" onmouseover="changeImages('h_10','../../../tell-vision.com/bilder/h_04.png');return true" onmouseout="changeImages('h_10','../../../tell-vision.com/bilder/h_03.png');return true" href="#" csclick="16f5eff91"><img id="h_10" src="../../../tell-vision.com/bilder/h_03.png" alt="" name="h_10" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Tools</font></div>
					</td>
				</tr>
				<tr>
					<td width="50"><a onclick="CSAction(new Array(/*CMP*/'172f7f4102'));return CSClickReturn()" onmouseover="changeImages('h_11','../../../tell-vision.com/bilder/h_04.png');return true" onmouseout="changeImages('h_11','../../../tell-vision.com/bilder/h_03.png');return true" href="#" csclick="172f7f4102"><img id="h_11" src="../../../tell-vision.com/bilder/h_03.png" alt="" name="h_11" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Microsoft</font></div>
					</td>
				</tr>
				<tr>
					<td width="50"><a onclick="CSAction(new Array(/*CMP*/'176e3dc114'));return CSClickReturn()" onmouseover="changeImages('h_12','../../../tell-vision.com/bilder/h_04.png');return true" onmouseout="changeImages('h_12','../../../tell-vision.com/bilder/h_03.png');return true" href="#" csclick="176e3dc114"><img id="h_12" src="../../../tell-vision.com/bilder/h_03.png" alt="" name="h_12" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">Kontakt</font></div>
					</td>
				</tr>
				<tr>
					<td width="50"><a onclick="CSAction(new Array(/*CMP*/'1796651123'));return CSClickReturn()" onmouseover="changeImages('h_13','../../../tell-vision.com/bilder/h_04.png');return true" onmouseout="changeImages('h_13','../../../tell-vision.com/bilder/h_03.png');return true" href="#" csclick="1796651123"><img id="h_13" src="../../../tell-vision.com/bilder/h_03.png" alt="" name="h_13" height="50" width="50" border="0" /></a></td>
					<td>
						<div align="center">
							<font size="2">AGB</font></div>
					</td>
				</tr>
			</table>
		</div>
		<p>
			
		</p>
	</body>

</html>
idt ·

Besten Dank für Euren Hinweis, habe mir das Buch Typo3 4.0 gekauft, doch werde ich nicht schlauer daraus. Mein Anliegen ist eine Lösung zu erhalten, da ich davon ausgehe dass Typo3 CSS versteht. Wie integriere ich also das vorhandene CSS von Adobe GoLive?
Es ist mir schon klar dass man durch das Lesen von Beschreibungen evt. die Lösung erhält, doch es fehlt mir der Vergleich, die Literatur behandelt immer nur ein Layout was absolut weit entfernt des meinigen ist.
Bitte versucht mir konstruktiv zu helfen, weshalb kann Typo3 dies CSS nicht interpretieren?!

Für Eure weitere Hilfe (nicht Verweise auf Links und Beschreibungen) danke ich im Voraus.

Mit freundlichen Grüssen
idt

idt ·

Dies ist die von Adobe GoLive CS2 erstellte CSS Datei:

/* -- Adobe GoLive JavaScript Library */

function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}

userAgent = window.navigator.userAgent;
browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);
mustInitImg = true;
function initImgID() {var di = document.images; if (mustInitImg && di) { for (var i=0; i<di.length; i++) { if (!di[​i].id) di[​i].id=di[​i].name; } mustInitImg = false;}}

function findElement(n,ly) {
var d = document;
if (browserVers < 4) return d[n];
if ((browserVers >= 6) && (d.getElementById)) {initImgID; return(d.getElementById(n))};
var cd = ly ? ly.document : d;
var elem = cd[n];
if (!elem) {
for (var i=0;i<cd.layers.length;i++) {
elem = findElement(n,cd.layers[​i]);
if (elem) return elem;
}
}
return elem;
}

function changeImagesArray(array) {
if (preloadFlag == true) {
var d = document; var img;
for (i=0;i<array.length;i+=2) {
img = null; var n = array[​i];
if (d.images) {
if (d.layers) {img = findElement(n,0);}
else {img = d.images[n];}
}
if (!img && d.getElementById) {img = d.getElementById(n);}
if (!img && d.getElementsByName) {
var elms = d.getElementsByName(n);
if (elms) {
for (j=0;j<elms.length;j++) {
if (elms[j].src) {img = elms[j]; break;}
}
}
}
if (img) {img.src = array[i+1];}
}
}
}

function changeImages() {
changeImagesArray(changeImages.arguments);
}
CSStopExecution=false;
function CSAction(array) {return CSAction2(CSAct, array);}
function CSAction2(fct, array) {
var result;
for (var i=0;i<array.length;i++) {
if(CSStopExecution) return false;
var aa = fct[array[​i]];
if (aa == null) return false;
var ta = new Array;
for(var j=1;j<aa.length;j++) {
if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){
if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
else ta[j]=aa[j];}
} else ta[j]=aa[j];
}
result=aa[0](ta);
}
return result;
}
CSAct = new Object;
CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
CSIsW3CDOM = ((document.getElementById) && !(IsIE()&&CSBVers<6)) ? true : false;
function IsIE() { return CSAg.indexOf("MSIE") > 0;}
function CSIEStyl(s) { return document.all.tags("div")[​s].style; }
function CSNSStyl(s) { if (CSIsW3CDOM) return document.getElementById(s).style; else return CSFindElement(s,0); }
CSIImg=false;
function CSInitImgID() {if (!CSIImg && document.images) { for (var i=0; i<document.images.length; i++) { if (!document.images[​i].id) document.images[​i].id=document.images[​i].name; } CSIImg = true;}}
function CSFindElement(n,ly) { if (CSBVers<4) return document[n];
if (CSIsW3CDOM) {CSInitImgID();return(document.getElementById(n));}
var curDoc = ly?ly.document:document; var elem = curDoc[n];
if (!elem) {for (var i=0;i<curDoc.layers.length;i++) {elem=CSFindElement(n,curDoc.layers[​i]); if (elem) return elem; }}
return elem;
}
function CSGetImage(n) {if(document.images) {return ((!IsIE()&&CSBVers<5)?CSFindElement(n,0):document.images[n]);} else {return null;}}
CSDInit=false;
function CSIDOM() { if (CSDInit)return; CSDInit=true; if(document.getElementsByTagName) {var n = document.getElementsByTagName('DIV'); for (var i=0;i<n.length;i++) {CSICSS2Prop(n[​i].id);}}}
function CSICSS2Prop(id) { var n = document.getElementsByTagName('STYLE');for (var i=0;i<n.length;i++) { var cn = n[​i].childNodes; for (var j=0;j<cn.length;j++) { CSSetCSS2Props(CSFetchStyle(cn[j].data, id),id); }}}
function CSFetchStyle(sc, id) {
var s=sc; while(s.indexOf("#")!=-1) { s=s.substring(s.indexOf("#")+1,sc.length); if (s.substring(0,s.indexOf("{")).toUpperCase().indexOf(id.toUpperCase())!=-1) return(s.substring(s.indexOf("{")+1,s.indexOf("}")));}
return "";
}
function CSGetStyleAttrValue (si, id, st) {
var s=si.toUpperCase();
var myID=id.toUpperCase()+":";
var id1=s.indexOf(myID,st);
if (id1==-1) return "";
var ch=s.charAt(id1-1);
if (ch!=" " && ch!="\t" && ch!="\n" && ch!=";" && ch!="{")
return CSGetStyleAttrValue (si, id, id1+1);
var start=id1+myID.length;
ch=s.charAt(start);
while(ch==" " || ch=="\t" || ch=="\n") {start++; ch=s.charAt(start);}
s=s.substring(start,si.length);
var id2=s.indexOf(";");
return ((id2==-1)?s:s.substring(0,id2));
}
function CSSetCSS2Props(si, id) {
var el=document.getElementById(id);
if (el==null) return;
var style=document.getElementById(id).style;
if (style) {
if (style.left=="") style.left=CSGetStyleAttrValue(si,"left",0);
if (style.top=="") style.top=CSGetStyleAttrValue(si,"top",0);
if (style.width=="") style.width=CSGetStyleAttrValue(si,"width",0);
if (style.height=="") style.height=CSGetStyleAttrValue(si,"height",0);
if (style.visibility=="") style.visibility=CSGetStyleAttrValue(si,"visibility",0);
if (style.zIndex=="") style.zIndex=CSGetStyleAttrValue(si,"z-index",0);
}
}
function CSdigitalclock(action){
img1 = CSGetImage(action[1]);
img2 = CSGetImage(action[2]);
img3 = CSGetImage(action[3]);
img4 = CSGetImage(action[4]);
usemilitary = action[5];
giflocation = action[6];
path = giflocation.substring(0, giflocation.length - 5);
extension = (giflocation.indexOf("jpg") != -1) ? (".jpg") : (".gif");
digClock();
}

function digClock() {
now = new Date();
hours = now.getHours();
theMonth = now.getMonth();
if(navigator.appVersion.indexOf("MSIE 5.0; Macintosh") != -1) {
if (theMonth <= 11 && theMonth >= 4) { hours = hours + 1 };
if (hours == 24) { hours = 0 };
}
minutes = now.getMinutes();
hours = ((hours > 12 && usemilitary == false) ? hours -12 : hours);
if (hours >= 0 && hours <=9) hours = "0" + hours;
if (usemilitary == false && hours == 00) { hours = 12 };
if (minutes >= 0 && minutes <=9) minutes = "0" + minutes;
hours = "" + hours;
minutes = "" + minutes;
hour1 = hours.substring(0,1);
hour2 = hours.substring(1,2);
minutes1 = minutes.substring(0,1);
minutes2 = minutes.substring(1,2);
updater();
}

function updater() {
img1.src = path + hour1 + extension;
img2.src = path + hour2 + extension;
img3.src = path + minutes1 + extension;
img4.src = path + minutes2 + extension;
theTimer = setTimeout("digClock()",1000);
}
function CSClickReturn () {
var bAgent = window.navigator.userAgent;
var bAppName = window.navigator.appName;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
return true; /* dont follow link */
else return false; /* dont follow link */
}
function CSshowtime(action) {
message = action[1]
military = action[2]
offset = action[3]
dst = action[4]
statuscheck = action[5]
formcheck = action[6]
form = action[7];
elem = action[8];
var dstoffset = 0
theTimer = setTimeout("theClock()",10);
}

function theClock() {
clearTimeout(theTimer);
var now = new Date();
var correct = now.toGMTString();
time_string = correct.split(' ');
hm = time_string[4];
hm_string = hm.split(':');
var hours = hm_string[0] - 0;
var suffix = " A.M."
if (dst == true) dstoffset = 1
hours = hours + offset + dst;

if (hours < 0) hours +=24
if (hours > 11 && hours < 24) suffix = " P.M."
if (hours > 12 && military == false) hours -=12;

var minutes = now.getMinutes();
var timeValue12 = "" + ((hours > 12) ? hours -12 : hours)
if (timeValue12 == 0) timeValue12 = 12
var timeValue24 = "" + ((hours > 23) ? hours -24 : hours)
timeValue12 += ((minutes < 10) ? ":0" : ":") + minutes
timeValue12 += suffix
timeValue24 += ((minutes < 10) ? ":0" : ":") + minutes

if(military == false) {
WorldTime = message + timeValue12;
} else {
WorldTime = message + timeValue24
}
if(statuscheck == true) window.status = WorldTime
if(formcheck == true) document.forms[form].elements[elem].value = WorldTime

theTimer = setTimeout("theClock()",5000);
}
function CSSetImageURL(action) {
var img=CSGetImage(action[1]);
if (img) img.src=action[2];
}
function CSGotoLink(action) {
if (action[2].length) {
var hasFrame=false;
for(i=0;i<parent.frames.length;i++) { if (parent.frames[​i].name==action[2]) { hasFrame=true; break;}}
if (hasFrame==true)
parent.frames[action[2]].location = action[1];
else
window.open (action[1],action[2],"");
}
else location = action[1];
}

just2b ·

hallo,

du lässt offen wie du das script inkludierst und das ist kein CSS sondern JS und die Beispiele sind nur deswegen "so weit hinten", damit man sie versteht und 1x durchmacht ohne 100 Zeilen js oder sonstigem

georg

idt ·

Danke für Eure Hilfe, ich hoffe dass wenn Euer Auto mal nicht mehr fährt und Ihr zum Automechaniker geht Er Euch empfiehlt das Handbuch durchzulesen!!

just2b ·

Ich bin der Polemik leid, aber um bei deinem Beispiel zu bleiben: Wenn man nicht Autofahren kann, sollte man nicht in der F1-Klasse damit anfangen.

Wenn du fragst, warum das CSS (Was ein JS ist) nicht integriert wird, dann nehme ich an, dass du irgend ein TS hast, in dem der Fehler steckt.

CSS inkludierst du mit page.includeCSS.file1 = fileadmin/foo.css
JS mit
page.headerData.10 = TEXT
page.headerData.10.value = <script scr="fileadmin/foo.js"></script>

georg

idt ·

Na also, ich danke Dir, für Deinen Tip, mehr habe ich gar nicht erwartet,
Jeder hat mal mit was angefangen, mann muss nicht eine F1 Lizenz besitzen haben um Auto zu fahren,! es ist noch kein Meister vom Himmel gefallen, deshalb gibt es wohl auch Foren. Was ich schade finde ist dass die Überheblichkeit gegenüber Newbis nicht hilfreich ist. Es mag sein dass ich nicht so viel Ahnung habe in dieser Thematik doch durch produktive Hilfe könnte auch ich den Anreiz finden der Sache näher zu kommen, um spaäter auch Hilfe zu leisten.
Als Pädagoge habe ich gelernt nicht den gleichen Masstab meines Wissen den andern abzuverlangen, da Sie etwas lernen wollen.
Ich versuche den Fehler zu erruiren.
Mfg
idt

just2b ·

ich kann keine überheblichkeit feststellen, aber mehr ein "wie man in den wald ruft" ....

jeder muss sich mit den manuals auseinandersetzen, dafür sind sie da und jeder war mal ein anfänger und jeder davon hat sich die reingezogen.

georg