05/09/2006, 10:42
|
| | Fecha de Ingreso: enero-2006 Ubicación: México
Mensajes: 117
Antigüedad: 18 años, 10 meses Puntos: 0 | |
Hola que tal richard20 epero te sirva
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script>
function trim(t){while (t.substring(0,1) == ' '){t=t.substring(1, t.length);}while (t.substring(t.length-1,t.length)==' '){t=t.substring(0,t.length-1);}return t;}
function dge(id){return document.getElementById(id);}
function tie(submitButtonID,evt){
if(navigator.appName == 'Netscape'){
if((evt.which && evt.which==13)||(evt.keyCode && evt.keyCode==13)){dge(submitButtonID).click();retu rn false;} else return true;
}
else if((event.which && event.which==13) || (event.keyCode && event.keyCode==13)){dge(submitButtonID).click();re turn false;}
else return true;
}
var CTPopUp = null;
function ShowCoolTip(sender, tipsrc){
if ( CTPopUp != undefined)
CTPopUp.style.display = 'none';
tipsrc.style.display = 'block';
CTPopUp = tipsrc;
}
function HideCoolTip(){
if(CTPopUp != undefined)
CTPopUp.style.display = 'none';
}
var CTPU;
function ShowCoolTip2(sender, tipsrc, w, h, imageMode) {
if(navigator.appName == 'Netscape')
{
var coor = getElementPosition(sender.id, true);
tipsrc.style.display = 'block';
tipsrc.style.top = coor.top;
var w = document.body.clientWidth;
if ( coor.left + 300 > w )
tipsrc.style.left = w - 310;
else
tipsrc.style.left = coor.left;
CTPU = tipsrc;
}
else
ShowCoolTipW(sender, tipsrc, w, h, imageMode);
}
function HideCoolTip2() {
if(navigator.appName == 'Netscape')
CTPU.style.display = 'none';
else
CT2.hide();
}
var CSSDone = false;
var CT2 = window.createPopup();
function ShowCoolTipW(sender, tipsrc, w, h, imageMode) {
if (CT2.isOpen) CT2.hide();
var lefter = event.clientX;
var topper = event.clientY;
CT2.document.body.innerHTML = tipsrc.innerHTML;
CT2.document.body.cassName = tipsrc.className;
if (!CSSDone){
var ss, ds, r;
for (i=0; i < document.styleSheets.length; i++){
ds = document.styleSheets[i];
ss = CT2.document.createStyleSheet(ds.href);
for (j=0; j < ds.rules.length; j++){
r = ds.rules[j];
if (r.selectorText != "") ss.addRule(r.selectorText, r.style.cssText);
else ss.addRule("*", r.style.cssText);
}
}
CSSDone = true;
}
if (imageMode){
CT2.show(0, 0, 1, 1);CT2.hide();
w=CT2.document.body.scrollWidth;
h=CT2.document.body.scrollHeight;
}
else {
if ((w==0) || (h==0)) {
CT2.show(0, 0, 4, 3);
w = CT2.document.body.scrollWidth;
var rw = parseInt(((CT2.document.body.scrollHeight + w)/7)*4);
if (w < rw) { w = rw; }
CT2.hide();
CT2.show(0, 0, w, 3);
h = CT2.document.body.scrollHeight;
h += 2; w += 2;
CT2.hide();
}
}
CT2.show(lefter, topper, w, h, document.body);
}
function getElementPosition(elemID, withOwn)
{
var offsetTrail = dge(elemID);
var offsetLeft = 0;
var offsetTop = 0;
if (withOwn)
{
offsetLeft += offsetTrail.clientWidth;
offsetTop += offsetTrail.clientHeight;
}
while (offsetTrail) {
offsetLeft += offsetTrail.offsetLeft
offsetTop += offsetTrail.offsetTop
offsetTrail = offsetTrail.offsetParent
}
if (navigator.userAgent.indexOf("Mac") != -1 && typeof document.body.leftMargin != "undefined")
{
offsetLeft += document.body.leftMargin;
offsetTop += document.body.topMargin;
}
return {left:offsetLeft, top:offsetTop};
}
</script>
</head>
<body>
<table class="fl" cellspacing="0" cellpadding="0" border="0" style="border-collapse:collapse;" align="center">
<tr>
<td class="sp" align="center" valign="top"><table cellspacing="0" cellpadding="0" border="0" style="border-collapse:collapse;">
<tr>
<td></td><td><div id="ctr_38224" style="display: none; position: absolute;"><img src="vbulletin3_logo_fdw.gif"></div></td>
</tr>
</table></td><td class="sp" valign="top"><a class="LText" OnMouseOver="ShowCoolTip(this, ctr_38224);" OnMouseOut="HideCoolTip();" href="http://www.forosdelweb.com">hola</a><br><span class="greentext"></span></td>
</tr>
</table>
</body>
</html>
__________________ Where is my mind?.... |