Question
Problem creating a Javascript variable to a VALUE
I run a java script to tell me what the screen width is. It
returns 1680, but when I try to run a cfif statement, involving
math, it says its not a value.
So I attempted to convert the info to a value..... it then changes 1680 to 0.
I'm totally lost. Below is the code where I;m trying to convert what appears to be a number to..... well a NUMBER!! Feel free to cut and paste and try yourself. I t will convert whatever your screen width is to a 0 (ZERO)!!
Please help me out. I want to eventually say: If scrren size LT 800 go here. But I cannot do that because it doesn't see my screensize as a value.
Thanks in advance for any and all help!!!!
So I attempted to convert the info to a value..... it then changes 1680 to 0.
I'm totally lost. Below is the code where I;m trying to convert what appears to be a number to..... well a NUMBER!! Feel free to cut and paste and try yourself. I t will convert whatever your screen width is to a 0 (ZERO)!!
Please help me out. I want to eventually say: If scrren size LT 800 go here. But I cannot do that because it doesn't see my screensize as a value.
Thanks in advance for any and all help!!!!
