🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #50432

problem z style.marginLeft pod IE

#50432
From: adamschodowy
Date: Fri, 10 Dec 2010 15:08
11 lines
1282 bytes
pod FF i innych działa mi
objtomove.style.marginLeft=xleft+movestep+'px'
pod IE wywala:
Nieprawidłowy argument.
Ale
objtomove.style.marginLeft='222px'
pod IE działa.
Jeżeli składam wartośc do kupy w osobnej zmienne a potem ją podaję, np
var pixl=xleft+movestep+'px'
objtomove.style.marginLeft=pixl
też mi wywala błąd, ten sam.
Technical Details
Message-ID: <idtfq6$3su$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: <adamschodowy@gazeta.pl>
Newsgroups: pl.comp.lang.javascript
Subject: problem z style.marginLeft pod IE
Date: Fri, 10 Dec 2010 16:08:21 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 14
Message-ID: <idtfq6$3su$1@inews.gazeta.pl>
NNTP-Posting-Host: 46.113.25.35
X-Trace: inews.gazeta.pl 1291993734 3998 46.113.25.35 (10 Dec 2010 15:08:54 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Fri, 10 Dec 2010 15:08:54 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-User: adamschodowy
X-Antivirus: avast! (VPS 101210-0, 2010-12-10), Outbound message
X-MSMail-Priority: Normal
X-Antivirus-Status: Clean
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit