Closed Thread Icon

Preserved Topic: znipplets... trying to understand... Pages that link to <a href="https://ozoneasylum.com/backlink?for=7923" title="Pages that link to Preserved Topic: znipplets... trying to understand..." rel="nofollow" >Preserved Topic: znipplets... trying to understand...\

 
Author Thread
MigliO
Bipolar (III) Inmate

From: Italy
Insane since: Mar 2000

posted posted 11-11-2001 14:28

ok... the scrollbar is working... now it's time to understand..

after an hard work of cut&paste a little bit of photoshop and little modifications I'm trying to understand something about the Zscrollbar2 (maybe, we can say about DHTML..)
In the page you use divCont (what is?) and floatContent (the content of course..).
Looking at the css I found the definitions. but I don't understand where you can tell the exact position of the layer.. I mean.. if I remove the logo from the page, the text box is in the same position (72 px from the top). where is the distance from the top???


----------------------------------------
MigliO

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 11-11-2001 14:45

Open Zsetup.js file in your favorite text editor and modify safeTop variable. In the same file you can find a few more options that can be customized...


MigliO
Bipolar (III) Inmate

From: Italy
Insane since: Mar 2000

posted posted 11-11-2001 15:44

tnx again max!

going deeper...

----------------------------------------
MigliO

MigliO
Bipolar (III) Inmate

From: Italy
Insane since: Mar 2000

posted posted 11-12-2001 20:04

Here again...
I'm trying to put a layer in the middle of the screen but giving the absolute position.
Taking again zscroll as reference: how to put the logo in the middle (like beetween <center> tag..) without loosing the vertical absolute coordinate (that is 0).
removing the absolte position I can do it putting align="center" in the div tag, but the layer fall of about 10-15px...

Waiting for the light...

------------------------------------
MigliO

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 11-12-2001 21:09

You can't mix absolute & relative positions. But, in your case when you added ALIGN="center", layer was shifted down because you didn't set page margins to zero... So, simply use ALIGN="center" and modify your <BODY> tag to look like this:

<BODY LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

You can also specify "margin: 0" in CSS definition for BODY tag...


MigliO
Bipolar (III) Inmate

From: Italy
Insane since: Mar 2000

posted posted 11-12-2001 23:13

GOOOOOOOOD!!!

tnx again My Great Master!

------------------------------------
MigliO

MigliO
Bipolar (III) Inmate

From: Italy
Insane since: Mar 2000

posted posted 11-16-2001 00:23

Ok... here again...

And now the question is....
I have many pages loaded in a frameset, but all the pages are equal... the only thing tha cange is the content of a div (or layer).
how can i load only a different content for the layer and not a whole page?


------------------------------------
MigliO

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-16-2001 03:14

MigliO: If I understand the question correctly you could use IFRAMEs in browsers that allow it and layers in NS4.x (and pos. some other stuff like innerHTML?).

Emps


You're my wife now Dave

MigliO
Bipolar (III) Inmate

From: Italy
Insane since: Mar 2000

posted posted 11-16-2001 12:28

take a look at Doc's frontpage, or at Slime's one...
the page is always the same, and when you click you change only the content of a layer without the need to load a new page...

------------------------------------
MigliO

« BackwardsOnwards »

Show Forum Drop Down Menu