 |
 |
Layer Scrolling?
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Dec 2002
Status:
Offline
|
|
It's done with CSS:
Code:
body {
...snip...
url(../images/rightbg2.gif) no-repeat fixed 100% 80px;
...snip...
}
That's the code for the image of the rabbit on the right side. I don't see any other fixed images when I visit the page but that might just be a bad render by Windows IE. Anyway, that's what you need to know.
|
|
Travis Sanderson
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Feb 2003
Location: NY²
Status:
Offline
|
|
or if you are not using .css
replace [ with <
[body background='blah.png' bgproperties='fixed']
that will get you a background image that does not scroll
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
Hey,
Their page is down now, but does anyone know how in god's name they got that translucent top border thing where the rest of the page scrolled<I>UNDER</I> it working?!
I'd LOVE to know, and I haven't seen it anywhere else!
Thanks,
gabe
(Last edited by Zimwy; Jun 9, 2003 at 07:43 PM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Aug 2002
Status:
Offline
|
|
how about a div with a z-index higher then the main content. that would have something above.
a semi transparent png image might let you see through... I don't know for sure though
--will
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
I tried a translucent gif but it won't let you save the translucency, only transparency. How do you set the z index of a div box?
Thanks,
gabe
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Melbourne, Australia
Status:
Offline
|
|
Originally posted by Zimwy:
I tried a translucent gif but it won't let you save the translucency, only transparency.
Yeah, gif only allows transparency. PNG allows a whole range of translucent options.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status:
Offline
|
|
They are using transparent png's and the css property of "position : fixed;" with a high z-index to get them to "float" above the page.
This doens't work in IE on windows because microsoft conveintly does not support the fixed position.
http://www.w3.org/Style/Examples/007/menus.html
This link should help you out. If not just take a look at macrabbit's css.
|
|
Peter Leing
17" 1.67GHz PowerBook
450MHz G4 Cube
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Feb 2001
Location: Manhattan
Status:
Offline
|
|
Originally posted by pumpkinapo:
They are using transparent png's and the css property of "position : fixed;" with a high z-index to get them to "float" above the page.
This doens't work in IE on windows because microsoft conveintly does not support the fixed position.
http://www.w3.org/Style/Examples/007/menus.html
This link should help you out. If not just take a look at macrabbit's css.
...nor does IE properly support png's...
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Dec 2002
Status:
Offline
|
|
Yeah they don't support PNG-32 (the one with the alpha channel that allows translucency rather than only absolute transparency) but there is hope. I've read about a hack to make it work before and I think this is it:
http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
I don't have time to check it out right now..if someone gets a chance to before me, report back 
|
|
Travis Sanderson
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Aug 2000
Location: Califon, NJ
Status:
Offline
|
|
|
|
|
Peter Leing
17" 1.67GHz PowerBook
450MHz G4 Cube
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|