Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Jonathan last won the day on June 18

Jonathan had the most liked content!

Jonathan

Moderators
  • Content Count

    3,535
  • Joined

  • Last visited

  • Days Won

    133

Jonathan last won the day on June 18

Jonathan had the most liked content!

Community Reputation

5,249 Superhero

About Jonathan

  • Rank
    Super Moderator

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    United States
  • Interests
    Traditional Animation, Computer Animation, Drawing, DJing, Mycology, Traditional Chinese Medicine, and Herbalism

Recent Profile Visitors

22,759 profile views
  1. Hello @Babakness and welcome to the GreenSock! Are you seeing this on a Mac 12 with a Intel Graphics GPU with your Safari on Catalina? I know those Intel Graphics GPU have had this type of rendering artifact issue in previous Safari versions. Also does it still add those artifacts if you add transform: translateZ(0) to the <svg> element? This way it can make it a fresh rendering paint layer of the element, instead of just rendering only a composite layer. Just my two bits! Happy Tweening
  2. Jonathan

    Text Glow

    Hello @jdw and Welcome to the GreenSock Forum! I noticed that in to() tween, your syntax for text-shadow has a typo with 2 semi-colons. You have this with 2 semi-colons: textShadow: "0px 0px 0px black;, 2px 2px 8px deeppink;", But it should be like this with just your comma separated values, no semi-colons: textShadow: "0px 0px 0px black, 2px 2px 8px deeppink", CSS text-shadow: https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow Happy Tweening
  3. Hi @DesignCourse and Welcome to the GreenSock forum! Also keep in mind with the CSSRulePlugin, that you want to keep using the old single colon syntax ( : ) when using the pseudo-elements of :after and :before like in your codepen. This way you don't have to worry about issues if you use the new double colon syntax ( :: ) of pseudo-elements. Happy Tweening
  4. Hey @MugenFTW Keep in mind that force3d: true, z, and rotationZ won't really work on SVG, since those CSS hacks wont work on SVG. This is because SVG does not fully support 3D transforms, only 2D transforms. You also might want to run your SVG through an online optimizer to make sure it is optimized and cleaned up of any shenanigans. https://jakearchibald.github.io/svgomg/ (Don't forget to un-toggle Clean ID's) Also you might want to reduce the amount of <paths>, or like @ZachSaucier advised use layered image, or even maybe a mix of SVG and images. This way you don't have so many SVG elements to animate. But regular non SVG elements, like <div> tags or <img> tags can take advantage of 3D transforms so you can animate on a sub-pixel level for silky smoothness.
  5. Hi @Parina and Welcome to the GreenSock Forum! That link you provided is behind an htaccess password. So we cant see anything But in order for us to better help you please create a limited reduced Codepen demo example. This way we can test your code in a live editable environment. Happy Tweening
  6. Hello @scotland_jack and Welcome to the GreenSock Forum! When i viewed your above codepen , I did not see the CSS property mix-blend-mode in there. There is a bug with Safari when trying to use mix-blend-mode with elements that have 3d transforms. You can usually get around it by adjusting your z-index, adding -webkit-backface-visibility: visible or also adding CSS hack of transalte3d(0,0,0) for your transform. The trick is to make sure that your element with a transform is also brought on the same rendering layer as the mix-blend-mode so it can render them together on the same layer.
  7. My bad that was a typo, the $handle parameter in the wp_enqueue_script method should be unique.
  8. When you say leaving the page idle.. do you mean leaving the page idle when the browser tab is active (selected) ?? or when it is not active (not selected) ?? Because if its when the browser tab is not active, then you can just pause your animation by checking the HTML5 Visibility API. And then when you give the browser tab focus, making it active again.. you can resume / play the animation. Example of use: https://codepen.io/jonathan/pen/sxgJl Happy Tweening
  9. Hello @kbeats and welcome to the GreenSock forum! For an onComplete reverse please use the onReverseComplete special callback. Resources: TweenMax: https://greensock.com/docs/v2/TweenMax/static.to() (Find the Parameters sections and click the Show More button) Happy Tweening
  10. Either way what @Shaun Gorneau or I recommended will work. Yes i agree with Shaun you probably have a conflict. Don't forget to check your browser console.. hit the F12 key on your keyboard to see if you see any errors. Looks like you have a lot code to rummage through. You should start removing various parts of your page and slowly add code parts back in. Also keep in mind that the beforeunload is bad practice since browsers will block any scripts being binded to that event due to the abuse of unwanted pop ups. And you have the following scripts in there: <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TweenLite.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TimelineMax.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/easing/EasePack.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/plugins/CSSPlugin.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/plugins/ScrollToPlugin.min.js"></script> All you really need is TweenMax since it includes the above with the exception of the ScrollToPlugin.min.js <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TweenMax.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/plugins/ScrollToPlugin.min.js"></script> Happy tweening!
  11. Hello @brnlmco and Welcome to the GreenSock Forum! The ScrollToPlugin also accepts a selector, not just a number. So if it was me i would add a id attribute with the value of top . And then animate up to that html tag with the id called top. <html id="top"> So it would look like this since the scrollTo value accepts a number or a CSS selector. TweenMax.to(window, 2, {scrollTo:"#top"}); Please see the ScrollToPlugin docs: https://greensock.com/docs/v2/Plugins/ScrollToPlugin Happy Tweening!
  12. Hi @Wylkyn and Welcome to the GreenSock Forum! Try to inspect the transformed childrens parent that have the transform. More than likely your children are getting put on a new stacking context (layer). Which means their parent will also need to be put on its own new stacking context if you see clipping or other stacking issues. This way it can render correctly with its transformed children. Also most of the time its the original markup and position offsets setup of the position offsets: fixed, absolute and relative. They can easily be figured out by looking at the top most parents of the positional offset children. That is why you make sure that your top most parent of your absolutely positioned elements have position relative along with z-index if needed. But that will help you troubleshoot and position elements with z-index much easier. But since we cant see your markup and rendered css causing your issue.. then when in doubt.. add a new stacking context to your transformed childs parent. ( see what gives a new stacking context here ) Happy Tweening :0
  13. Besides the good advice from @OSUblake regarding process of elimination. Also you never responded to @ZachSaucier questions about describing the type of behavior your seeing. You can try cleaning up your SVG markup which can also cause render bugs. Here is an online SVG optimize clean up tool. (Dont forget to un-toggle Clean ID's in its options on the right after pasting your code in it) https://jakearchibald.github.io/svgomg/
  14. Knowing the iOS version and Browser Version go along way in finding what could be happening since various render bugs are related to various versions of the OS and Browser. They are sneaky that way.. To check iOS Version / Safari Version: On an iPhone, iPad, or iPod touch To find the iOS version installed on your device, go to Settings > General > About To check iOS Chrome Version Open Chrome on your iPhone or iPad. It's the round red, blue, yellow, and green icon labeled “Chrome” that's usually on the home screen Tap ⁝. It's at the top-right corner of the screen. Scroll down and tap Settings. ... Scroll down and tap Google Chrome. ... Find the version number next to “Version.”
  15. Hello @Agin DropDisco and Welcome to the GreenSock forum! So we can have more information to better help you, please answer the following: What specific version of iOS on iPhone7, iPhone 6, and iPhone 6s? What specific browser, Chrome or Safari? What specific browser version for Chrome or Safari? We appreciate any additional information you can provide, Thank You
×