5 Replies Latest reply on Jun 24, 2015 11:44 AM by sumeet812gupta

    gadgets.window.adjustHeight() is not working with Custom Tile

    sumeet812gupta

      Hi Jivers,

       

      I am trying to implement mobile responsive feature in my custom tile which means when I reduce the size of my screen my html should get adjusted accordingly.

      I am able to achieve half of the functionality as my HTML is getting adjusted according to the screen size but due to height issue its not getting displayed fully.

      Is there any other way to adjust height of the custom tile so that it will display my complete HTML.

       

      Responsive HTML inside custom tile in normal screen resolution :

       

      Mobile_Responsive_Tile.png

      Responsive HTML inside custom tile after reducing screen resolution :

      Responsive_Tile_After_Reducing_Screen_Size.png

      Responsive HTML when not used in custom tile

       

      Responsive_HTML_When_Not_Used_in_Tile.png

      Here is the code which I am using to adjust height of the tile :

       

      <script type="text/javascript">

         jive.tile.onOpen(function(config, options) {

          gadgets.window.adjustHeight(900);

        gadgets.window.adjustWidth();

      });

           </script>

       

       

      Thanks,

      Sumeet