Comments (16)
You can add this to your CSS:
.wow {
visibility: hidden;
}
WOW will then toggle it to visible
when starting the animation.
from wow.
I think this might be worth mentioning in the readme…
from wow.
This is an extremely crucial issue that needs to be mentioned in the documentation.
from wow.
Awesome, thanks for the quick response! Worked perfectly!
from wow.
@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.
@tomasdev you can't do that right now… maybe open a new issue if you want that.
from wow.
adding .wow {
visibility: hidden;
}
worked for me! I was searching for ages on how to prevent the flash on page load.
thanks!
from wow.
@attilaolah You're a winner. You just fixed 8 of my projects.
from wow.
adding visibility: hidden; Worked on desktops but it will not display at all on a mobile device for me.
from wow.
from wow.
It still doesn't show on a mobile device, thanks for the suggestion though!
from wow.
To have this work on mobile wrap it in a media query like:
@media( min-width: 768px ) { .wow { visibility: hidden; } }
from wow.
tried this and also callback but not working... Please have a look @attilaolah
http://dev.webglanz.com/
from wow.
OMG I was thinking of this for so long. I finally searched it and landed here.
Perfect! even from 4 years ago
from wow.
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.
awesome
thank you very much for the suggestion.
you save my time.
from wow.
Related Issues (20)
- Cannot read property 'path' of undefined (Gatsby) HOT 1
- NPM registry outdated?
- Issue at the end of the animation on smartphone HOT 2
- Is WOW-1.1.2 are free to use for commercial purpose?
- TypeError: this is undefined
- Is it possible to to add two animation call in the single element?
- Wow effect content loaded via Ajax not working HOT 2
- Why net::ERR_ABORTED 404?
- support : how to trigger a jquery script at the end of a WOW animation HOT 1
- New version AnimateJS HOT 3
- Library simply does not work at all with jQuery 3.5.1 HOT 4
- [QUESTION] Is it possible to use HTML data attribute instead of a class `wow'?
- TypeError: target.className.replace is not a function
- no typescript version
- Cannot set property 'getPropertyValue' of undefined HOT 13
- Use inconsistencies when using inside react-modal.
- Animatiosn stopped working on Chrome
- How can I disable the mandatory presence of –webkit-?
- Waterfall test shows wow.min.js canceled
- When I use it in React,get error “Uncaught TypeError: Cannot set properties of undefined (setting 'getPropertyValue')” HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wow.