Home › Forums › JavaScript › Hide Div if Screen is Smaller than 1024 › Re: Hide Div if Screen is Smaller than 1024
November 27, 2010 at 12:26 pm
#72144
Member
Hmm….well I’d suggest removing the
elseif ((screen.width<=1024))
and just having
else
Are you setting the div to display or hide by default?