Comments (6)
@9mm, just added this — let me know if it works for you. (I also updated the README :)
from ouibounce.
Hey travis, small world — I'm a big fan of pineapple.io (I created http://coursebacon.com/ way back when I was learning rails!).
I'm not sure I understand what you're trying to achieve — why would you call ouibouce on false? If you're trying to show a modal using ouibounce you def need to select an element (which ouibounce will then show).
All you're getting with ouibounce is the trigger — based on the mouseout
event. You have full control over what happens on exit (which element you show, etc).
from ouibounce.
Hey man, thats awesome! :)
Er, as for my question that was just a (probably awful) idea. Basically, I just would like to benefit from the outbounce API for when the user's mouse is leaving the page, but without ouibounce actually triggering a popup (I use this modal plugin for example).
What I currently do is create a blank dummy object, then place my vex modal code in callback: function() {}
. It would just be cool to do that without having to create a dummy object.
from ouibounce.
Ohh, I see. That's a neat use case!
Not sure if there's an easy way to add that in right now but pull requests are always welcome :)
@Jenius: any ideas on this?
from ouibounce.
Instead of blowing you up with new issues, I'm just wondering if it's easy to let ouibounce work with IE8?
I get Object doesn't support property or method 'addEventListener'
.
If not it's not a big deal I don't think... I do think this is an awesome plugin!
from ouibounce.
Thanks for the heads up — that's a problem. Just opened up a new issue for it 👍
from ouibounce.
Related Issues (20)
- Firefox triggering exit intent when http warning message in e-mail field HOT 2
- What is the purpose of checking the keycode 76? HOT 1
- where are model inspiration assets?
- cookieExpire is not working HOT 3
- Mobile support HOT 3
- Using without passing element doesn't work HOT 1
- Can I use decimal values for cookieExpire?
- Add DisableOnce function [RFC] HOT 1
- custom exit popup with ouibounce
- 'Select' element triggering model HOT 2
- Bootstrap - Modal shadow doesn't shown
- vanilla javascript might not be working HOT 1
- Initialization using minified version HOT 1
- Sensitivity not triggering
- using ouibounce with a 3rd party script, won't show HOT 1
- Ouibounce script working irregularly
- Is this still being maintained? HOT 1
- ouibounce is used on donaldjtrump.com
- Unable to access ouibounce function in a static .js file
- I do not recommend! HOT 2
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 ouibounce.