Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2017
    Posts
    1

    Default Animated object won't stay in placed when scrolled

    Hi Everyone,

    May be someone had the same problem and was able to find a solution.



    Ok So I applied an appearance animation (elastic) to a company logo (image).
    I also want this image to stick on top of the page when user scroll down.

    What happens is :

    Chrome and Firefox... the image appears with animation, when I scroll it move to the center and then disappear

    Internet explorer ... it works fine, it appears with the animation, then stick to the left top corner when I scroll.


    It seams I can apply an appearance animation + stick to top to the same image under chrome and firefox

    How can I do it?

    Thanks for your help
    Last edited by gwpriester; 29 October 2017 at 04:27 PM.

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,506

    Default Re: Animated object won't stay in placed when strolled

    Welcome to TalkGraphics

    It might be better not to use animation. Or use animation but do not use Sticky.

    One of the other members might have a better suggestion.

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Animated object won't stay in placed when strolled

    Hi Cathy, I can't reproduce this. When I try the animation plays as expected & on scroll on reaching the top of the page it remains in view on all major browsers.

    Could you attach your web / xar file?
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #4
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Animated object won't stay in placed when strolled

    Could reproduce a similar problem in 12.6.2. Behaves a little different there though (jumps to the right and then scrolls out of view).
    So if it is the same problem it seem to be fixed in 12.8.1.
    There is a little script that makes it work in 12.6.2. (see website body code in the example file). This requires not to apply the stick to top option but to add the name "htmlclass=reveal_stick_top" (without the double quotes) to the image.
    Code:
    <script>[].forEach.call(document.getElementsByClassName("reveal_stick_top"),function(s){s.parentNode.className+=" xr_stt";});</script>
    Attached Files Attached Files

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •