Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/07/2011, 13:31
Avatar de UID
UID
 
Fecha de Ingreso: febrero-2004
Ubicación: Villahermosa tabasco cent
Mensajes: 251
Antigüedad: 20 años, 9 meses
Puntos: 0
Pregunta Como hacer ver un menu hecho en javascript DHTML?

Hola amigos aqui molestandolos... quisiera saber si alguno de ustedes me puede ayudar con este pequeño problema que tengo:
Primero pues uso Php-Nuke 7.9
Segundo Hice un Modulo Sencillo... donde puse un menu hecho javascript DHTML
El problema es que a la hora de entrar al modulo no se muestra el menu... :(

esta es la direccion donde debe aparecer el menu http://www.edno1982.com/modules.php?name=Videos

Para saber si no me fallaba el codigo de javascript lo puse en un html
http://www.edno1982.com/modules/Videos/menu_videos.html

El codigo del modulo es el siguiente:

Código:
<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("No puede acceder a este archivo directamente...");
}
require_once("mainfile.php");
//Escribe el nombre de tu pagina, sin la extensión.
$page = "menu_videos";
include("header.php");
//Activar o desactivar los bloques del lado derecho, Activados=1 Desactivados=0
$index = 1;
OpenTable();
//Puedes cambiar la extensión de tu pagina aunque te recomiendo que no toques esta línea
// y que utilizes la extensión *.html para tus paginas.
include("$page.html");
CloseTable();
include("footer.php");
?>
Como ven en el codigo del modulo tengo con un include la pagina html donde esta el menu.. para probar que realmente funcionaba el include puse en el codigo del html "Aqui deberia aparecer este menu de abajo..." para ver si realmente funcionaba el include y si funciona...

Ahora les pongo el codigo del menu javascript ya insertado en la pagina HTML llamada menu_videos.html

Código:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" x-undefined>
<script type="text/javascript" src="stmenu.js"></script></head>

<body>
Aqui deberia aparecer este menu de abajo...
<a href="http://www.dhtml-menu-builder.com"  style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a>
<script type="text/javascript">
<!--
stm_bm(["menu7aae",900,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,1,"default","hand","",1,25],this);
stm_bp("p0",[1,4,0,0,0,2,0,0,100,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.20)",12,"",-2,90,0,0,"#D8D8D8","transparent","",3,0,0,"#CCCCCC"]);
stm_ai("p0i0",[0,"","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#79B6D1",1,"#CCCCCC",1,"060428up.gif","060428up.gif",3,3,0,0,"#5AA2C1","#000000","#FFFFFF","#FFFFFF","8pt Arial","8pt Arial",0,0,"","","","",0,0,0],193,12);
stm_aix("p0i1","p0i0",[0,"Videos","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#62BFEF",0,"#62BFEF",0,"060428line.gif","060428line.gif",3,3,0,0,"#5AA2C1","#000000","#FFFFFF","#FFFFFF","bold 8pt Arial","bold 8pt Arial"],193,30);
stm_ai("p0i2",[6,1,"#CCCCCC","060428line0.gif",193,1,0]);
stm_aix("p0i3","p0i0",[0,"Video dedicado a Mar","","",-1,-1,0,"","_self","","","","",0,0,0,"","",-1,-1,0,1,1,"#62BFEF",0,"#74C9F5",0,"060428line.gif","060428line1.gif"],193,0);
stm_bpx("p1","p0",[1,2,5,0,0,2,0,0,100,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.20)",12,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.20)",12]);
stm_aix("p1i0","p0i0",[],193,12);
stm_aix("p1i1","p0i0",[0,"Ver Video","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,1,1,"#62BFEF",0,"#74C9F5",0,"060428line.gif","060428line2.gif"],193,0);
stm_aix("p1i2","p0i0",[0,"","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#79B6D1",1,"#CCCCCC",1,"060428down.gif","060428down.gif",3,3,0,0,"#5AA2C1 #000000 #000000","#CCCC00"],193,12);
stm_ep();
stm_aix("p0i4","p0i2",[]);
stm_aix("p0i5","p0i3",[0,"Iphone 4 VS Nexus 1"],193,0);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p0i0",[],193,12);
stm_aix("p2i1","p1i1",[],193,0);
stm_aix("p2i2","p1i2",[],193,12);
stm_ep();
stm_aix("p0i6","p0i2",[]);
stm_aix("p0i7","p0i3",[0,"Ricardo VS Fex"],193,0);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p0i0",[],193,12);
stm_aix("p3i1","p1i1",[],193,0);
stm_aix("p3i2","p1i2",[],193,12);
stm_ep();
stm_aix("p0i8","p0i2",[]);
stm_aix("p0i9","p0i3",[0,"Combo Rugal Kof 2002 UM"],193,0);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p0i0",[],193,12);
stm_aix("p4i1","p1i1",[],193,0);
stm_aix("p4i2","p1i2",[],193,12);
stm_ep();
stm_aix("p0i10","p1i2",[],193,12);
stm_ep();
stm_em();
//-->
</script>

</body>

</html>
Yo lo unico que quiero es que ese menu que tengo en mi pagina html aparesca en el modulo .. es todo :P espero su ayuda gracias de antemano.
__________________
http://www.xpresatelibre.com La Xpresion Al Maximo Nivel