CronJob-Service
bei SELFPHP mit ...
|
+ minütlichen Aufrufen
+ eigenem Crontab Eintrag
+ unbegrenzten CronJobs
+ Statistiken
+ Beispielaufrufen
+ Control-Bereich
Führen Sie mit den CronJobs von
SELFPHP zeitgesteuert Programme
auf Ihrem Server
aus. Weitere Infos
|
:: Anbieterverzeichnis ::
Globale Branchen
Informieren Sie sich über ausgewählte Unternehmen im Anbieterverzeichnis von SELFPHP
:: Newsletter ::
Abonnieren Sie hier den kostenlosen
SELFPHP Newsletter!
|
HTML, CSS und JavaScript Help! Hier gibt es Hilfe zu HTML, CSS und JavaScript Problemen |
07.05.2008, 22:19:16
|
Anfänger
|
|
Registriert seit: May 2008
Beiträge: 2
|
|
Slideshow mit Dropmenu Fehler
Ich habe ein Problem mit meiner Slideshow.
Also ich habe ein Slideshow erstellt und auf der Slideshow soll ein Dropmenu sein. Also wenn man auf das Bild klickt (onclick), soll ein Dropmenu an einer anderen Stelle sich öffnen.
Jetzt ist das Problem, aber das es im Opera geht, aber im Internet Explorer und Mozilla Firefox nicht (Dropmenu)(Slideshow geht).
Habe schon fast alles probiert, aber kein Erfolg. Würde mich freuen, wenn einer helfen könnte.
HTML-Code:
<html>
<head>
<title>-.-'</title>
<style type="text/css">
#index {
position: absolute;
margin-top: 0px;
margin-left: 0px;
visibility: hidden;
}
#clan {
position: absolute;
margin-top: 0px;
margin-left: 0px;
visibility: hidden;
}
#shop {
position: absolute;
margin-top: 0px;
margin-left: 0px;
visibility: hidden;
}
#design {
position: absolute;
margin-top: 0px;
margin-left: 0px;
visibility: hidden;
}
#lan {
position: absolute;
margin-top: 0px;
margin-left: 0px;
visibility: hidden;
}
</style>
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
<script type="text/javascript" language="JavaScript">
<!-- Begin
// Zufallsbild- + Blätternscript - W. Jansen web-toolbox
// -----------------------------------------------------
/* __________________________________________
| -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. |
| Code Modification by |
| by dk13 |
| -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. |
|__________________________________________| */
var Anzahl = 5; // Anzahl der Fotos
var zufall = "nein"; // zufallsbild ja / nein
var Titeltext = "Diashow 01a mit Vorladen";
var Textfarbe = "#5F5F5F";
var Startzahl= 0;
var bildsrc="";
var bild_text="";
today=new Date();
wj_zufall=today.getTime();
var ia=9301;
var ic=49297;
var im=233280;
wj_zufall = (wj_zufall*ia+ic) % im;
// Unterscheidung Start mit Zufallsbild oder Bild 1
if(zufall == "ja") {
Zahl = (Math.ceil( (wj_zufall/(im*1.0)) * Anzahl)) - 1;
} else {
Zahl = Startzahl;
}
var AlleFotos = new Array();
var AlleTexte = new Array();
AlleFotos[0] = new Image();
AlleFotos[0].src = "images/navi/index.jpg";
AlleTexte[0] = "MM_showHideLayers('index','','show','clan','','hide','shop','','hide','design','','hide','lan','','hide')";
AlleFotos[1] = new Image();
AlleFotos[1].src = "images/navi/clan.jpg";
AlleTexte[1] = "MM_showHideLayers('index','','hide','clan','','show','shop','','hide','design','','hide','lan','','hide')";
AlleFotos[2] = new Image();
AlleFotos[2].src = "images/navi/shop.jpg";
AlleTexte[2] = "MM_showHideLayers('index','','hide','clan','','hide','shop','','show','design','','hide','lan','','hide')";
AlleFotos[3] = new Image();
AlleFotos[3].src = "images/navi/design.jpg";
AlleTexte[3] = "MM_showHideLayers('index','','hide','clan','','hide','shop','','hide','design','','show','lan','','hide')";
AlleFotos[4] = new Image();
AlleFotos[4].src = "images/navi/lan.jpg";
AlleTexte[4] = "MM_showHideLayers('index','','hide','clan','','hide','shop','','hide','design','','hide','lan','','show')";
function FotoVor() {
if(Zahl >= Anzahl-1) {
Zahl = 0;
} else {
Zahl = Zahl + 1;
}
document.getElementById("foto01").src = AlleFotos[Zahl].src;
document.getElementById("lnk").onclick = AlleTexte[Zahl];
return
}
function FotoZurueck() {
if(Zahl == 0) {
Zahl = Anzahl-1;
} else {
Zahl = Zahl - 1;
}
document.getElementById("foto01").src = AlleFotos[Zahl].src;
document.getElementById("lnk").onclick = AlleTexte[Zahl];
return
}
function StartShow01A() {
document.getElementById("foto01").src = AlleFotos[Zahl].src;
document.getElementById("lnk").onclick = AlleTexte[Zahl];
return
}
setTimeout('StartShow01A()',500);
function doit()
{
document.getElementById("lnk").onclick = AlleTexte[Zahl];
}
// End -->
</script>
</head>
<body bgcolor="#000000" onLoad="doit()">
<center>
<a href="javascript:doit()" onClick="javascript:doit()" id="lnk" name="lnk"><img class="bildrand" name="foto01" id="foto01" src="images/navi/index.jpg" width="170" height="67" border="0" alt="" align="top"></a>
<a href="javascript:FotoZurueck()" onFocus="if(this.blur)this.blur()"><img src="zurueck03.gif" width="60" height="34" border="0" alt=""></a> <a href="javascript:FotoVor()" onFocus="if(this.blur)this.blur()"><img src="vor03.gif" width="60" height="34" border="0" alt=""></a>
<div class="Stil1" id="index"><a href="index.php?site=news"><font color="#ffffff" size="2">News </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=articles"><font color="#ffffff" size="2">Artikel </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=files"><font color="#ffffff" size="2">Downloads </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=awards"><font color="#ffffff" size="2">Awards </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=history"><font color="#ffffff" size="2">History </font></a></div>
<div class="Stil1" id="clan"><a href="index.php?site=members"><font color="#ffffff" size="2">Members </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=clanwars"><font color="#ffffff" size="2">Clanwars </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=server"><font color="#ffffff" size="2">Server </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=sponsors"><font color="#ffffff" size="2">Sponsors </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=joinus"><font color="#ffffff" size="2">Join Us </font></a></div>
<div class="Stil1" id="shop"><a href="index.php?site=forum"><font color="#ffffff" size="2">Forum </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=guestbook"><font color="#ffffff" size="2">Guestbook </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=newsletter"><font color="#ffffff" size="2">Newsletter </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=whoisonline"><font color="#ffffff" size="2">Who is Online </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=contact"><font color="#ffffff" size="2">Kontakt </font></a></div>
<div class="Stil1" id="design"><a href="index.php?site=links"><font color="#ffffff" size="2">Links </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=gallery"><font color="#ffffff" size="2">Gallery </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=linkus"><font color="#ffffff" size="2">Link Us </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=challenge"><font color="#ffffff" size="2">Fight Us </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=imprint"><font color="#ffffff" size="2">Impressum </font></a></div>
<div class="Stil1" id="lan"><a href="index.php?site=links"><font color="#ffffff" size="2">Links </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=gallery"><font color="#ffffff" size="2">Gallery </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=linkus"><font color="#ffffff" size="2">Link Us </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=challenge"><font color="#ffffff" size="2">Fight Us </font></a> <font color="#ffffff" size="2"> | </font> <a href="index.php?site=imprint"><font color="#ffffff" size="2">Impressum </font></a></div>
</center>
</body>
</html>
Schonmal danke für die Hilfe!
MfG dk13
|
08.05.2008, 23:04:37
|
Anfänger
|
|
Registriert seit: May 2008
Beiträge: 2
|
|
AW: Slideshow mit Dropmenu Fehler
Problem gelöst. Troztdem danke.
|
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
|
|
Forumregeln
|
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
HTML-Code ist aus.
|
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 17:42:17 Uhr.
|