Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/03/2003, 04:58
ferranWEB
 
Fecha de Ingreso: enero-2002
Mensajes: 1.872
Antigüedad: 23 años, 4 meses
Puntos: 3
Ayuda con este codigo...

Buenas, soy nuevo en asp, y estoy intentando entender el siguiente codigo. se trata de un menu muy interesante...

strL1 = Request.Querystring("L1")
strL2 = Request.Querystring("L2")
'strL1 = "*"
'strL2 = "*"

strHTMLOutPut = ""
strBase1 = "<tr><td width='100%' align='left' nowrap>"
strBase2 = "</td>" & vbCrLf
strJS1 = " onMouseOver='show("
strJS2 = "GR"
strJS3 = ");' onMouseOut='normalize();'"
strLinkBase1 = "<a href='menu.asp?L1="
strLinkBase2 = "&L2="
strLinkBase3 = "' target='_self'"
strLinkBase4 = "</a>"
strLinkOut1 = "<a href='"
strLinkOut2 = "'"
strLinkOut3 = "</a>"
strSeparator = strBase1 & "<img border='0' src='_imgs/icons/menuSEP.gif' width='150' height='3'>" & strBase2

strJS2 = "GRon"
strItemGrupo1 = strBase1 & strLinkBase1 & "G" & strLinkBase3 & strJS1 & strJS2 & strJS3 & "><font class='Level1'><img border='0' src='_imgs/icons/point.gif'>Filosofia</font>" & strLinkBase4 & strBase2
strJS2 = "GRhion"
strItemGrupo2 = strBase1 & strLinkOut1 & "mainGRHis.asp" & strLinkOut2 & strJS1 & strJS2 & strJS3 & "><font class='Level2'><img border='0' src='_imgs/dummy.gif' width='10' height='1'>Historia</font>" & strLinkOut3 & strBase2
strJS2 = "GRtron"
strItemGrupo3 = strBase1 & strLinkOut1 & "mainGRTray.asp" & strLinkOut2 & strJS1 & strJS2 & strJS3 & "><font class='Level2'><img border='0' src='_imgs/dummy.gif' width='10' height='1'>Trayectoria</font>" & strLinkOut3 & strBase2
strJS2 = "GRpron"
strItemGrupo4 = strBase1 & strLinkOut1 & "mainGRProyec.asp" & strLinkOut2 & strJS1 & strJS2 & strJS3 & "><font class='Level2'><img border='0' src='_imgs/dummy.gif' width='10' height='1'>Proyección</font>" & strLinkOut3 & strBase2

alguien podria explicarme el funcionamiento de este menu? voy algo perdido, y me interesaria entender como funciona..

Gracias!