K4kArot2015 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

rotation only when focused #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Look her: 
http://www.main11er.de/index.php/bilder-fotos/fotos-aus-2012/diverses/22-11-12-9
93-fuer-lacker-vorbereiten

I have more than one gallery on the page.

The "problem" is that I used "rotator_delay=0" for these galleries, as the 
rotation also happens if a tab/gallerie does not have the focus/is on top. 

Is it possible to have the rotation only happen for the "visible" gallery? If I 
don't set "rotator_delay=0" the galleries that are not shown/ on top, also 
rotate in the background.

Levente, this will give you something to think about. ;-)

Original issue reported on code.google.com by RobertoC...@gmail.com on 13 Dec 2012 at 4:56

GoogleCodeExporter commented 9 years ago
There have been changes in sigplus 1.5.0.181 that affect this issue. Please 
confirm if this behavior still persists with the latest version.

However, particular tab implementations do not actually hide an element (either 
with CSS "display" set to "none", or with "visibility" set to "hidden") when a 
tab becomes inactive. I am afraid your tab implementation is one of these. In 
fact, the tab content is moved away to a location where other elements cover it 
rather than being hidden. Unfortunately, it is difficult to determine in 
JavaScript whether all visible parts of an element are covered by other 
elements, or some part is still exposed and therefore, in our particular case, 
the animation should resume.

Original comment by huny...@gmail.com on 23 Mar 2013 at 11:38

GoogleCodeExporter commented 9 years ago
Thank you for the update.
As far as I can tell, it is the same with the tabs (focus) as it was before. 
It's ok, I just don't start the show automatically and I can live with that. 

Original comment by RobertoC...@gmail.com on 29 Mar 2013 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by huny...@gmail.com on 29 Mar 2013 at 7:05