469,621 Members | 1,735 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,621 developers. It's quick & easy.

Have a Goal, but now idea of where to start.

I am trying to make a script like you see on dell.com or alienware.com
where the shopping cart total scrolls down with the page, so that
someone can go trough a long list and not have to scroll up and down to
check important info like a totals. Can someone point me in the right
direction, on how to get this started. thanks - Phil

Jan 22 '07 #1
3 847
plemon wrote:
I am trying to make a script like you see on dell.com or alienware.com
where the shopping cart total scrolls down with the page, so that
someone can go trough a long list and not have to scroll up and down to
check important info like a totals. Can someone point me in the right
direction, on how to get this started. thanks - Phil
You are looking for the CSS position:fixed property and value. This is
implemented in many recent browsers. Not IE6 and I'm not sure if it is
in IE7. You can use JavaScript to simulate it in IE. I know that Dean
Edwards has done some work on this problem. If you poke around his site
you'll find some info.

<URL: http://dean.edwards.name/IE7/notes/#fixed>

Peter

Jan 22 '07 #2

Peter Michaux wrote:
plemon wrote:
I am trying to make a script like you see on dell.com or alienware.com
where the shopping cart total scrolls down with the page, so that
someone can go trough a long list and not have to scroll up and down to
check important info like a totals. Can someone point me in the right
direction, on how to get this started. thanks - Phil

You are looking for the CSS position:fixed property and value. This is
implemented in many recent browsers. Not IE6 and I'm not sure if it is
in IE7. You can use JavaScript to simulate it in IE. I know that Dean
Edwards has done some work on this problem. If you poke around his site
you'll find some info.

<URL: http://dean.edwards.name/IE7/notes/#fixed>

Peter
Thanks a lot Peter you have sent me in a good direction. I love these
groups 3 mins I had no idea what I was gonna do and now I at least have
a direction.

Jan 22 '07 #3
Peter Michaux wrote:
You are looking for the CSS position:fixed property and value. This is
implemented in many recent browsers. Not IE6 and I'm not sure if it is
in IE7.
It is indeed implemented in IE7. (I'm working on de-FRAMEing a rather
large static website right now, and position:fixed is a large part of my
scheme.)

--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
Jan 25 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by zzw8206262001 | last post: by
3 posts views Thread by Michal | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.