-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bug #4 -- controls don't work #12
Comments
It might be best just to wrap the img tag in a div, since img has less options than div. |
I already tried that but I'll try again. |
If I do that this is the result. /cc @elijahparker |
Same JS, different HTML (use the first links for JS and HTML). |
Another option is to go back to just the div like you had before, but make the image the background image in css (and set the div to the right size for the image) |
It didn't work. Now they are invisible. |
Never mind. I need to specify the height too. |
They just won't move still. /cc @elijahparker |
Specifying |
Describe the bug
I switched the
div
elements with JavaScript styles to images, but now the controls don't work.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the images to move around like the
div
s used to. This is the JS (here's the HTML)./cc @elijahparker
The text was updated successfully, but these errors were encountered: