raray / jquery-scroll-follow Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jquery-scroll-follow
License: MIT License
Automatically exported from code.google.com/p/jquery-scroll-follow
License: MIT License
What steps will reproduce the problem?
1. Open the page
http://www.venice-international.com/apartments/category/apartments-sale-venice-i
taly
As you can see, the code doesn't work, the div "contact_us" o the right sidebar
doesn't follow the scroll action and Firebug report an error at line 25 of the
file ui.core.js. The error is:
"missing ) after for-loop initializer"
the line contain this loop:
for (var i = 0; i < set.length; i++) {
My browser is FireFox 5 on Windows7 Pro
Thanks a lot
Original issue reported on code.google.com by [email protected]
on 22 Jul 2011 at 2:18
What steps will reproduce the problem?
1. Install Fancybox plugin
2. Make a link to a fancybox iframe( <a
href="http://www.google.com/?iframe" class="fancybox">) into the
sroll-follow div.
3. Click on the link, see the iframe, close it
4. The scroll follow doesn't work anymore :(
What is the expected output? What do you see instead?
The scroll should be working, it's doesn't move anymore and no error in
Firebug.
What version of the product are you using? On what operating system?
V 0.4.0 on Firefox 3.5 on Apple
Please provide any additional information below.
If you need more information, just let me know...
Original issue reported on code.google.com by [email protected]
on 8 Jul 2009 at 2:48
Hey,
I tried without the 'optional' cookie plugin but got this:
Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no
method 'cookie'
Original issue reported on code.google.com by [email protected]
on 26 May 2011 at 9:13
What steps will reproduce the problem?
1. Open in IE6.0 the following URL:
http://koreacar.com.ua/
2. Scroll down, the right box is moving down.
In FF3.0 all is fine, in IE 6.0 the cursor has "small hours" and it's
blinking all the time the right box is moving.
Win XP
Original issue reported on code.google.com by [email protected]
on 20 Nov 2008 at 9:44
What steps will reproduce the problem?
1. IE series
2. the document heigth >the heigth of your screen division。
3.
What is the expected output? What do you see instead?
the scroll will stop
:
at the line 58:
change var parentHeight = parseInt( box.cont.attr( 'offHeight' ) );
to var parentHeight = parseInt( box.cont.attr( 'scrollHeight' ) );
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Nov 2010 at 8:54
See :
http://getsatisfaction.com/netperspective/topics/scrollfollow_breaks_with_jquery
_1_6
Fix :
So, change
var parentHeight = parseInt(box.cont.attr('offsetHeight'));
to
var parentHeight = parseInt(box.cont.prop('offsetHeight'));
and change
var boxHeight = parseInt( box.attr( 'offsetHeight' ) + ( parseInt( box.css(
'marginTop' ) ) || 0 ) + ( parseInt( box.css( 'marginBottom' ) ) || 0 ) );
to
var boxHeight = parseInt( box.prop( 'offsetHeight' ) + ( parseInt( box.css(
'marginTop' ) ) || 0 ) + ( parseInt( box.css( 'marginBottom' ) ) || 0 ) );
Original issue reported on code.google.com by [email protected]
on 8 Dec 2011 at 3:47
There have been requests for the ability to stick a scroll follow in a
fixed location without animations.
Original issue reported on code.google.com by [email protected]
on 2 Jul 2008 at 3:27
I've created github fork of this library and included fix for compatibility
with latest jQuery:
https://github.com/GvS666/jquery-scroll-follow
Original issue reported on code.google.com by [email protected]
on 4 Mar 2013 at 4:54
On the following site:
http://www.mefik.co.il/categories/%D7%92%D7%A0%D7%99_%D7%90%D7%99%D7%A8%D7%95%D7
%A2%D7%99%D7%9D_%D7%9E%D7%A7%D7%95%D7%9E%D7%95%D7%AA_%D7%A4%D7%AA%D7%95%D7%97%D7
%99%D7%9D_1_88
The plugin is initialized with only speed:50, all other parameters are taken
from the default parameters.
The plugin is applied to the banners on the right side of the page. It looks as
if the plugin is trying to keep the banners vertically centered instead of
fixing it to the top of the viewport, which is what I would expect to see. On
lower-resolution screens this causes some of the banners to be cut off
unnecessarily.
The site uses jQuery 1.5.1 and jQuery UI 1.8.11. I was able to reproduce this
behavior in IE9 and Chrome.
Any help/tips would be greatly appreciated.
- Chaim
Original issue reported on code.google.com by [email protected]
on 5 Mar 2013 at 9:36
If any one is having issues with this plugin not working because of the upgrade
of jQuery to 1.6. Here's the fix:
Look for the line:
var parentHeight = parseInt( box.cont.attr( 'offsetHeight' ) );
var boxHeight = parseInt( box.attr( 'offsetHeight' ) + ( parseInt( box.css(
'marginTop' ) ) || 0 ) + ( parseInt( box.css( 'marginBottom' ) ) || 0 ) );
Replace it with this:
var parentHeight = parseInt(box.cont.css('padding-top')) +
parseInt(box.cont.css('height'));
var boxHeight = parseInt( (parseInt(box.css('padding-top')) +
parseInt(box.css('height'))) + ( parseInt( box.css( 'marginTop' ) ) || 0 ) + (
parseInt( box.css( 'marginBottom' ) ) || 0 ) );
Voila! It should be working again.
Original issue reported on code.google.com by [email protected]
on 13 Jul 2011 at 7:47
What steps will reproduce the problem?
I have a layer that scrolls with the page using Scroll Follow 0.4.0
Inside the div there is a close button, which just hides the element. (i have
also tried removing it).
In firefox when the element has either been removed or hidden (display:block;),
the page no longer scrolls (using the scroll wheel on the mouse).
I have tried the following in addition to my close function:
$(window).unbind('scroll');
$(window).unbind('resize');
neither seem to have any effect.
If I alt-tab to another program or tab in firefox, then switch back to the
page, the scrolling works fine.
What is the expected output? What do you see instead?
I would like the end-users to be able to continue scrolling through the page
once the overlay has closed using the mouse scroll wheel.
What version of the product are you using? On what operating system?
0.4.0 - Problem only exists in Firefox.
Original issue reported on code.google.com by [email protected]
on 21 Sep 2010 at 5:06
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.