Closed Thread Icon

Topic awaiting preservation: Help Me pls (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8001" title="Pages that link to Topic awaiting preservation: Help Me pls (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Help Me pls <span class="small">(Page 1 of 1)</span>\

 
Chin Yaw
Obsessive-Compulsive (I) Inmate

From: Malaysia
Insane since: Dec 2001

posted posted 12-26-2001 14:39

Actually, I posted this in the unregistered forum, but I see that the response there is rather.. uhm.. bad.. so I decided to register and post here instead.

Just asking: can I hide the layers(divCont, floatContent, scrollbkg...) of the Zscroller2, and How? Please Reply ASAP!

Thanks In Advance!

dk01
Bipolar (III) Inmate

From: dk's house of love
Insane since: Oct 2001

posted posted 12-26-2001 15:32

Welcome. I dunno if I am out of it or something but I have no clue what you are talking about. Sorry but maybe if you are more descriptive or give some code then people might actually be able to help you.

- can't decide? have another drink.

Chin Yaw
Obsessive-Compulsive (I) Inmate

From: Malaysia
Insane since: Dec 2001

posted posted 12-26-2001 15:51

Well, Zscroller2 is something you can get from the Doc at www.znippets.com .



[This message has been edited by Chin Yaw (edited 12-26-2001).]

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 12-26-2001 17:52

I am not really sure if this will help you but ...

You can use some JavaScript to toggle the visibility of those items.

Later,
C:\

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 12-26-2001 18:30

You can use the following two functions to show / hide ZscrollBar...

<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!-- ;

// Written by mr.maX, http://www.maxworld.co.yu/

function hideZscrollBar() {
&nbsp;&nbsp;&nbsp;&nbsp;for (i = 0; i < Zobject.length; i++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Zobject[i].visibility = 'hidden';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Zobject[i].setZall();
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;loaded = 0;
}

function showZscrollBar() {
&nbsp;&nbsp;&nbsp;&nbsp;for (i = 0; i < Zobject.length; i++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Zobject[i].visibility = 'visible';
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Zobject[i].setZall();
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;loaded = 1;
}

// -->
</SCRIPT>

BTW Unregistered/unmoderated forum is used just for fooling around, it's not used for asking technical questions and that's why you didn't get any answer there...


Chin Yaw
Obsessive-Compulsive (I) Inmate

From: Malaysia
Insane since: Dec 2001

posted posted 12-27-2001 02:40

Alright, I'll go try editing the code some more. Thanks again.

Chin Yaw
Obsessive-Compulsive (I) Inmate

From: Malaysia
Insane since: Dec 2001

posted posted 12-27-2001 03:11

It worked. but can i do this instead?

<div id="group" style="visibility:hidden;">
<div id="divCont">...</div>
<div id="floatContent">...</div>
<div id="...">...</div>
</div>

so that I can just change the visibility of "group" to hide/show all the other layers. I *think* it should work, but after implementing it as above. It did not work. Can you tell me what is the problem(and whether can it work)? Pardon me, cause my dhtml and Js *** bad.

Thanks.(Yet again...)

Chin Yaw


Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 12-27-2001 07:07

Good thinking, but the problem is the inside divs are positioned absolutely, so they lose the inheritance of lots of their parents CSS properties, including the visibility.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 12-27-2001 09:41

ZscrollBar is relatively complex script and due to its complexity you can't use that way to hide it. Only way to do it properly is to use two functions that I wrote...


Chin Yaw
Obsessive-Compulsive (I) Inmate

From: Malaysia
Insane since: Dec 2001

posted posted 12-27-2001 09:52

Thanks

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 12-28-2001 12:47

...and I think your 'style=' attribute is a little fudged up....

...... or maybe I shouldn't post to 'helpful' threads after a hard night a partying and no sleep...


"...when I'm high like heaven, when I'm strong like music, 'cause I'm slow like honey and heavy with mood..."
ICQ: 67751342

« BackwardsOnwards »

Show Forum Drop Down Menu