-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Issues with position: fixed; in CSS(again) #12
Comments
Hi @GGorAA I have see your code, but I don't understand the problem.
and here:
but this is a standard approach to use it, why you need to use FIXED position? And where you use FIXED position? |
It is in CSS file. It is also in
For placing joysticks at the bottom of the screen. |
Sorry @GGorAA, I have see the style.css too, but I can't see any reference to absolute or fixed position for the JoyStick. |
Sorry, forgot to say, I was moving entire Also link to code: https://github.com/GGorAA/GLaDOS/blob/master/html/style.css#L80 https://github.com/GGorAA/GLaDOS/blob/master/html/style.css#L102 I also forgot to push changes to GitHub, sorry for that) |
Hi @GGorAA, now I understand your situation. P.S. You have same picture of a project? It looks interesting. |
Thanks for the advice! I also realized that I need to move buttons and joystick independently, and apply bottom margin for buttons to place them above the joy, so they don't overlap each other. I tested this and it works fine! P.S. What picture? I don't understand your request |
Picture, images of your project, I read that was a Raspberry PI, same mobile part, ecc... I can close the Issue now? |
Yes, you can close. Note: I am writing this project using "blind coding", I don't have any parts of GLaDOS. I have no Raspberry Pi, no servos, no motors, no LEDs and others. That means that I code "in theory", not on real hardware on which this project will run. So I can give you just a screenshot of the controller) |
You can find me on telegram as @bobboteck |
Hello again. I've seen last update of joystick that added support for
position: absolute;
andposition: fixed;
CSS attributes. I downloaded the latest version, extracted joy.js to my HTML folder, and... nothing. Still doesn't work. If you need, here is the repo (site is inHTML
folder): https://github.com/GGorAA/GLaDOS.How to fix this issue?
The text was updated successfully, but these errors were encountered: