hilfdirselbst.ch
Facebook Twitter gamper-media
Tipps und Tricks zu Adobe GoLive von Dirk Levy, GoLive FAQ's von Randolph Sterna
max
Beiträge: 111
16. Jun 2002, 11:57
Beitrag #1 von 3
Bewertung:
(395 mal gelesen)
URL zum Beitrag
Beitrag als Lesezeichen

Hintergrund soll nich kacheln


Hallo,
ich möchte, daß auf einer Seite der Hintergrund nich kachelt und habe dort folgenden Code:
<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 5">
<title>testseite_no repeat</title>

<style media="screen" type="text/css"><!--
type="text/css" media="screen"><!--
.hg { background: white url("../grafik/hg/home.gif") no-repeat}
#leistungentext { position: absolute; top: 3px; left: 479px; width: 321px; height: 382px; visibility: hidden }
#realisationtext { position: absolute; top: 60px; left: 528px; width: 282px; height: 308px; visibility: hidden }
#loesungentext { position: absolute; top: 30px; left: 541px; width: 287px; height: 336px; visibility: hidden }
#hometext { position: absolute; top: 115px; left: 536px; width: 231px; height: 267px; visibility: visible }
--></style>
<csactions>
<csaction name="3D71290" class="ShowHide" type="onevent" val0="hometext" val1="0">
<csaction name="3DCC0B1" class="ShowHide" type="onevent" val0="leistungentext" val1="1">
<csaction name="3E08762" class="ShowHide" type="onevent" val0="leistungentext" val1="0">
<csaction name="3E31053" class="ShowHide" type="onevent" val0="hometext" val1="1">
<csaction name="3E80964" class="ShowHide" type="onevent" val0="realisationtext" val1="1">
<csaction name="3EB4A95" class="ShowHide" type="onevent" val0="hometext" val1="0">
<csaction name="3EE5166" class="ShowHide" type="onevent" val0="realisationtext" val1="0">
<csaction name="3F13DE7" class="ShowHide" type="onevent" val0="hometext" val1="1">
<csaction name="3F68C18" class="ShowHide" type="onevent" val0="hometext" val1="0">
<csaction name="3F99D99" class="ShowHide" type="onevent" val0="loesungentext" val1="1">
<csaction name="3FC35E10" class="ShowHide" type="onevent" val0="loesungentext" val1="0">
<csaction name="3FE9F011" class="ShowHide" type="onevent" val0="hometext" val1="1">
</csactions>
<csscriptdict>
<script><!--
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 actArray = fct[array[i]];
if(actArray == null) return false;
var tempArray = new Array;
for(var j=1;j<actArray.length;j++) {
if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {
if(actArray[j][0] == "VAR") {
tempArray[j] = CSStateArray[actArray[j][1]];
}
else {
if(actArray[j][0] == "ACT") {
tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
}
else
tempArray[j] = actArray[j];
}
}
else
tempArray[j] = actArray[j];
}
result = actArray[0](tempArray);
}
return result;
}
CSAct = new Object;

CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1), 10);
function IsIE() { return CSAg.indexOf("MSIE") > 0;}
function CSIEStyl(s) { return document.all.tags("div")[s].style; }
function CSNSStyl(s) { return CSFindElement(s,0); }
function CSFindElement(n,ly) { if (CSBVers < 4) return document[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 CSSetStyleVis(s,v) { if (IsIE()) CSIEStyl(s).visibility = (v == 0) ? "hidden" : "visible";
else CSNSStyl(s).visibility = (v == 0) ? 'hide' : 'show'; }
function CSGetStyleVis(s) { if (IsIE()) return (CSIEStyl(s).visibility == "hidden") ? 0 : 1;
else return (CSNSStyl(s).visibility == 'hide') ? 0 : 1;}

function CSShowHide(action) {
if (action[1] == '') return;
var type=action[2];
if(type==0) CSSetStyleVis(action[1],0);
else if(type==1) CSSetStyleVis(action[1],1);
else if(type==2) {
if (CSGetStyleVis(action[1]) == 0) CSSetStyleVis(action[1],1);
else CSSetStyleVis(action[1],0);
}
}

// --></script>

</csscriptdict>
<csactiondict>
<script><!--
CSAct[/*CMP*/ '3D71290'] = new Array(CSShowHide,/*CMP*/ 'hometext',0);
CSAct[/*CMP*/ '3DCC0B1'] = new Array(CSShowHide,/*CMP*/ 'leistungentext',1);
CSAct[/*CMP*/ '3E08762'] = new Array(CSShowHide,/*CMP*/ 'leistungentext',0);
CSAct[/*CMP*/ '3E31053'] = new Array(CSShowHide,/*CMP*/ 'hometext',1);
CSAct[/*CMP*/ '3E80964'] = new Array(CSShowHide,/*CMP*/ 'realisationtext',1);
CSAct[/*CMP*/ '3EB4A95'] = new Array(CSShowHide,/*CMP*/ 'hometext',0);
CSAct[/*CMP*/ '3EE5166'] = new Array(CSShowHide,/*CMP*/ 'realisationtext',0);
CSAct[/*CMP*/ '3F13DE7'] = new Array(CSShowHide,/*CMP*/ 'hometext',1);
CSAct[/*CMP*/ '3F68C18'] = new Array(CSShowHide,/*CMP*/ 'hometext',0);
CSAct[/*CMP*/ '3F99D99'] = new Array(CSShowHide,/*CMP*/ 'loesungentext',1);
CSAct[/*CMP*/ '3FC35E10'] = new Array(CSShowHide,/*CMP*/ 'loesungentext',0);
CSAct[/*CMP*/ '3FE9F011'] = new Array(CSShowHide,/*CMP*/ 'hometext',1);

// --></script>

</csactiondict>
</head>

<body leftmargin="4" marginwidth="4" topmargin="0" marginheight="0" background="../grafik/hg/home.gif" text="#ff6603">
<table cool width="776" height="371" usegridx usegridy showgridx showgridy gridx="16" gridy="16" border="0" cellpadding="0" cellspacing="0">
<tr height="16">
<td width="80" height="370" rowspan="4"></td>
<td width="96" height="208" rowspan="3"></td>
<td width="176" height="80" rowspan="2"></td>
<td width="423" height="16"></td>
<td width="1" height="16"><spacer type="block" width="1" height="16"></td>
</tr>
<tr height="64">
<td width="423" height="192" rowspan="2" valign="top" align="left" xpos="352"><a href="leistungen.html" onmouseover="CSAction(new Array(/*CMP*/'3D71290',/*CMP*/'3DCC0B1'));return true;" csover="3D71290,3DCC0B1" onmouseout="CSAction(new Array(/*CMP*/'3E08762',/*CMP*/'3E31053'));" csout="3E08762,3E31053" title="Leistungen" target="body"><img src="../../../Orange/Orange%20ordner/Orange/Bilderablage/Leistungen/leistungenblass2.JPG" width="160" height="85" border="0" alt="Leistungen"></a></td>
<td width="1" height="64"><spacer type="block" width="1" height="64"></td>
</tr>
<tr height="128">
<td width="176" height="128" valign="top" align="left" xpos="176"><a href="realisation.html" onmouseover="CSAction(new Array(/*CMP*/'3E80964',/*CMP*/'3EB4A95'));return true;" csover="3E80964,3EB4A95" onmouseout="CSAction(new Array(/*CMP*/'3EE5166',/*CMP*/'3F13DE7'));" csout="3EE5166,3F13DE7" title="Realisation" target="body"><img src="../../../Orange/Orange%20ordner/Orange/Bilderablage/Realisation/realisationrund2.JPG" width="160" height="98" border="0" alt="Umsetzung"></a></td>
<td width="1" height="128"><spacer type="block" width="1" height="128"></td>
</tr>
<tr height="162">
<td width="272" height="162" colspan="2" valign="top" align="left" xpos="80"><a href="leistungen.html" onmouseover="CSAction(new Array(/*CMP*/'3F68C18',/*CMP*/'3F99D99'));return true;" csover="3F68C18,3F99D99" onmouseout="CSAction(new Array(/*CMP*/'3FC35E10',/*CMP*/'3FE9F011'));" csout="3FC35E10,3FE9F011" title="L&ouml;sungen" target="body"><img src="../../../Orange/Orange%20ordner/Orange/Bilderablage/Loesungen/loesungenrund2.JPG" width="160" height="83" border="0" alt="L&ouml;sungen"></a></td>
<td width="423" height="162"></td>
<td width="1" height="162"><spacer type="block" width="1" height="162"></td>
</tr>
<tr height="1" cntrlrow>
<td width="80" height="1"><spacer type="block" width="80" height="1"></td>
<td width="96" height="1"><spacer type="block" width="96" height="1"></td>
<td width="176" height="1"><spacer type="block" width="176" height="1"></td>
<td width="423" height="1"><spacer type="block" width="423" height="1"></td>
<td width="1" height="1"></td>
</tr>
</table>
<div id="leistungentext">
<div align="left">
<blockquote>
text2</blockquote>
</div>
<ul>

</ul>
</div>
<div id="realisationtext">
text3</div>
<div id="loesungentext">
<font face="Verdana,Lucida Console,Times New Roman" color="#ff6603" size="2"><nobr><b>text4</b></nobr></font></div>
<div id="hometext">
<p>text 1</p>
</div>
<p></p>
</body>

</html>
_________________
Obwohl ich mit "no repeat" gearbeitet habe und das auch auf anderen Seiten funktioniert klappt es auf dieser Seite nicht, woran kann es liegen?
Top
 
X
SabineP  M 
Beiträge: 7586
16. Jun 2002, 12:37
Beitrag #2 von 3
Beitrag ID: #5355
Bewertung:
(395 mal gelesen)
URL zum Beitrag
Beitrag als Lesezeichen

Hintergrund soll nich kacheln


Hallo Max,

hier ist was doppelt:
<style media="screen" type="text/css"><!--
type="text/css" media="screen"><!--

so ist´s richtig:
<style media="screen" type="text/css"><!--

im body fehlt die Klasse .hg
<body leftmargin="4" marginwidth="4" topmargin="0" marginheight="0" background="../grafik/hg/home.gif" text="#ff6603">

so ist´s richtig:
<body leftmargin="4" marginwidth="4" topmargin="0" marginheight="0" class="hg" text="#ff6603">

Grüße von Sabine
als Antwort auf: [#5354] Top
 
max
Beiträge: 111
18. Jun 2002, 09:32
Beitrag #3 von 3
Beitrag ID: #5491
Bewertung:
(395 mal gelesen)
URL zum Beitrag
Beitrag als Lesezeichen

Hintergrund soll nich kacheln


danke, es klappt !!!
als Antwort auf: [#5354] Top