Article View: chile.comp.programacion
Article #3373Re: Como puedo hacer esto? HTML
From: NeXeon
Date: Thu, 10 Mar 2005 22:28
Date: Thu, 10 Mar 2005 22:28
97 lines
4031 bytes
4031 bytes
copia y pega esto en un archivo de texto y cambiale la extension a .htm
------------------------------------------------------------------------------Esto
NO
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Documento sin título</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_changeProp(objName,x,theProp,theValue) { //v6.0
var obj = MM_findObj(objName);
if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
if (theValue == true || theValue == false)
eval("obj."+theProp+"="+theValue);
else eval("obj."+theProp+"='"+theValue+"'");
}
}
//-->
</script>
<style type="text/css">
<!--
.Estilo1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<div id="Layer1" class="Estilo1" style="position:absolute; left:74px;
top:20px; width:83px; height:19px; z-index:1; background-color: #FF0000;
layer-background-color: #FF0000; border: 1px none #000000; visibility:
hidden;">Como estas? </div>
<a href="#"
onMouseOver="MM_changeProp('Layer1','','style.visibility','visible','DIV')"
onMouseOut="MM_changeProp('Layer1','','style.visibility','hidden','DIV')">Hola</a>
</body>
</html>
------------------------------------------------------------------------Esto
NO
"[Konus]" <"konus["@]tie.cl> escribi� en el mensaje
news:39bm17F61qgqiU1@individual.net...
> Tziu wrote:
>> Quiero que al pasar con el mouse sobre una palabra me aparezca al lado
>> una
>> informacion, y al sacar el mouse desparezca, no se si me explico bien,
>> quiero algo asi
>>
>> En una pagina tengo el texto
>> HOLA
>>
>> si posiciono el mouse sobre el texto al lado me aparezca �como est�s?
>>
>> y si saco el mouse de HOLA, desaparezca "�como est�s?"
>>
>> Espero no haber sido muy enredado en mi explicacion
>> Gracias al que pueda ayudarme con mi duda
>>
>>
>
> supongo que puede ser con el <acronym style="cursor:help;border-bottom:1px
> dotted" title="�Como est�s?">HOLA</acronym>
>
> o en vez de "acronym", puedes usar "abbr"
>
>
> --
> Felipe Navarro V.
> konus[at]gmail
> http://www.konus.tk - blog
> Dpto Ingenier�a Inform�tica
> Universidad de Santiago de Chile
Technical Details
Message-ID:
<4230c90a_2@x-privat.org>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!x-privat.org!not-for-mailReferences:
<42121f5b$1_2@nova.entelchile.net> <39bm17F61qgqiU1@individual.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,e5150eaf7ffe4e8b X-Google-Thread: 108368,e5150eaf7ffe4e8b X-Google-Attributes: gid1593cb,gid108368,public X-Google-Language: SPANISH,ASCII From: "NeXeon" <nexeon@netexplora.nospam.com> Newsgroups: chile.comp.programacion,chile.mercado.software References: <42121f5b$1_2@nova.entelchile.net> <39bm17F61qgqiU1@individual.net> Subject: Re: Como puedo hacer esto? HTML Date: Thu, 10 Mar 2005 19:28:01 -0300 Lines: 99 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 NNTP-Posting-Host: $$6cknpcitinwq5.x-privat.org Message-ID: <4230c90a_2@x-privat.org> Organization: X-Privat NNTP Server - http://www.x-privat.org X-Authenticated-User: $$rths9zi-x7_hroat-jlef X-Complaints-To: abuse@x-privat.org Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!x-privat.org!not-for-mail