Ask coding questions

← Back to all posts
Javascript for removing the text when they open nav bar on phone not working.
xXJohnDoeXx (2)

The javascript works on my Lenovo Chromebook 100e, but not on Samsung Galaxy J7 Crown, anybody know why? It doesn't hide text on my phone, but on my Chromebook it does.

Comments
hotnewtop
InvisibleOne (2678)

Go to the settings for your browser on you phone and make sure that javascript is activated. Sometimes it isn't and I know that at least on an apple phone javascript can be deactivated.

NehalRam (4)

might be due to some differences between built for pc website and the mobile version

xxpertHacker (865)

@NehalRam ^ navbars for desktops and mobile are almost always different, to the point of being whole different DOM nodes, with different style and functionality.