Closed (fixed)
Project:
scroll to top
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2012 at 20:06 UTC
Updated:
13 Dec 2012 at 14:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
tarekdj commentedHi nocks,
Can you give me more details on your lightbox settings. I've tried to reproduce the bug but
it works for me and there is no problems.
Comment #2
relaxy commentedI've experienced the same problem.
Another "Scroll to Top" button with a description appears in any case on the left side, if a picture is shown inside of the Colorbox. ImageCache module is also enabled.
Comment #3
tarekdj commented@nocks & @relaxy
found that the script is reexecuted each ajax call. Patch attached fixes this problem
hope that it works for colorbox and lightbox too. need tests!
Comment #4
nickspages commentedWorks like a charm with colorbox! Thanks for the patch! www.mbfindustries.com
Comment #5
nickspages commentedScratch that... the patch worked fine until I noticed that it gets stuck on the up position after you open and close Colorbox. Then the button starts flashing. I was soo close!
Comment #6
tarekdj commentedI noticed that both colorbox overlay and "back to top" button have the same z-index. The patch attached decreases the z-index of "back to top".
Hope that this fixes the problem.
(In all cases "back to top" button's z-index must be less than colorbox overlay's one).
Comment #7
nickspages commentedHello,
The z index was different. I had it working perfectly. When the colorbox was open the "Scoll to top" was under the #cboxOverlay because I changed the z index.
The problem is after I close colorbox and push the "Scoll to top" button to get to the top. I get to the top successfully but then I have to wait about 3 seconds to start scrolling down again. If I try to scroll down within 3 seconds the page starts vibrating and then the "Scroll to top" button starts flashing about 3 or 4 times. However, if I go to a page without opening and closing Colorbox it works great. I can scroll up and down quickly without waiting 3 seconds on the top position.
Comment #8
jibus commented#3 - Is this patch working for the 7x version ? I think yes, but i prefere asking in any case...
Comment #9
tarekdj commentedHi Jibus,
Here is the patch for 7.x: http://drupal.org/node/1556608#comment-5964828
Comment #10
bserem commentedMonths later: the patch for D6 works for me for colorbox, thank you!
I believe it could patched to the next release
Comment #11
bserem commentedI would like to add that under some circumstances the button kept appearing twice. So I edited it with some css:
it worked in my case, hope it helps.
Comment #12
tarekdj commentedpatch commited to dev release