473,507 Members | 12,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stopping floating menu at base of page

9 New Member
Hi Everyone,
I have implemented a floating menu that scrolls with the page. I am looking for help trying to "stop" the scrolling when it reaches the end of the content. Currently, if you scroll to the bottom of the page it overlaps onto the footer. Here is the site: www.getmyrank.com

I've also attached a screen shot to try and help illustrate what i'm trying to do. Any suggestions?
Attached Images
File Type: jpg stop.jpg (81.9 KB, 250 views)
Aug 2 '11 #1
3 2768
Rabbit
12,516 Recognized Expert Moderator MVP
You'll have to use the scroll event to figure out how far down they are on the page. When they get to a position where the menu will overlap the footer, change the positioning from fixed to absolute and position it at the bottom. When they scroll up enough, reverse the changes.

Here's a reference on the scroll event and how to find out how far they've scrolled.
http://help.dottoro.com/ljurkcpe.php
Aug 2 '11 #2
Jake Carter
9 New Member
Thanks for the reference. Might be outside of my abilities im worried :/

is there a way to do it with CSS and creating a new DIV?
Aug 2 '11 #3
Rabbit
12,516 Recognized Expert Moderator MVP
I don't think it's possible with just css. Maybe if the main content is in an iframe it might be possible. But there are issues with iframes as well.

If you want to give the javascript a shot, you can post any problems you run into and we can help you work through them.
Aug 3 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
1988
by: Christina Joch | last post by:
Here´s the script for my floating menu. Is it possible to assign it to a table cell and if yes how to do it? I hope you mean what I want to do? Thanks for help, lg Christina <!-- Start if...
2
2354
by: craig.wagner | last post by:
I have converted two ASP.NET 1.1 applications to ASP.NET 2.0. Each one had some odd results, most of which I've been able to address. I'm looking for some confirmation/advice. Both applications...
1
1414
by: Lars Hedström | last post by:
Hello I am looking for a floating menu which shows up at the left and then slides over to the right. Anyone knows where I can find such a script? Regards Lars
6
6841
by: TyBreaker | last post by:
What is the best way to create a menu bar like the Office menu bar ie one that can dock to the four corners of the screen? Is it a standard windows form or is it some other more specialised...
3
2351
by: William Youngman | last post by:
I am on a team that is developing a proposal generation web application and we are using a custom base page (ProGenBase.cs) located in the app_code directory and all of the app's web pages inherit...
3
7440
by: bdbeames | last post by:
I have a menu on the right side of my page and a flash object in the center. When a certain option in the menu is select a sub menu pops and floats left. The problem is, depending on the browser...
2
1700
by: Dariusz Tomoñ | last post by:
Hi, I have got JS at: http://www.euroadres.pl/b2b.aspx for floating menu - it activates when scrolling down. Under IE it works ok but under FF it doesn't float and what's more it covers a part...
1
1356
by: Clanger67 | last post by:
I am trying to create a floating menu that moves down the left hand side of the screen. I have some code that works great when it is embedded into the web page. What I would like to do is reference...
1
2131
by: elusified | last post by:
Hi guys, i am now doin this website that required a floating menu. the problem is how do i restrict the floating menu to prevent it from goin out of the navigation area when the window is minimize?...
2
2140
by: yela | last post by:
I am working in a floting menu for a website, I found this cool script, it works great, but I need to limit the movement of the menu to a table area, right now it goes up and down through the whole...
0
7313
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
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5039
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
3190
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...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1537
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
411
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.