🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #1353

¿Error, javascript?

#1353
From: gato2006chile
Date: Sun, 15 Oct 2006 03:21
23 lines
1884 bytes
Ocupo el siguiente codigo para obtener unas coordenadas.
En cualquier tipo de Mozilla funciona bien, pero no en IE.
Donde esta el error o esta bien codificado.
function louqesea(idmenu)
...		
if (document.layers)
{
x=parseInt(document.id_menu.offsetLeft)+parseInt(document.id_menu.offsetWidth);
y=parseInt(document.id_menu.offsetTop)+parseInt(document.id_item.offsetTop);
}
else if (document.all)
{
x=parseInt(document.all.id_menu.offsetLeft)+parseInt(document.all.id_menu.offsetWidth); 
y=parseInt(document.all.id_menu.offsetTop)+parseInt(document.all.id_item.offsetTop);
}
else if (document.getElementById)
{
x=parseInt(document.getElementById(id_menu).offsetLeft) + 
parseInt(document.getElementById(id_menu).offsetWidth);
				y=parseInt(document.getElementById(id_menu).offsetTop) + 
document.getElementById(id_item).offsetTop;
}
............
Technical Details
Message-ID: <egs9g0$gge$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,2f78fdfa67ef56f5,start
X-Google-Thread: fad43,2f78fdfa67ef56f5,start
X-Google-Attributes: gid1593cb,gidfad43,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail
From: gato2006chile <gato2006chileSINESTO@gmail.com>
Newsgroups: chile.comp.programacion,chile.comp.www
Subject: ¿Error, javascript?
Date: Sat, 14 Oct 2006 23:21:23 -0400
Organization: Varios
Lines: 23
Message-ID: <egs9g0$gge$1@news.nivel5.cl>
NNTP-Posting-Host: 190.44.65.28
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.nivel5.cl 1160882496 16910 190.44.65.28 (15 Oct 2006 03:21:36 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Sun, 15 Oct 2006 03:21:36 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.10) Gecko/20060419 Thunderbird/1.5.0.5 Mnenhy/0.7.4.0