473,508 Members | 2,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

relative floating div

I apologize if this question has been asked and answered before, but I have
been unable to find a definitive answer for my specific requirements.

I am looking to reproduce the scrolling effect found here:

http://www.sothink.com/product/dhtml...loat/index.php

I have seen other examples of this effect, but none as smooth as this. I
also like the way it slows to a stop when scrolling quickly.

I don't need the menu navigation--only a floating div that contains text.

Any suggestions would be much appreciated.

Jun 16 '06 #1
2 1927

Bosconian wrote:
I apologize if this question has been asked and answered before, but I have
been unable to find a definitive answer for my specific requirements.

I am looking to reproduce the scrolling effect found here:

http://www.sothink.com/product/dhtml...loat/index.php

I have seen other examples of this effect, but none as smooth as this. I
also like the way it slows to a stop when scrolling quickly.

I don't need the menu navigation--only a floating div that contains text.

Any suggestions would be much appreciated.


If all you want is a fixed div, try CSS. Much easier.
div#fixed {
position:fixed;
top:100px;
left: 10px;
width: 300px;
}
or whatever.

Jun 17 '06 #2
"Joshie Surber" <jo**********@gmail.com> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...

Bosconian wrote:
I apologize if this question has been asked and answered before, but I have been unable to find a definitive answer for my specific requirements.

I am looking to reproduce the scrolling effect found here:

http://www.sothink.com/product/dhtml...loat/index.php

I have seen other examples of this effect, but none as smooth as this. I
also like the way it slows to a stop when scrolling quickly.

I don't need the menu navigation--only a floating div that contains text.
Any suggestions would be much appreciated.


If all you want is a fixed div, try CSS. Much easier.
div#fixed {
position:fixed;
top:100px;
left: 10px;
width: 300px;
}
or whatever.


Hi, thanks for your reply.

I'm familiar with what you describe and you're right, it's a very simple
method to achieve the effiect.

I found this example, which is relatively light and achieves the desired
sexy scrolling and slows to a stop effect.

http://www.dynamicdrive.com/dynamici...staticmenu.htm
Jun 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
3620
by: JS | last post by:
We have the same floating point intensive C++ program that runs on Windows on Intel chip and on Sun Solaris on SPARC chips. The program reads the exactly the same input files on the two platforms....
5
3727
by: Anton Noll | last post by:
We are using Visual Studio 2003.NET (C++) for the development of our software in the fields digital signal processing and numerical acoustics. One of our programs was working correctly if we are...
687
22818
by: cody | last post by:
no this is no trollposting and please don't get it wrong but iam very curious why people still use C instead of other languages especially C++. i heard people say C++ is slower than C but i can't...
7
3377
by: Vinoth | last post by:
I'm working in an ARM (ARM9) system which does not have Floating point co-processor or Floating point libraries. But it does support long long int (64 bits). Can you provide some link that would...
4
2823
by: jacob navia | last post by:
Hi people I continue to work in the tutorial for lcc-win32, and started to try to explain the floating point flags. Here is the relevant part of the tutorial. Since it is a difficult part, I...
32
4047
by: ma740988 | last post by:
template <class T> inline bool isEqual( const T& a, const T& b, const T epsilon = std::numeric_limits<T>::epsilon() ) { const T diff = a - b; return ( diff <= epsilon ) && ( diff >= -epsilon );...
7
9294
by: Cruelemort | last post by:
All, I have a div in my page that has a set width of 1000px, height of 200px, inside this i declare two more div's, both relatively positioned and floated left, the first is placed to the top...
39
3519
by: rembremading | last post by:
Hi all! The following piece of code has (for me) completely unexpected behaviour. (I compile it with gcc-Version 4.0.3) Something goes wrong with the integer to float conversion. Maybe somebody...
10
3045
by: aitorf666 | last post by:
Hi! I have been looking for a comparison table of the relative cost of operations in C++ because it can be very useful for all. I have found this: printf/scanf 1000 new/delete 800 trig....
0
7223
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
7114
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
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
7488
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...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.