aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/js.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-02-11 18:46:07 -0500
committerJesús <heckyel@hyperbola.info>2019-02-11 18:46:07 -0500
commitc0f6e9cd3b69bb89f6372b33824c4b65813766cc (patch)
treef8de91d656d0e3b5921393e7a75cbc7a040c9836 /scripts/js.sh
parentd3f182e51c2866a00934e13f9c9392e4d90e315e (diff)
downloadcl-theme-c0f6e9cd3b69bb89f6372b33824c4b65813766cc.tar.lz
cl-theme-c0f6e9cd3b69bb89f6372b33824c4b65813766cc.tar.xz
cl-theme-c0f6e9cd3b69bb89f6372b33824c4b65813766cc.zip
Fix navbar-menu in mobile without JavaScript
The problem is that Bulma doesn't offer the same basic functionality without JavaScript. Namely, if you don't have JavaScript enabled, you cannot access the navbar menu nor toggle the navigation menu in mobile or low-resolution devices. However, it's possible to offer this features without JavaScritp. Unlike the JavaScript version, the version without JavaScript doesn't have an animation when you toggle the navigation menu. It's impossible to change the value of the attribute aria-expanded (which should change to true when the menu is shown), so it must be removed. Furthermore, maybe it's not enough to use the pseudoelement :hover Obviously, the ones who disable JavaScript will have less features, but the website will be usable.
Diffstat (limited to 'scripts/js.sh')
0 files changed, 0 insertions, 0 deletions