Help with Javascript
Go to solution
Solved by fizzlesticks,
You're changing the height of the box but you're comparing the width of the box. Change curr_width to curr_height and read back the height instead.
edit: Also "=" is used to set a variable, you need to use == or === to compare values.
-
Topics
-
0
-
3
-
Ishikudeska ·
Posted in New Builds and Planning0 -
0
-
Xxu ·
Posted in Servers, NAS, and Home Lab1 -
4
-
Issac Zachary ·
Posted in Troubleshooting5 -
4
-
PopsicleHustler ·
Posted in Audio4 -
4
-
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now