- #1
C
Ciryx
Bekanntes Mitglied
Themenersteller
- Dabei seit
- 07.01.2004
- Beiträge
- 135
- Reaktionspunkte
- 0
- Ort
- Zürich
Bitte helft mir! Ich bin am verzweifeln:
Es handelt sich um folgende Seite:
http://www.uhclaupen.ch/club/leitbild.php
Links unter der kleinen Navigation (Downloads, Clubcodex, Leitbild, Statuten) Sollte alle vier Sekunden ein anderes Plakat zu sehen sein. Klickt man anschliessend auf so ein Plakat, soll sich ein PopUp öffnen mit dem Plakat im Grossformat. Soweit so gut! Es funktioniert auch alles! Aber nur im IE!!! Was mache isch falsch?
Hier mein Code: => Bitte keine direkten Downloadlinks
Danke für Eure Hilfe!
Ok sorry...
Dann hier halt das komplette File (sorry wegen Formatierung):
Es handelt sich um folgende Seite:
http://www.uhclaupen.ch/club/leitbild.php
Links unter der kleinen Navigation (Downloads, Clubcodex, Leitbild, Statuten) Sollte alle vier Sekunden ein anderes Plakat zu sehen sein. Klickt man anschliessend auf so ein Plakat, soll sich ein PopUp öffnen mit dem Plakat im Grossformat. Soweit so gut! Es funktioniert auch alles! Aber nur im IE!!! Was mache isch falsch?
Hier mein Code: => Bitte keine direkten Downloadlinks
Danke für Eure Hilfe!
Ok sorry...
Dann hier halt das komplette File (sorry wegen Formatierung):
Code:
<?php
if(isset($_GET['pic'])) {
?>
<html>
<head>
<title>&nbsp;</title>
<style>
body {
background-color:#000000;
margin:0px;
padding:0px;
}
</style>
</head>
<body>
<? echo <a href='javascript:window.close()'><img src='../plakat_db/bild/.$_GET['pic'].' border='0' /></a>\n; ?>
</body>
</html>
<?
} else {
?>
<!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN>
<html>
<head>
<title>UHC Laupen</title>
<meta http-equiv=content-type content=text/html; charset=iso-8859-1>
<link rel=icon href=/favicon.ico type=image/ico>
<meta http-equiv=imagetoolbar content=no>
<meta name=title content=UHC Laupen>
<meta name=author content=Reto Koenig Level X Webdesign>
<meta name=publisher content=UHC Laupen>
<meta name=copyright content=UHC Laupen>
<meta name=keywords content=Unihockey, Sport, Hallensport, Laupen, Laupen ZH, UHC Laupen, Unihockey Laupen, Ballspiel, Mannschaftssport, Teamsport, Wald>
<meta name=description content=Die Clubeigene Website ?ber den UHC Laupen ZH mit Infos zu allen Events, Resultaten sowie Mannschaften und Spieler>
<meta name=page-topic content=Sport>
<meta name=robots content=index,follow>
<meta name=language content=deutsch>
<!-- ***************** SCRIPTS **************** -->
<script language=JavaScript type=text/javascript src=/scripts/css.js></script>
<script language=JavaScript type=text/javascript>
function do_over(name) { document.images[name].src=/navigation/over/but_ + name + _over.gif;}function do_restore(name) { document.images[name].src=/navigation/but_ + name + _out.gif;}
</script>
<!-- **************** /SCRIPTS **************** -->
</head>
<body>
<center>
<table width=100% border=0 cellspacing=2 cellpadding=0 height=100%>
<tr>
<td align=center valign=middle><!-- ************ HEADER ************* -->
<table width=940px cellpadding=0 cellspacing=0 border=0>
<tr>
<td height=39px></td>
<td rowspan=3 width=161 align=center><img src=/gfx/logo.gif alt= width=160 height=80 id=logo></td>
<td height=39px></td>
</tr>
<tr>
<td rowspan=2><img src=/gfx/spacer_bright.gif alt=spacer height=61px width=1px border=0></td>
<td align=left><img src=/gfx/spacer_bright.gif alt=spacer height=1px width=778px border=0></td>
<td rowspan=2><img src=/gfx/spacer_bright.gif alt=spacer height=61px width=1px border=0></td>
</tr>
<tr>
<td height=60px align=left><!-- ************** MAINMENU ************** -->
<iframe src=/includes/mainmenu.html id=menuiframe height=60px width=778px title=Titel frameborder=0 marginwidth=0px marginheight=0px>
<!-- Alternate content for non-supporting browsers -->Dein Browser unterst&#159;tzt keine Frames!
</iframe>
<!-- ************** /MAINMENU ************* --></td>
</tr>
</table>
<!-- Line below mainnav -->
<table cellpadding=0 cellspacing=0 border=0 width=940px>
<tr>
<td><img src=/gfx/spacer_bright.gif alt=spacer height=1px width=100% border=0></td>
</tr>
</table>
<!-- ************ /HEADER ************* --><!-- =================== MAINPART OF DOCUMENT =================== --><!-- =================== MAINPART OF DOCUMENT =================== --><!-- =================== MAINPART OF DOCUMENT =================== --><!-- ************ MIDDLE ************* -->
<table width=940px height=406px border=0 cellspacing=0 cellpadding=0>
<tr>
<td rowspan=5><img src=/gfx/spacer_bright.gif alt=spacer height=406px width=1px border=0></td>
<td width=161px height=144px valign=top bgcolor=#3f3f3f>
<div id=topleft>
<?php
include(clubnav.inc.html);
?>
</div>
</td>
<td rowspan=5><img src=/gfx/spacer_bright.gif alt=spacer height=406px width=1px border=0></td>
<td rowspan=5 width=777px valign=top bgcolor=#3f3f3f>
<div id=teamcontent>
<!-- INHALT -->
<table border=0 cellspacing=2 cellpadding=0 border=1>
<tr>
<td class=table colspan=2 align=left valign=bottom>
<h3 style=margin: 0px; padding: 0px;>Leitbild UHC Laupen</h3>
</td>
</tr>
<tr>
<td class=table align=left valign=top>
Inhalt
</td>
</tr>
</table>
<!-- /INHALT --></div>
</td>
<td rowspan=5><img src=/gfx/spacer_bright.gif alt=spacer height=406px width=1px border=0></td>
</tr>
<tr>
<td width=161px><img src=/gfx/spacer_bright.gif alt=spacer height=1px width=161px border=0></td>
</tr>
<tr>
<td width=161px height=228px align=center><!-- PLAKAT -->
<div style=margin-top: 3px;>
<table border=0 cellpadding=0 cellspacing=0>
<tr valign=top><td>
<SCRIPT LANGUAGE=JavaScript>
function popup(u)
{
var props = location=no,scrollbars=no,menubars=no,toolbars=no,resizable=no,status=0,left=100,top=50,width=360,height=511;
window.open(u,'pop',props).focus();
}
</script>
<script type=text/javascript>
var ultimateshow=new Array()
<?php
require_once(../pfad/zur/db/infos);
$query = SELECT * FROM $dtable2;
$result = mysql_query($query);
$x = 0;
while ($rows = mysql_fetch_row($result))
{
print ultimateshow[$x]=['$rows[1]',->$rows[1]',->_new']\n;
$x++;
}
mysql_close ();
?>
//configure the below 3 variables to set the dimension/background color of the slideshow
var slidewidth=155px //set to width of LARGEST image in your slideshow
var slideheight=222px //set to height of LARGEST iamge in your slideshow
var slidecycles=continous //number of cycles before slideshow stops (ie: 2 or continous)
var randomorder=no //randomize the order in which images are displayed? yes or no
var preloadimages=yes //preload images? yes or no
var slidebgcolor='#333333'
//var slidebgcolor='white'
//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=4000
////Do not edit pass this line////////////////
var ie=document.all
var dom=document.getElementById
var curcycle=0
if (preloadimages==yes){
for (i=0;i<ultimateshow.length;i++){
var cacheimage=new Image()
cacheimage.src=ultimateshow[i][0]
}
}
var currentslide=0
function randomize(targetarray){
ultimateshowCopy=new Array()
var the_one
var z=0
while (z<targetarray.length){
the_one=Math.floor(Math.random()*targetarray.length)
if (targetarray[the_one]!=_selected!){
ultimateshowCopy[z]=targetarray[the_one]
targetarray[the_one]=_selected!
z++
}
}
}
if (randomorder==yes)
randomize(ultimateshow)
else
ultimateshowCopy=ultimateshow
function rotateimages(){
curcycle=(currentslide==0)? curcycle+1 : curcycle
ultcontainer='<center>'
if (ultimateshowCopy[currentslide][1]!=)
<?php echo ultcontainer+='<a href=\javascript:popup(\'.$_SERVER['PHP_SELF'].?pic='+ultimateshowCopy[currentslide][1]+'\');\ >'\n; ?>
ultcontainer+='<img src=../plakat_db/bild/'+ultimateshowCopy[currentslide][0]+' border=0 width=155px height=222px>'
if (ultimateshowCopy[currentslide][1]!=)
ultcontainer+='</a>'
ultcontainer+='</center>'
if (ie||dom)
crossrotateobj.innerHTML=ultcontainer
if (currentslide==ultimateshow.length-1) currentslide=0
else currentslide++
if (curcycle==parseInt(slidecycles) && currentslide==0)
return
setTimeout(rotateimages(),slidedelay)
}
if (ie||dom)
document.write('<div id=slidedom style=width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'></div>')
function start_slider(){
crossrotateobj=dom? document.getElementById(slidedom) : document.all.slidedom
rotateimages()
}
if (ie||dom)
window.onload=start_slider
</script>
</td></tr></table></div>
<!-- /PLAKAT --></td>
</tr>
<tr>
<td width=161px><img src=/gfx/spacer_bright.gif alt=spacer height=1px width=161px border=0></td>
</tr>
<tr>
<td width=161px align=center><!-- SUBNAV -->
<div style=margin-top: 2px;>
<?php
include(../includes/subnavigation.html);
?></div>
<!-- /SUBNAV --></td>
</tr>
</table>
<!-- ************ /MIDDLE ************* --><!-- ************ BOTTOM ************** --><!-- Line top mainnav -->
<table cellpadding=0 cellspacing=0 border=0 width=940px>
<tr>
<td><img src=/gfx/spacer_bright.gif alt=spacer height=1px width=100% border=0></td>
</tr>
</table>
<!-- Row with mainnav -->
<table width=940px cellpadding=0 cellspacing=0 border=0>
<tr>
<td><img src=/gfx/spacer_bright.gif alt=spacer width=1px height=60px border=0></td>
<td width=938px height=60px align=left><!-- ************** ADVERTISEMENT ************** -->
<div style=margin-top: 1px;>
<?php
include(../includes/werbung.html);
?></div>
<!-- ************** /ADVERTISEMENT ************* --></td>
<td><img src=/gfx/spacer_bright.gif alt=spacer width=1px height=60px border=0></td>
</tr>
</table>
<!-- Line below mainnav -->
<table cellpadding=0 cellspacing=0 border=0 width=940px>
<tr>
<td><img src=/gfx/spacer_bright.gif alt=spacer height=1px width=100% border=0></td>
</tr>
</table>
<!-- ************ /BOTTOM ************* --><!-- =================== /MAINPART OF DOCUMENT =================== --><!-- =================== /MAINPART OF DOCUMENT =================== --><!-- =================== /MAINPART OF DOCUMENT =================== --><!-- ************ FOOTER **************-->
<table cellpadding=0 cellspacing=0 border=0 width=940>
<tr><?php
include(../includes/footer.html);
?></tr>
</table>
<!-- ************ /FOOTER **************--></td>
</tr>
</table>
</center>
</body>
</html>
<?
}
?>