hi,
nach stunden langen rumsuchen auf selfhtml.net und etlichen anderen seiten, bin ich nun am ende meiner nerven!
also will mit GoLive 5.0 ein pop-up menü gestalten, klappt auch alles wunderbar! das problem ist aber, das ich nur dem gesamten pop-up menü eine aktion zuweisen kann und nicht jedem untermenü eine einzelne. hier mal ein paar nette zeilen
-->
<csactions>
<csaction name="90B4481" class="Goto Link" type="onevent" val0="site/musterseite.html" val1="frame_u_r">
</csactions>
<csscriptdict>
<script><!--
CSStopExecution = false;
function CSAction(array) {
return CSAction2(CSAct, array);
}
function CSAction2(fct, array) {
var result;
for (var i=0;i<array.length;i++) {
if(CSStopExecution) return false;
var actArray = fct[array[i]];
if(actArray == null) return false;
var tempArray = new Array;
for(var j=1;j<actArray.length;j++) {
if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {
if(actArray[j][0] == "VAR") {
tempArray[j] = CSStateArray[actArray[j][1]];
}
else {
if(actArray[j][0] == "ACT") {
tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
}
else
tempArray[j] = actArray[j];
}
}
else
tempArray[j] = actArray[j];
}
result = actArray0;
}
return result;
}
CSAct = new Object;
function CSGotoLink(action) {
if (action[2].length) {
var hasFrame=false;
for(i=0;i<parent.frames.length;i++) { if (parent.frames[i].name==action[2]) { hasFrame=true; break;}}
if (hasFrame==true)
parent.frames[action[2]].location = action[1];
else
window.open (action[1],action[2],"");
}
else location = action[1];
}
// --></script>
</csscriptdict>
<csactiondict>
<script><!--
CSAct[/*CMP*/ '90B4481'] = new Array(CSGotoLink,/*URL*/ 'site/musterseite.html','frame_u_r');
// --></script>
</csactiondict>
</head>
<body bgcolor="white" leftmargin="0" topmargin="0">
<table border="0" cellpadding="0" cellspacing="2" width="110" background="site/Image/menue_hintergrund.jpg" height="286">
<tr>
<td>
<center>
<table cool width="110" height="283" showgridx showgridy gridx="16" gridy="16" border="0" cellpadding="0" cellspacing="0">
<tr height="24">
<td width="101" height="24" colspan="2" valign="top" align="left" xpos="0" backgroudcolor="BEE1BD"><select name="navi" size="1" style="width:100px; background-color:#E3EAE3; font-size:8pt; font-family:Arial,sans-serif;" onchange="CSAction(new Array(/*CMP*/'90B4481'));" cschng="90B4481">
<option value="nothing">-Apotheke-</option>
<option value="../philosophie/philosophie.html">Philosophie</option>
<option value="../../anfahrt/anfahrt.html">Anfahrt</option>
<option value="../../../html/index.htm">Mitarbeiter</option>
wenns geht, nennt mir bitte die lösung auf golive bezogen! dickes dankeschön schonmal im voraus...gruss MARCUS