Results 1 to 7 of 7
Thread: Scrolling with page
Mar 3, 2002, 09:37 #1
Scrolling with page
I'm sorry, but this is a script request... I didn't manage to find in on any other recource site...
Mar 3, 2002, 10:28 #2
The only truly 'fixed' floating menu I've seen was done with CSS and can be seen here at the W3C site.
It uses the position: fixed definition on a <DIV>.
You can put the image into the DIV and it will be fixed just as you want it.
No movement, no redraw, just fixed.
It does exactly what it says on the tin!
Mar 3, 2002, 12:11 #3
I want the image always visible, now the div is fixed, but if you scroll, the div disappears (IE6 @ winxp)...
Mar 3, 2002, 12:37 #4
Mar 3, 2002, 12:38 #5
Odd, the W3C page is working perfectly for me.
I'm on IE5.1 for Mac which is meant to be the most standards compliant combination available.
Perhaps I'm seeing it correctly because of that.
Do you have a url that I can visit to try it out with your image?
Mar 3, 2002, 12:49 #6
Not only is the box-graphic not 'fixed' (it redraws, etc...), but it is buggy in a way that prevents the position where the box-graphic used to be from being redrawn and cleared.
This means if I scroll the window and the position of the box *before* the scroll is still within the viewable area, it still has a copy of the box-graphic.
That dead copy will stay there until something else draws over that area.
This happens with each little step (even worse if I drag the scrollbar rather than use the scroll arrows).
This means I end up with a stack of unrefreshed dead copies of the box-graphic.
It may be a Mac thing, so if you aren't expecting/seeking Mac visitors it may not be worth even considering.
That CSS method was the first version I've seen where it worked exactly right.
Given that the CSS came from W3C you may want to consider it from a standards/forward-thinking perspective.
Or maybe not.
Just letting you know
Mar 6, 2002, 07:05 #7
My site isn't online yet, but I'll let you know something.
I don't expect I'll have a lot of Mac visitors (except you ), and I only use the script in some photo galleries and that's not the main purpose of my site