Skip to content

Tweaks to allow the expose plugin to work when you are rapidly un/exposing something#404

Closed
vitch wants to merge 1 commit intojquerytools:masterfrom
vitch:master
Closed

Tweaks to allow the expose plugin to work when you are rapidly un/exposing something#404
vitch wants to merge 1 commit intojquerytools:masterfrom
vitch:master

Conversation

@vitch
Copy link

@vitch vitch commented May 27, 2011

I'm using the expose plugin on a navigation similar to the one on http://www2.goldmansachs.com/ and I needed to expose/ unexpose sometimes rapidly based on user's mouse movements. I did the tweaks in the attached code to enable this...

…e you are un/exposing an element repeatedly in a small time (e.g in response to mouse movements)
@twidi
Copy link

twidi commented May 27, 2011

Love it !

@alibby251
Copy link
Contributor

Hi,

Any chance you could please provide a demo page, with the fix implemented in your version of the code?

@vitch
Copy link
Author

vitch commented Sep 5, 2011

I'm afraid the site I did it for isn't live yet and I don't have the files sitting around. You can get the complete modified JS that I used here though: https://raw.github.com/vitch/jquerytools/07b1656763fc7007a31618107598e1ae8fb97d66/src/toolbox/toolbox.expose.js

@alibby251
Copy link
Contributor

duclet: If you're reading this, it is a large, quite involved change ; what are your thoughts please?

@vitch
Copy link
Author

vitch commented Feb 16, 2012

If I remember rightly the changes weren't very involved - I think that most of what is showing up as a change above is a just whitespace where I had to indent things because they were inside a new conditional... It was a long time ago though so I can't remember exactly what I changed - is there way to run the diff with whitespace ignored?

@alibby251
Copy link
Contributor

Hi vitch,

Apologies - just noticed: this is based on the current live code. Could you please rebase it on the current dev code, and resubmit for consideration?

@alibby251 alibby251 closed this Feb 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants