Git Product home page Git Product logo

Comments (16)

attilaolah avatar attilaolah commented on June 3, 2024 46

You can add this to your CSS:

.wow {
  visibility: hidden;
}

WOW will then toggle it to visible when starting the animation.

from wow.

attilaolah avatar attilaolah commented on June 3, 2024 10

I think this might be worth mentioning in the readme…

from wow.

vviikk avatar vviikk commented on June 3, 2024 3

This is an extremely crucial issue that needs to be mentioned in the documentation.

from wow.

contempoinc avatar contempoinc commented on June 3, 2024

Awesome, thanks for the quick response! Worked perfectly!

from wow.

tomasdev avatar tomasdev commented on June 3, 2024

@attilaolah what if I want the opposite? Something like .wow not to be animated on DOMContentLoaded if it's visible. This means along the lines "animate only when content is revealed and not already visible"

Brought to me by http://stackoverflow.com/questions/23531064/wow-js-happens-on-page-load-and-not-on-scroll

from wow.

attilaolah avatar attilaolah commented on June 3, 2024

@tomasdev you can't do that right now… maybe open a new issue if you want that.

from wow.

commentluv avatar commentluv commented on June 3, 2024

adding .wow {
visibility: hidden;
}

worked for me! I was searching for ages on how to prevent the flash on page load.

thanks!

from wow.

adammoisa avatar adammoisa commented on June 3, 2024

@attilaolah You're a winner. You just fixed 8 of my projects.

from wow.

MJones68 avatar MJones68 commented on June 3, 2024

adding visibility: hidden; Worked on desktops but it will not display at all on a mobile device for me.

from wow.

contempoinc avatar contempoinc commented on June 3, 2024

from wow.

MJones68 avatar MJones68 commented on June 3, 2024

It still doesn't show on a mobile device, thanks for the suggestion though!

from wow.

ashleydance avatar ashleydance commented on June 3, 2024

To have this work on mobile wrap it in a media query like:

@media( min-width: 768px ) { .wow { visibility: hidden; } }

from wow.

n-nidhu avatar n-nidhu commented on June 3, 2024

tried this and also callback but not working... Please have a look @attilaolah
http://dev.webglanz.com/

from wow.

oelbaga avatar oelbaga commented on June 3, 2024

OMG I was thinking of this for so long. I finally searched it and landed here.

Perfect! even from 4 years ago

from wow.

mattsonnhalter avatar mattsonnhalter commented on June 3, 2024

I got here from this stack overflow post. https://stackoverflow.com/questions/23531064/wow-js-happens-on-page-load-and-not-on-scroll

Glad there is a solution!

from wow.

sam-ux avatar sam-ux commented on June 3, 2024

awesome
thank you very much for the suggestion.
you save my time.

from wow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.