Javascript:
var wo = null;
function oeffnefenster(w) {
document.getElementById('weisseflaeche').style.display = 'block';
document.getElementById('pfeillinks').style.display = 'block';
document.getElementById('pfeilrechts').style.display = 'block';
document.getElementById('xbutton').style.display = 'block';
if(w == 20) {
wo = 20;
document.getElementById('fst1').style.display = 'block';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'none';
}
if(w == 21) {
wo = 21;
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'block';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'none';
}
if(w == 22) {
wo = 22;
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'block';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'none';
}
if(w == 23) {
wo = 23;
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'block';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'none';
}
if(w == 24) {
wo = 24;
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'block';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'none';
}
if(w == 25) {
wo = 25;
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'block';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'none';
}
if(w == 26) {
wo = 26;
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'block';
document.getElementById('fst8').style.display = 'none';
}
if(w == 27) {
wo = 27;
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'block';
}
}
function closeall() {
document.getElementById('weisseflaeche').style.display = 'none';
document.getElementById('pfeillinks').style.display = 'none';
document.getElementById('pfeilrechts').style.display = 'none';
document.getElementById('xbutton').style.display = 'none';
document.getElementById('fst1').style.display = 'none';
document.getElementById('fst2').style.display = 'none';
document.getElementById('fst3').style.display = 'none';
document.getElementById('fst4').style.display = 'none';
document.getElementById('fst5').style.display = 'none';
document.getElementById('fst6').style.display = 'none';
document.getElementById('fst7').style.display = 'none';
document.getElementById('fst8').style.display = 'none';
}
function back() {
wo--;
if(wo == 0) {
setTimeout("oeffnefenster('27')",0);
}
if(wo == 20) {
setTimeout("oeffnefenster('20')",0);
}
if(wo == 21) {
setTimeout("oeffnefenster('21')",0);
}
if(wo == 22) {
setTimeout("oeffnefenster('22')",0);
}
if(wo == 23) {
setTimeout("oeffnefenster('23')",0);
}
if(wo == 24) {
setTimeout("oeffnefenster('24')",0);
}
if(wo == 25) {
setTimeout("oeffnefenster('25')",0);
}
if(wo == 26) {
setTimeout("oeffnefenster('26')",0);
}
if(wo == 27) {
setTimeout("oeffnefenster('27')",0);
}
}
function next() {
wo++;
if(wo == 28) {
setTimeout("oeffnefenster('20')",0);
}
if(wo == 21) {
setTimeout("oeffnefenster('21')",0);
}
if(wo == 22) {
setTimeout("oeffnefenster('22')",0);
}
if(wo == 23) {
setTimeout("oeffnefenster('23')",0);
}
if(wo == 24) {
setTimeout("oeffnefenster('24')",0);
}
if(wo == 25) {
setTimeout("oeffnefenster('25')",0);
}
if(wo == 26) {
setTimeout("oeffnefenster('26')",0);
}
if(wo == 27) {
setTimeout("oeffnefenster('27')",0);
}
}
var wo = null;
function oeffnebild(w) {
document.getElementById('weisseflaeche').style.display = 'block';
document.getElementById('pfeillinks').style.display = 'block';
document.getElementById('pfeilrechts').style.display = 'block';
document.getElementById('xbutton').style.display = 'block';
if(w == 10) {
wo = 10;
document.getElementById('bild1').style.display = 'block';
document.getElementById('bild2').style.display = 'none';
document.getElementById('bild3').style.display = 'none';
document.getElementById('bild4').style.display = 'none';
document.getElementById('bild5').style.display = 'none';
}
if(w == 11) {
wo = 11;
document.getElementById('bild1').style.display = 'none';
document.getElementById('bild2').style.display = 'block';
document.getElementById('bild3').style.display = 'none';
document.getElementById('bild4').style.display = 'none';
document.getElementById('bild5').style.display = 'none';
}
if(w == 12) {
wo = 12;
document.getElementById('bild1').style.display = 'none';
document.getElementById('bild2').style.display = 'none';
document.getElementById('bild3').style.display = 'block';
document.getElementById('bild4').style.display = 'none';
document.getElementById('bild5').style.display = 'none';
}
if(w == 13) {
wo = 13;
document.getElementById('bild1').style.display = 'none';
document.getElementById('bild2').style.display = 'none';
document.getElementById('bild3').style.display = 'none';
document.getElementById('bild4').style.display = 'block';
document.getElementById('bild5').style.display = 'none';
}
if(w == 14) {
wo = 14;
document.getElementById('bild1').style.display = 'none';
document.getElementById('bild2').style.display = 'none';
document.getElementById('bild3').style.display = 'none';
document.getElementById('bild4').style.display = 'none';
document.getElementById('bild5').style.display = 'block';
}
}
function closeall() {
document.getElementById('weisseflaeche').style.display = 'none';
document.getElementById('pfeillinks').style.display = 'none';
document.getElementById('pfeilrechts').style.display = 'none';
document.getElementById('xbutton').style.display = 'none';
document.getElementById('bild1').style.display = 'none';
document.getElementById('bild2').style.display = 'none';
document.getElementById('bild3').style.display = 'none';
document.getElementById('bild4').style.display = 'none';
document.getElementById('bild5').style.display = 'none';
}
function back() {
wo--;
if(wo == 0) {
setTimeout("oeffnebild('14')",0);
}
if(wo == 10) {
setTimeout("oeffnebild('10')",0);
}
if(wo == 11) {
setTimeout("oeffnebild('11')",0);
}
if(wo == 12) {
setTimeout("oeffnebild('12')",0);
}
if(wo == 13) {
setTimeout("oeffnebild('13')",0);
}
if(wo == 14) {
setTimeout("oeffnebild('14')",0);
}
}
function next() {
wo++;
if(wo == 15) {
setTimeout("oeffnebild('10')",0);
}
if(wo == 11) {
setTimeout("oeffnebild('11')",0);
}
if(wo == 12) {
setTimeout("oeffnebild('12')",0);
}
if(wo == 13) {
setTimeout("oeffnebild('13')",0);
}
if(wo == 14) {
setTimeout("oeffnebild('14')",0);
}
}
Ich weis nicht wo der Hund begraben ist!
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="robots" content="INDEX,FOLLOW">
<meta name="robots" content="INDEX,FOLLOW">
<meta name="keywords" content="Rock,hardrock,austropop,austrorock,dialektmusik,dialekt,mundart,austro,musik,oesterreich">
<meta name="description" content="Dialektmusik die Rockt" >
<title>...</title>
<link rel="stylesheet" href="fenster.css" type="text/css">
<link rel="stylesheet" href="format.css" type="text/css">
<link rel="stylesheet" href="menue.css" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script type="text/javascript" src="fenster.js"></script>
<link rel="shortcut icon" title="image/x-icon" href="http://www.tutorials.de/images/ribn.ico">
</head>
<body>
<table align="center" width="100%" id="aussen" cellspacing="0" cellpadding="0" border="0" >
<tr>
<td align="center" width="100%" >
<table width="701" cellspacing="0" cellpadding="0" border="0" >
<tr>
<td id="top2">
<!--menü-->
<p><img src="http://www.tutorials.de/images/ribisls2.jpg"></p>
<table align="center" width="750" id="menu2" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td ><a href="index.html" >Neues</a></td>
<td class="menutrenn"> • </td>
<td ><a href="termine.html" >Termine</a></td>
<td class="menutrenn"> • </td>
<td ><a href="band.html" > Band</a></td>
<td class="menutrenn"> • </td>
<td ><a href="fotos.html" >Fotos</a></td>
<td class="menutrenn"> • </td>
<td ><a href="media.html" >Video</a></td>
<td class="menutrenn"> • </td>
<td ><a href="mp3.html" >Musik</a></td>
<td class="menutrenn"> • </td>
<td ><a href="shop.html" >Shop</a></td>
<td class="menutrenn"> • </td>
<td ><a href="kontakt.html" >Kontakt</a></td>
</tr>
</table>
<!--ende oben--></td>
</tr>
</table>
<table width="701" align="center" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td valign="top" width="750" id="main" height="600" >
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="0" height="0" align="center" id="inbox"> <h1 align="right"><font color="#333333" size="2">Fotos</font></h1>
<div onClick="closeall()" id="weisseflaeche"></div>
<div onClick="closeall()" id="xbutton"></div>
<div onClick="back()" id="pfeillinks"></div>
<div onClick="next()" id="pfeilrechts"></div>
<div align="center">
<div id="fst1" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum1.jpg" width="600" /></div>
<div id="fst2" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum2.jpg" width="600" /></div>
<div id="fst3" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum3.jpg" width="600" /></div>
<div id="fst4" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum4.jpg" height="600"/></div>
<div id="fst5" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum5.jpg" width="600" /></div>
<div id="fst6" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum6.jpg" width="600" /></div>
<div id="fst7" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum7.jpg" width="600" /></div>
<div id="fst8" class="bildzoom"><img src="http://www.tutorials.de/images/clumsys/clum8.jpg" width="600" /></div>
<div id="bild1" class="bildzoom"><img src="http://www.tutorials.de/images/backstage/back1.jpg" height="580" /></div>
<div id="bild2" class="bildzoom"><img src="http://www.tutorials.de/images/backstage/back2.jpg" height="580" /></div>
<div id="bild3" class="bildzoom"><img src="http://www.tutorials.de/images/backstage/back3.jpg" width="580" /></div>
<div id="bild4" class="bildzoom"><img src="http://www.tutorials.de/images/backstage/back4.jpg" width="580"/></div>
<div id="bild5" class="bildzoom"><img src="http://www.tutorials.de/images/backstage/back5.jpg" width="580" /></div>
</div>
<div align="center">
<p> </p>
<p></p>
<table width="700" border="0">
<tr>
<td><table width="700" cellspacing="10" border="0">
<tr>
<td width="50%">Clumsy's - 07.10.2011</td>
<td width="50%">Backstage</td>
</tr>
<tr>
<td><img onClick="oeffnefenster('20')" src="http://www.tutorials.de/images/clumsys/clum1.jpg" height="130" width="210"></td>
<td><img onClick="oeffnebild('10')" src="http://www.tutorials.de/images/backstage/back3.jpg" width="210" height="130"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- fuss-->
<table width="701" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td align="center" id="fuss" >
<br>
<img src="http://www.tutorials.de/images/star.gif" width="20" height="26" border="0" alt="">
</td>
</tr>
</table>
<!-- ende fuss-->
</td>
</tr>
</table>
</body>
</html>
Zuletzt bearbeitet von einem Moderator: