From: Mikhail Zabaluev <mhz@alt-linux.org> To: sisyphus@altlinux.ru Subject: [sisyphus] Re: Работоспособ ность Sun JDK и пара вопросов про glibc Date: Tue, 16 Apr 2002 00:17:45 +0400 Message-ID: <20020415201745.GB1984@mhz.mikhail.zabaluev.name> (raw) In-Reply-To: <3CBB2D19.8070805@altlinux.com> Hello Anton, On Mon, Apr 15, 2002 at 11:42:17PM +0400, Anton Farygin wrote: > > function Initialize() > > { > > sp = new Image(); > > sp.src = "img/sp.gif"; > > over = new Image(); > > pointer = new Image(); > > menustruct = new Array(); > > ns = (document.layers)? true:false; > > ie = (document.all)? true:false; > > ie5 = (navigator.appVersion.indexOf("MSIE 5.5")>-1)?true:false; > > ie6 = (navigator.appVersion.indexOf("MSIE 6")>-1)?true:false; > > ns6 = (document.getElementById)? true : false; > > > А падает тут, т.к. el получается не определен: > > function SetLayerAttr(id, attr, value) > { > if (ie) el = document.all[id].style; > if (ns) el = document.layers[id]; > eval('el.' + attr + ' = "' + value + '"'); > } > > Вообще так конечно пишут.. но... так писать нельзя. > > Большинство из этих вещей реализуется универсально, Верно. > а на NS 4.x надо уже > забивать. Неверно. Посмотрите в статистиках Google -- им ещё пользуется больше людей, чем Other, т.е. Mozilla, NS6 и Opera вместе взятыми. -- Stay tuned, MhZ JID: mookid@jabber.org ___________ Everything that you know is wrong, but you can be straightened out.
next prev parent reply other threads:[~2002-04-15 20:17 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-15 9:18 [sisyphus] Работоспособность " Michael Rumjantsev 2002-04-15 10:16 ` Dmitry V. Levin 2002-04-15 10:52 ` [sisyphus] Работоспособ ность " Michael Rumjantsev 2002-04-15 13:14 ` Alexey Morozov 2002-04-15 13:23 ` AVL 2002-04-15 13:45 ` Michael Rumjantsev 2002-04-15 14:24 ` [sisyphus] " Sergey S. Skulachenko 2002-04-15 14:39 ` AVL 2002-04-15 15:00 ` [sisyphus] " Sergey S. Skulachenko 2002-04-15 16:29 ` Любимов А.В. 2002-04-15 19:42 ` Anton Farygin 2002-04-15 20:17 ` Mikhail Zabaluev [this message] 2002-04-15 20:19 ` [sisyphus] " Любимов А.В. 2002-04-15 21:44 ` rider 2002-04-15 14:47 ` [sisyphus] " AVL 2002-04-15 15:10 ` Sergey Vlasov 2002-04-16 4:34 ` Michael Rumjantsev 2002-04-15 14:47 ` Ivan Zakharyaschev 2002-04-16 5:12 ` Michael Rumjantsev 2002-04-15 13:48 ` [sisyphus] GNUCash locale & fonts Bender 2002-04-15 17:36 ` Vitaly Lipatov 2002-04-15 19:10 ` [sisyphus] " Michael Shigorin 2002-04-15 19:52 ` Vitaly Lipatov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020415201745.GB1984@mhz.mikhail.zabaluev.name \ --to=mhz@alt-linux.org \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git