JavaScript Font Awesome + Bootstrap Tool Bar Animation Issue font awesome bootstrap 4,font awesome bootstrap cdn,font awesome

I am building a 360 tour via Kolor Panotour Pro (which uses an xml based code "krpano").

I'm using a bootstrap html template build when I export my project so it has nice looking ui buttons.

The default Bootstrap template using Glyphicons for the toolbar that are incompatible with IE.

I've since switched to Font Awesome and it is now showing perfectly fine, except for one issue.

Here is an image of the toolbar below...

When you hit this toggle for Thumbnails, a row of thumbnails pops up from the bottom. Pic below.

The issue, is that the black toolbar is supposed to animate up and out of the way just above the row of thumbs.

The issue doesn't happen when the original template using the glyphicons is present. But as soon as I change the thumbs toggle button to the Font Awesome fa-eye, the toolbar doesn't move. I know I'm missing some action call of some sort but I've searched everywhere and I can't find it.

Here's some code of what I'm looking at...

The eye button

<button     type="button"
                                class="btn btn-default btn-lg toggle-thumbnails"
                                data-toggle="tooltip"
                                data-placement="top"
                                title="Toggle thumbnails">
                                <i class="fa fa-eye" style="color: white;"></i>
                    </button>

Custom function (that maybe has to do with animating it?). I've since switched out the info with fa-eye, as it was previously the old glyphicon before.

//Show Hide Thumbnails
        var toggleThumbnails = function(){
            jQuery('#thumbnailsDIV').toggle("slow", function() {
                if(jQuery(".toggle-thumbnails span").hasClass('fa-eye')) {
                    jQuery(".toggle-thumbnails span").removeClass('fa-eye').toggleClass('fa-eye-slash');
                    jQuery('#toolbar').animate({bottom:'175px'});
                    jQuery('.toggle-thumbnails span').css({color: fg2xLighter});
                }else{
                    jQuery(".toggle-thumbnails span").removeClass('fa-eye-slash').toggleClass('fa-eye');
                    jQuery('#toolbar').animate({bottom:'50px'});
                    jQuery('.toggle-thumbnails span').css({color: '#{{project.description.fgcolor}}'});
                }
            });
        };
Answer:1

I've got this code: AngularJS: $scope.languages = [ { language: "English", i18n: "en" }, { language: "Espanol", i18n: "es" }, { language: "Polski", i18n: "pl" }, { language: "Portugues", ...

I've got this code: AngularJS: $scope.languages = [ { language: "English", i18n: "en" }, { language: "Espanol", i18n: "es" }, { language: "Polski", i18n: "pl" }, { language: "Portugues", ...

  1. hide element from screen reader
  2. hide element from dom
  3. hide element from printing css
  4. hide element from javascript
  5. hide element from iframe
  6. hide element from dom javascript
  7. hide element from html
  8. hide element from js
  9. hide element from jquery
  10. hide element from array javascript
  11. hide element from php
  12. hide element from angular
  13. hide element in css
  14. hide element on click
  15. hide element in react
  16. hide element on scroll
  17. hide element on mobile
  18. hide element on small screen bootstrap
  19. hide element on mobile css
  20. hide element in bootstrap 4

I'm stuck with html/JS and have no idea how I should handle some events. For example I have a list-group: <div class="col-lg-3 col-md-3 col-sm-3 opciones"> <div class="list-group"> ...

I'm stuck with html/JS and have no idea how I should handle some events. For example I have a list-group: <div class="col-lg-3 col-md-3 col-sm-3 opciones"> <div class="list-group"> ...

How can I modify the class list via jQuery or JavaScript for multiple classes in one step? I have several classes in my form like <div class="form-group has-error has-feedback">...</div> ...

How can I modify the class list via jQuery or JavaScript for multiple classes in one step? I have several classes in my form like <div class="form-group has-error has-feedback">...</div> ...

  1. javascript modify class list

How can I achieve that users can add multiply custom if-statements? For example let's say there is a given variable called x with a given value of let's say 8. The user sees that x = 8 and has a ...

How can I achieve that users can add multiply custom if-statements? For example let's say there is a given variable called x with a given value of let's say 8. The user sees that x = 8 and has a ...