Prevent downloads from navigation bar
I want to prevent the navbar-inverse bootstrap file from loading to be displayed in the mobile view. I've already tried a few tricks like:
$ ('. navbar-collapse'). on ('shown .bs.collapse', function () {$ ('Navbar') addClass ("NavBar fixed on top").}); $ ('. navbar-collapse'). on ('hidden.bs.collapse', function () {$ ('Navbar') removeClass ("NavBar fixed on top").});
or
$ ('. navbar-collapse'). on ('showing .bs.collapse', function () {$ ('Navbar') CSS ({'position': 'absolute'}) ;.}); $ ('. navbar-collapse'). on ('hidden.bs.collapse', function () {$ ('Navbar') CSS ({'position': 'relative to'}) ;.});
But all they do is either warp the page or the navigator itself. I don't want to use a fixed top navbar because of the page design. Am I asking for any workarounds?
source to share
No one has answered this question yet
See similar questions:
or similar: