-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hidden button not repositioned on browser resize #36
Comments
i had a similar problem. .mouseover(function (e) {
if (id !== currentTarget) {
e = e || window.event;
currentTarget = id;
FileAPIProxy.swfObject.mouseover(id);
// FileAPIProxy.container
// .height(input.outerHeight())
// .width(input.outerWidth())
// .css(input.offset());
}
// Move the container to where our input is every single time!
// The reason? well, if the page changes, you're stuck with the swf being in the wrong place.
FileAPIProxy.container
.height(input.outerHeight())
.width(input.outerWidth())
.css(input.offset());
}) |
Binding to the window resize event and then automatically repositioning works nicely too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that if the user resizes the browser which moves the underlying button, the floating import button that is hidden doesn't move to match its position.
The text was updated successfully, but these errors were encountered: