Question: How do I change the next image with buttons while images are loading dynamically in Unity3D using C#.

```
 public void NextPictureInGallery()
    { 
        int i=0;//index of image
        if(i + 1 < image.Length)
        {
            i++;
        }
     }

```

[![enter image description here](https://i.stack.imgur.com/5IXpd.png)](https://i.stack.imgur.com/5IXpd.png)

Images are in a Scroll view

Answer: 
Have a look at [bootstrap documentation](http://getbootstrap.com/components/#navbar-default), you are not using the correct navbar.

Here is what you should use:

```
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">La maison de l'architecture</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#accueil" class="active">Accueil</a></li>
        <li><a href="#qui">Qui sommes-nous ?</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

```
Using media Query you can change it.

```
/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

```