Sliding image from left to right

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Sliding image from left to right

Post by jerryco »

Hello folks, I was wondering if any of you know by heart how to do this:

I would like an image to enter on the left side of the screen, slide through horizontally, and leave on the right side.

I know there are a zillion options, but was wondering if this is my lazy ticket to succes :D
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

If I say, it's not clear enough, you will probably say, what is not clear enough?

I'm looking for a complete flight plan, not just the ticket. I will simply wait and wait, and wait. :lol:
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

What information are you missing?
What did you try and where does it stop working?
Siegbert
 
 
Posts: 52
Joined: Thu Jul 04, 2019 5:51 am

Re: Sliding image from left to right

Post by Siegbert »

You can find many instructions on Youtube, which you can also build.
Search for: WYSIWYG Web Builder Animations
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

The reason that I'm still persuing this, is because I have absolutely nothing else to do :)

So, a friendly person shared his views with me, but I will have to work out the problems myself.

Below, you can see my trial. Now, the problem is that the picture does not exit on the right side of the screen, but before that. I included a screenshot of that as well.

Image
Image
Image

Problem:
Image
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

This does not look correct.
Why are you using show and hide event for the same object? This will most certainly cause a conflict.

Also, 'onload' is usually not the best place to handle animations because scripts may not have been loaded yet at this poijnt.
It's better to use a timer or 'document-ready' for this.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

So is there anybody who holds the magic key here? Showing me a page with information is like giving me keys for a Lambourgini where I am used to riding a horse. Thank you for understanding.

Once again, what I would like to know is:

How can I make a picture (a vacuum robot if you have to know) 'drive by'. So it reveals itself on the left side. And it disappears on the right side. I do not use breakpoints in my design.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

Is the robot to appear and scroll to the right the second the page is loaded? Is this something to happen on initial load of the page at the top or later down the page when someone scrolls to it?
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Hi, yes, it should go once the page is opened. There is no scroll bar and the picture is in sight immediately.

For you to see, it would be nice a little under my e-mail address.

https://levensgenoot.nl/contact.html
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

Are you look for something like this?

https://www.wizbangwebdesign.com/demo/irobot

The animation was created by taking one of the animations already created and tweaking it. You may have to tweak more to what you want.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Hi crispy68, the animation is exactly what I am looking for, but I would want it to appear automatically without scrolling (the page content does not require a scroll either, plenty of space).
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

Here is what I did:

In my demo, the small text and email is in a layout grid.

1. Insert a floating layer below the email address set to full width. Set the 'Overflow' property of the layer to 'hidden'. Insert the image of the irobot into this layer and make the height of the layer match the height of the image.

2. Go to Tools --> Animation Manager and locate the 'slide-left-in' animation. Select it and make a copy. Open up the copy and change the name of the animation to whatever you want (ex: slide-left-to-right). I changed the following keyframes:

0 opacity 0 - change to - 0 visibility visible
100 opacity 1 - change to - 100 visibility hidden

open up the: 0 transform property and change the 'Translate X' from 100% to -300px (change the 300 to whatever the width of your image is)
open up the: 100 transform property and change the 'Translate X' from 0 to calc(100vw + 300px) (again change the 300 to whatever the width of your image is). Also, make sure there is a space before and after the plus sign.

3. Go back and open up the properties of the layer, click on Events and add the following:

Event = onscrollreveal
Action = animate (css3)
Target = your image ID
Animation = slide-left-to-right (or whatever name you gave it)
Duration = 15000 (or whatever you want - this is 15sec)

4. Click on the image in the Object Manager and uncheck the visible box to make it not visible. This will keep it from flashing and briefly seeing it when the page loads.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

First; thanks. Before I do this; can you confirm that it will work without having to scroll?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

Does my demo work without scrolling?
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Hmm, on my main browser (Firefox) your demo only goes after scrolling a little bit. It may simply be my browser (I disabled NoScript). It does work immediately on Chrome and Opera. Could you check using Firefox?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

Yes it works on FF.

Wouldn't matter how I set it up, if you have noscript enabled it wouldn't work anyway.

It uses onscrollreveal. So as long as it is visible in the browser it will work. Plus you wouldn't want it to animate if it was technically offscreen would you?
Last edited by crispy68 on Fri Mar 27, 2020 7:03 pm, edited 2 times in total.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Thank you so much. I will have a play over the weekend and let you know what happens.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

I cannot seem to deal with a layout grid. When I insert it, it just keeps sticking on the top of the screen. Any thoughts? Once again, I just don't ever use elements like this. Sorry. :)
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

This is normal behavior.

Related tutorial:
http://wysiwygwebbuilder.com/layoutgrid_part1.html
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Dear crispy68, is the layout grid required?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

is the layout grid required?
No
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Okay, wow, I never did anything this complicated in my life :lol:

I simply uploaded it for you to see: https://levensgenoot.nl/contact.html
I left the layer's background to what it is (off-white) so we can see where it is. On top, apparently :D

Here are the settings from the animation window:

Image

The picture I'm using is 155 width, 158 height.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

Sorry, i used a layout grid as I assumed you were making a responsive floating layout.

Please go back and re-read step #2 regarding change the opacity property to the visibility property. It is incorrect.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

I think I used 100 for visible and 0 for invisible. I could not see visibility visible and visibility hidden?

Could you give me the stupid treatment for changing the wrong values?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

just type in the value.... so type 'visible' and 'hidden'.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Some things are easy :) Getting close, please see:
https://levensgenoot.nl/contact.html

I can't drag the layer lower in WWB. Any thoughts?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Sliding image from left to right

Post by crispy68 »

What kind of layer are you using?

If you are using a floating layer (like I indicated initially) but you are not creating a floating layout then try changing the floating layer to just a regular default layer. I havent actually tried this yet.

I just assumed you were creating a floating layout and not a fixed layout.
Last edited by crispy68 on Sat Mar 28, 2020 3:00 pm, edited 1 time in total.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Crispy! Crispy! Crispy!

And, after many days, it was so: https://levensgenoot.nl/contact.html

Thank you.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

So, on with the stupidity. I used the Animation Manager, right? To create a copy and then make a new one. What will happen if I upgrade to a new version of Web Builder?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

Your personal animations will not be overwritten.
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Great.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Hello Pablo, just wondering if I change to a new machine, how would that affect my project's animation?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21702
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sliding image from left to right

Post by Pablo »

Usually when you move to a new machine, then you should copy the entire document folder.
This includes custom animations.

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=30276
User avatar
jerryco
 
 
Posts: 830
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Sliding image from left to right

Post by jerryco »

Now I see it, animations.dat. Makes sense now. Thanks.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Post Reply