WebSite X5Help Center

 
Craig G.
Craig G.
User

Sync foreground object based on a timer with webpage row background on a timer  en

Auteur : Craig G.
Visité 343, Followers 1, Partagé 0  

I am using a webpage row format that changes based on a timer, and a foreground object that changes on a timer as well.  No matter what i used for timers the foreground and background fall out of sync.  Is there a way to do this?

Maybe setup something like semaphores and critical paths in Html?

Posté le
11 RéPONSES
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Meilleur utilisateur du mois IT

(It > En)  ... if you post your LINK maybe we could make an evaluation...
.

ciao

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Craig G.
Craig G.
User
Auteur

The background has a transition of 7 (A).

The transition for the Content Slider Object is 7 (B).

1) Is the background image that should swap every 7 seconds.

2) Is the Content Slider Object that swaps every 7 seconds.

3) Shape Separator with background as transparent.

4) Animated Shape Separator with background as transparent.

Something similar to this can be done with a Content Slider Object, but doing it this way (using 3 and 4) makes this look better.  

I have tried changing the numbers in "A" and "B" but "1" and "2" go out of sync.

Lire plus
Posté le de Craig G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Meilleur utilisateur du mois IT

... background line > 4+3 (=7)
... content slider > 7
... I didn't notice any mismatches, on my PC it seems synchronized...

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Craig G.
Craig G.
User
Auteur

Mine falls out of sync after one cycle. Maybe image size and their load time throws the sync off.  

Lire plus
Posté le de Craig G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Meilleur utilisateur du mois IT

... you could use background images for the slides of the same content-slider...
... and in the style section use slide-fade and contents-move...
... it would look very good...

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Craig G.
Craig G.
User
Auteur

I just can not get it to sync. The background image goes out of sync with the foreground.

Lire plus
Posté le de Craig G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Meilleur utilisateur du mois IT

... sorry, ... I add to my previous Post, ... without using the slide of the background of the row, but only the content-slider...
... it could be interesting...

ciao

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Craig G.
Craig G.
User
Auteur

Thanks, I'm aware of that but the reason I want to use the background is the following:

I want to get the above effect.

1) A Shape Separator with the background transparent.

2) An Animated Shape Separator with the background transparent.

This can't be done with the content slider.  You can only get a straight edge.

Lire plus
Posté le de Craig G.
Craig G.
Craig G.
User
Auteur

I'm not sure what I want to do, I think that the background timer and the content slider run on different threads, and different computers may run those threads at slightly different speeds.  This causes the two getting out of sync.

Lire plus
Posté le de Craig G.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois EN

Without the separators, the Content Slider object works perfectly when expanded and the margins are set to 0.

Incomedia could add a CSS overlay function (z-index) for the separators to achieve overlap with the previous and/or subsequent objects.

Lire plus
Posté le de Daniel W.