Recent activity
Subscribe to this feed
A comment on the idea "Enable jQuery Scroll Follow to set an offset from the bottom" in Net Perspective:
I will check it out over the weekend. I just loaded up an solution wich fixes my problem with the containing area. See the testpages I loaded up yesterday. But I have still the problem if I have a very long page the animation shoots my logo far away over the borders. Have you considered this in your new version?
Anyway - I will see if I try it. Thanks for your work. Have a good weekend. Regards - marcus – marcusx, on September 12, 2008 17:09
A comment on the idea "Enable jQuery Scroll Follow to set an offset from the bottom" in Net Perspective:
Hi Ray!
Sure I can do some beta testing. I already altered your code a little bit to fit my needs, maybe you can use it as a start. It might be a little special for my project and not very universal, and I still have problems with the fact that there is another container around my parent container where my box shouldn't break out. I think I will add another option to specify an additional container to calculate the boarder of my main content container.
Here is the code:
Added at Line 52
var windowHeight = $(window).height();
Line 57:
aniTop = Math.max (parentHeight , (windowHeight - options.offset - parentTop - boxHeight + pageScroll));
I also head to add an additional trigger to fire the function once after page is loaded. Therefore I added the following line after the initialisation. This was faster than figuring out a place for that in your code. I always got an error.
$(window).trigger('scroll');
I created a testpage for you so you can have a better look than in this comment.
http://immobilien-interpres.de/conten...
here you can see the problem with the outer container if the content is not long enough.
http://immobilien-interpres.de/conten...
And here with enough content but the animation doesn't know anything about this blue border which shouldn't be overlapped. – marcusx, on September 11, 2008 17:07
marcusx shared an idea in Net Perspective on September 11, 2008 11:05:
Enable jQuery Scroll Follow to set an offset from the bottomCan you add an offset bottom method to Scroll Follow? So it is possible to place an logo or something on the bottom of an element. Like in this script: http://www.javascript-fx.com/scriptcl...
used on this page for example: http://www.kempers-jll.net/
This example can't handle an element placed inside a container. So I can't use it for my project.
Loading Profile...
