KurzUrl und JavaScript
ppils
- javascript
habe mir eine Kurz URL von de.vu geholt, aber jetzt funktionieren gewisse JS Funktionen nicht mehr.
www.leisure_shots.de.vu
Quelltext wenn man draufkommt
----------------------------------------------------------------
<html>
<head>
<title>leisure_shots</title>
<script language="JavaScript">
<!--
if (window != top) top.location.href = location.href;
-->
</script>
</head>
<frameset rows="100%,*" Border="0" FrameBorder="0">
<frame name="NoRiskNoFunIsWhatMyMotherSaid" scrolling="auto" noresize target="_self" frameborder="0" src="http://www.grave-digger.de/home/swf/band/ls/index.html">
<noframes>
<body>
<p><a href="http://www.grave-digger.de/home/swf/band/ls/index.html">Click here to continue..</a></p>
</body>
</noframes>
</frameset>
</html>
-----------------------------------------------------
Quelltext meines eingebundenen HTML File`s
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function starting() {
window.NoRiskNoFunIsWhatMyMotherSaid.getElementById("bg_color").style.backgroundColor = "#9A1B22";
window.NoRiskNoFunIsWhatMyMotherSaid.getElementById("bg_pic").style.backgroundImage = "url(backgroundhtml_1.jpg)";
}
function changelayout(num) {
colors = new Array("#9A1B22","#AEA387","#878F39","#747A92","#9B8065","#CDBD5B");
window.NoRiskNoFunIsWhatMyMotherSaid.document.getElementById("bg_color").style.backgroundColor = colors[num];
window.NoRiskNoFunIsWhatMyMotherSaid.document.getElementById("bg_pic").style.backgroundImage ="url(backgroundhtml_" + (num+1) + ".jpg)";
}
</script>
<title> || LEISURE_SHOTS.de || </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body onLoad="javascript:starting()" id="bg_color">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<table width="760" height="560" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="bg_pic" align="center" valign="middle" >
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="400">
<param name="movie" value="home.swf">
<PARAM name=menu value="false">
<param name="quality" value="high">
<embed src="home.swf" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="400"></embed></object></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
kleine Korrektur für Teil 2 :
Quelltext meines eingebundenen HTML File`s
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function starting() {
window.NoRiskNoFunIsWhatMyMotherSaid.getElementById("bg_color").style.backgroundColor = "#9A1B22";
window.NoRiskNoFunIsWhatMyMotherSaid.getElementById("bg_pic").style.backgroundImage = "url(backgroundhtml_1.jpg)";
}
function changelayout(num) {
colors = new Array("#9A1B22","#AEA387","#878F39","#747A92","#9B8065","#CDBD5B");
window.NoRiskNoFunIsWhatMyMotherSaid.document.getElementById("bg_color").style.backgroundColor = colors[num];
window.NoRiskNoFunIsWhatMyMotherSaid.document.getElementById("bg_pic").style.backgroundImage ="url(backgroundhtml_" + (num+1) + ".jpg)";
}
</script>
<title> || LEISURE_SHOTS.de || </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body onLoad="javascript:starting()" id="bg_color">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<table width="760" height="560" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="bg_pic" align="center" valign="middle" >
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="400">
<param name="movie" value="home.swf">
<PARAM name=menu value="false">
<param name="quality" value="high">
<embed src="home.swf" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="400"></embed></object></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
DANKE SCHONMAL FÜR DIE HILFE
hat sich erledigt, hab nen Frameset gebaut und dadrinne lief es dann.