Buenas, tengo un problema, cree un menu desplegable con un programa llamado AllWebMenus PRO ver 4.1.... tengo el .js pero no se como insertarlo en mi pagina aqui esta el codigo... les agardeceria su ayuda
Código HTML:
<head>
<script language="Javascript">
var awmMenuName='menu';
var awmLibraryBuild=626;
var awmLibraryPath='/awmdata';
var awmImagesPath='/awmdata';
var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1 || navigator.userAgent.indexOf('Konqueror')>-1)?1:0;
if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);
if (awmSupported){
var awmMenuPath;
if (document.layers) mpi=((document.images['awmMenuPathImg-menu'])?document.images['awmMenuPathImg-menu'].src:document.layers['xawmMenuPathImg-menu'].document.images['awmMenuPathImg-menu'].src); else mpi=document.images['awmMenuPathImg-menu'].src;
awmMenuPath=mpi.substring(0,mpi.length-16);
while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'", "'");}
var nua=navigator.userAgent,scriptNo=(nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:1)));
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
var n=null;
awmzindex=1000;
}
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmUseTrs=0;
var awmSepr=["0","","",""];
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=["greenheart_itembg.jpg",45,41,"greenheart_bg1.gif",100,100];
awmCreateCSS(1,2,1,'#004000',n,n,'bold 14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',0);
awmCreateCSS(0,2,1,'#004000',n,n,'bold 14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',0);
awmCreateCSS(0,1,0,n,'#F4FFF4',n,n,n,'outset',2,'#C0C0C0',0,0);
awmCreateCSS(1,2,1,'#004000','#F4FFF4',n,'14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',1);
awmCreateCSS(0,2,1,'#FFFFFF','#000080',0,'14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',1);
awmCreateCSS(0,2,1,'#FFFFFF','#92B06C',0,'14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',1);
awmCreateCSS(1,2,1,'#004000','#F4FFF4',n,'14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',0);
awmCreateCSS(0,2,1,'#FFFFFF','#000080',0,'14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',0);
awmCreateCSS(0,2,1,'#FFFFFF','#92B06C',0,'14px sans-serif',n,'none',0,'#000000','0px 0px 0px 0',0);
awmCreateCSS(0,1,0,n,n,1,n,n,'outset',2,'#C0C0C0',0,0);
var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,10,10,0,0,2,0,1,0,n,n,100,0,0,10,10);
it=s0.addItem(0,1,1,"Main Menu Group",n,n,"","",n,n,n,n,n,0,0,0,0);
it=s0.addItem(3,4,5," Institucion ",n,n,"","inscons.php",n,n,n,"inscons.php",n,0,0,2,0);
it=s0.addItem(3,4,5," Banco ",n,n,"","bancocons.php",n,n,n,"bancocons.php",n,0,0,2,0);
it=s0.addItem(3,4,5," Seguro ",n,n,"","segucons.php",n,n,n,"segucons.php",n,0,0,2,0);
it=s0.addItem(3,4,5," Corredor ",n,n,"","corredorcons.php",n,n,n,"corredorcons.php",n,0,0,2,0);
it=s0.addItem(3,4,5," Taller ",n,n,"","tallercons.php",n,n,n,"tallercons.php",n,0,0,2,0);
it=s0.addItem(6,7,8," Comisiones ",n,n,"","",n,n,n,n,n,0,0,2,0);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,9,0,1,0,n,n,100,0,2);
it=s1.addItem(0,1,1,"Submenu Group",n,n,"","",n,n,n,n,n,0,0,0,0);
it=s1.addItem(3,4,5," Ingresar ",n,n,"","comis.php",n,n,n,"comis.php",n,0,0,2,0);
it=s1.addItem(3,4,5," Comisiones Canceladas ",n,n,"","comiscancel.php",n,n,n,"comiscancel.php",n,0,0,2,0);
it=s0.addItem(6,7,8," Pólizas ",n,n,"","",n,n,n,n,n,0,0,2,0);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,9,0,1,0,n,n,100,0,3);
it=s1.addItem(0,1,1,"Submenu Group",n,n,"","",n,n,n,n,n,0,0,0,0);
it=s1.addItem(6,7,8," Asegurados ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," HCM ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," Beneficiarios ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," HCM por Cancelar ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," HCM Cancelado ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," Vehicular ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," Vehicular por Cancelar ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," Vehicular Cancelado ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s0.addItem(6,7,8," Siniestros ",n,n,"","",n,n,n,n,n,0,0,2,0);
var s1=it.addSubmenu(0,0,-4,2,0,0,0,9,0,1,0,n,n,100,0,4);
it=s1.addItem(0,1,1,"Submenu Group",n,n,"","",n,n,n,n,n,0,0,0,0);
it=s1.addItem(6,7,8," HCM ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," HCM por Cancelar ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," HCM Cancelado ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," Vehicular ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," Vehicular por Cancelar ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s1.addItem(6,7,8," Vehicular Cancelado ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s0.addItem(6,7,8," Marca ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s0.addItem(6,7,8," Modelo ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s0.addItem(6,7,8," Tipo de Póliza ",n,n,"","",n,n,n,n,n,0,0,2,0);
it=s0.addItem(6,7,8," Tipo de Usuario ",n,n,"","",n,n,n,n,n,0,0,2,0);
s0.pm.buildMenu();
}}
</script>
</head>
<body>
<div align="center">
<table width="654" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="100" colspan="4" valign="top"><img src="fondo.png" width="870" height="100"></td>
</tr>
<tr>
<td height="27" colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="654" height="27"> </td>
</tr>
</table> </td>
</tr>
<tr>
<td width="5" height="1"></td>
<td width="139"></td>
<td width="526"></td>
<td width="200"></td>
</tr>
<tr>
<td height="200"></td>
<td rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#f4fff4">
<!--DWLayoutTable-->
<tr>
<td> <?php echo function awmBuildMenu();?></td>
</tr>
<!--<tr>
<td width="139" height="10" class="nuvo">jhs</td>
</tr> -->
</table>
</td>
<td> </td>
<td valign="top"><img src="brand.gif" alt="" width="200" height="200" border="0" longdesc="band"></td>
</tr>
<tr>
<td height="115"></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="204"></td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="30" colspan="4" valign="top" bgcolor="#92b06c"><div align="center"><span class="Estilo1"><strong>CLABARCAR</strong><strong><br />
Dirección: Final de la Av. Santiago Mariño, Edificio Blue Sky, Piso 3, Oficina 3-5 </strong></span></div></td>
</tr>
</table>
</div>
</body>
</html>