Ver Mensaje Individual
  #8  
Antiguo 13-03-2007
Avatar de lucasarts_18
lucasarts_18 lucasarts_18 is offline
Miembro
 
Registrado: mar 2005
Ubicación: Villa Alemana,Chile
Posts: 1.087
Reputación: 21
lucasarts_18 Va por buen camino
Excelente dec, funciona de maravilla, ya con esto puedo incrustar código php para poder construir mi menú dinámico, pero me queda dando vuelta el tema de los archivos *.js procesados por php, esto si que no me resultó, mas bien no lo he logrado entender, gracias también a julian por el aporte...

archivo prueba.php

Código:
var TREE_NODES={
	format:{
		left:0,
		top:150, 
		width:180,
		height:372,
		e_image:"images/fo_p.gif",		 
		c_image:"images/fc_p.gif",		 
		i_image:"images/i_p.gif",
		b_image:'images/b.gif',
		bgcolor:"#d4d0c8",
		back_bgcolor:"#d4d0c8",
		animation:0,
		padding:2,
		level_ident:16,
		dont_resize_back:1
	},
	sub:[
		{html:'Productos', 
			sub:[
				{html:'JavaScript', 
					sub:[
						{html:'<?php echo "Mantenedor de Productos"?>', url:'#'},
						{html:'Mantenedor de Cajas', url:'#'},
						{html:'Informes de Productos', url:'#'},
						{html:'Productos por BOdegas', url:'#'},
						{html:'Envio de Productos', url:'#'}
					]
				},
				{html:'ASP.NET', 
					sub:[
						{html:'Smart Links', url:'#'}
					]
				}
				
			]
		},
		{html:'Services', 
			sub:[
				{html:'Software Development', url:'#'},
				{html:'Web Development', url:'#'}
			]
		}
	]
}
He insertado con azul el código php que está funcionando...

Hasta Luego .-
__________________
No todo es como parece ser...
Responder Con Cita