473,396 Members | 1,768 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 893
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: bgeneto | last post by:
I know that it's a very basic question, but I can't figure out or find an answer to why do we have to specify a namespace, like this #include<string> using namespace std; when using the...
2
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ - What do I have to do before posting to clj? ----------------------------------------------------------------------- ...
2
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - What do I have to do before posting to clj?...
19
by: zzw8206262001 | last post by:
Hi,I find a way to make javescript more like c++ or pyhon There is the sample code: function Father(self) //every contructor may have "self" argument { self=self?self:this; ...
0
by: perdoname | last post by:
Hello, I urgently need help, im trying to complete a class which will be able of multiple - clients but is not doing the required puprose. Can anyone be assistance of what is needed to add for...
3
by: Michal | last post by:
Does any one know how to create a function that works similar as "Goal Seek" in Excel? For example: var a=8; var b=6; function c(a,b) { return a*b; }
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.