Fehler in Menü?

Jan-Frederik Stieler

Monsterator
Moderator
Hallo,
hat vielleicht jemand eine Ahnung warum bei diesem Menü der btnprojekt nicht funktioniert?

Code:
/*projekt*/
btnprojekt.onRollOver = function() {
    this.gotoAndStop(2);
};

btnprojekt.onRollOut = function() {
    this.gotoAndStop(1);
};

btnprojekt.onRelease = function() {
    this.gotoAndStop ("index.php?option=com_content&task=view&id=12&Itemid=33");
};



/*fotos*/
btnfotos.onRollOver = function() {
    this.gotoAndStop(2);
};
btnfotos.onRollOut = function() {
    this.gotoAndStop(1);
};
btnfotos.onRelease = function() {
	getURL("index.php?option=com_content&task=view&id=17&Itemid=36");
};

/*reisebericht*/
btnreisebericht.onRollOver = function() {
    this.gotoAndStop(2);
};
btnreisebericht.onRollOut = function() {
    this.gotoAndStop(1);
};
btnreisebericht.onRelease = function() {
	getURL("index.php?option=com_mojo&Itemid=37");
};

/*spenden*/
btnspenden.onRollOver = function() {
    this.gotoAndStop(2);
};
btnspenden.onRollOut = function() {
    this.gotoAndStop(1);
};
btnspenden.onRelease = function() {
	getURL("index.php?option=com_content&task=view&id=16&Itemid=32");
};

/*impressum*/
btnimpressum.onRollOver = function() {
    this.gotoAndStop(2);
};
btnimpressum.onRollOut = function() {
    this.gotoAndStop(1);
};
btnimpressum.onRelease = function() {
	getURL("index.php?option=com_neolegal&Itemid=35");
};

Ich find da keinen Fehler, aber wenn ich das Menü in die Webseite einbaue dann passiert nicht auf dem ersten Button.

Viele Grüße
 

Anhänge

  • menue.zip
    434,3 KB · Aufrufe: 10
Was soll auch da passieren.

Code:
this.gotoAndStop ("index.php?option=com_content&task=view&id=12&Itemid=33");

Das gibt ja keinen Sinn ich vermute mal das es so heißen sollte.


Code:
getURL("index.php?option=com_content&task=view&id=12&Itemid=33");
 
Zurück