![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/07/2002, 06:31
|
![Avatar de CORE](http://static.forosdelweb.com/customavatars/avatar18325_1.gif) | Usuario no validado | | Fecha de Ingreso: abril-2002 Ubicación: Merida
Mensajes: 2.165
Antigüedad: 22 años, 10 meses Puntos: 3 | |
Re: Script para botón derecho de ratón.. ayuda.. }
function lowlightie5(){
if (event.srcElement.className=="menuitems" ){
event.srcElement.style.backgroundColor="" ;
event.srcElement.style.color="#ffffff"
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems" ){
if (event.srcElement.url != ''){
if (event.srcElement.getAttribute("target") !=null)
window.open(event.srcElement.url,event.srcElement. getAttribute("target"))
else
window.location=event.srcElement.url
}
}
}
// -->
</script>
<style type=text/css>.cMenu {
BORDER-RIGHT: #30384f 2px solid; BORDER-TOP: #003366 2px solid; FONT-WEIGHT: normal; FONT-SIZE: 8pt; VISIBILITY: hidden; BORDER-LEFT: #30384f 2px solid; WIDTH: 100px; CURSOR: default; COLOR: #CCCCCC; LINE-HEIGHT: 18px; BORDER-BOTTOM: #30384f 4px solid; FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif; POSITION: absolute; BACKGROUND-COLOR: #0066CC
}
.menuitems {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px
}
</style>
<rightclick>
<!--[if IE]>
<DIV class=cMenu id=ie5menu onmouseover=highlightie5()
onclick=jumptoie5() onmouseout=lowlightie5() align=left>
<DIV class=menuitems url="index.php">Scripts</DIV>
<DIV class=menuitems url="archivos.php">Archivos</DIV>
<DIV class=menuitems url="buscador.php">Buscador</DIV>
<HR color=#000000 SIZE=1>
</DIV><![endif]-->
<script language=JavaScript>
<!--
if (document.all&&window.print){
ie5menu.className="cMenu"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
//-->
</script>
<script language=JavaScript>
<!--
if (document.all&&window.print){
ie5menu.className="cMenu"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
//-->
</script>
otro |