🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #205

Re: Netscape Blues

#205
From: Doug Greenhough
Date: Wed, 14 Jul 1999 00:00
48 lines
2186 bytes
In article <931935618.8032.0.nnrp-03.d4e4e97b@news.demon.co.uk>, Rob
Sedgwick <newsgroups@justinfashanu.demon.co.uk> writes
>I am trying to alter dynamically both the visibility and the href of a link.
>I can do both fine in Netscape, but not at the same time.
>
>To alter the href I use:
>
>document.links[0].href = "dogs.htm";
>
>To alter the visibility I have to surround each link by a <div> tag.
>
><div id="geese1" STYLE="position:absolute; visibility:visible;">
>
>Interestingly this doesn't worth without the position bit - is there a clue
>there?
>
>Then I can do:
>
>document.geese1.visibility = "hide";
>
>But the effect of putting the <div> tags in has made:
>
>document.links.length = 0
>
>Is there a solution?
>
>Rob
>
>
>--
>E-mail:    rsedgwick@justinfashanu.demon.co.uk
>ICQ UIN:   26075211
>Homepage:  http://www.justinfashanu.demon.co.uk
>Cockatiel Genetics: http://only.at/cockatiels
>
>
NS treats hidden images / layers as either in the head section, at the
beginning of the document or not there at all. I've had a similar
problem with rollover images, as if you hide them, it alters their
position in the document.images[] array. Hopefully someone who uses NS a
bit more than me will come up with a solution, but I have tried quite a
few 'work-arounds' which don't work }8(.

Doug

-- 
Doug Greenhough                 the Spirit Demon
mailto:doug@spirit.demon.co.uk  http://www.spirit.demon.co.uk
Technical Details
Message-ID: <xBRb8LALAGj3EwaR@spirit.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <931935618.8032.0.nnrp-03.d4e4e97b@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f76f2,acff9074ce6c9bc5
X-Google-Attributes: gidf76f2,public
X-Google-Thread: fb3cb,acff9074ce6c9bc5
X-Google-Attributes: gidfb3cb,public
From: Doug Greenhough <doug@spirit.demon.co.uk>
Subject: Re: Netscape Blues
Date: 1999/07/14
Message-ID: <xBRb8LALAGj3EwaR@spirit.demon.co.uk>
X-Deja-AN: 500942307
X-NNTP-Posting-Host: spirit.demon.co.uk:158.152.248.61
References: <931935618.8032.0.nnrp-03.d4e4e97b@news.demon.co.uk>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 931963614 nnrp-13:13492 NO-IDENT spirit.demon.co.uk:158.152.248.61
Organization: poor
MIME-Version: 1.0
Newsgroups: comp.lang.javascript,demon.homepages.authoring