Details

    • Story Points:
      2

      Description

      I am not able to use Bootstrap in liferay for making image slider responsive

      HTML code
      =================
      <!DOCTYPE html>
      <html lang="en">
      <head>
      <title>Bootstrap Example</title>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
      <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
      <style>
      .carousel-inner > .item > img,
      .carousel-inner > .item > a > img

      { margin: auto; }

      </style>
      </head>
      <body>

      <div class="container">
      <br>
      <div id="myCarousel" class="carousel slide" data-ride="carousel">
      <!-- Indicators -->
      <ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
      <li data-target="#myCarousel" data-slide-to="2"></li>
      <li data-target="#myCarousel" data-slide-to="3"></li>
      </ol>

      <!-- Wrapper for slides -->
      <div class="carousel-inner" role="listbox">
      <div class="item active">
      <img src="D:/imgdump/mov16.png" usemap="#movISO" />
      <map name="movISO"><area alt="Sun" coords="689,238,947,260" href="www.google.com" shape="rect" style="cursor: pointer;" target="_blank" />
      </map></div>

      <div class="item">
      <img src="D:/imgdump/mov15.png" alt="Chania" >
      </div>

      <div class="item">
      <img src="D:/imgdump/mov16.png" alt="Flower" >
      </div>

      <div class="item">
      <img src="D:/imgdump/mov15.png" alt="Flower" >
      </div>
      </div>

      <!-- Left and right controls -->
      <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev" style="background-image:none;">
      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
      <span class="sr-only">Previous</span>
      </a>
      <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next" style="background-image:none;">
      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
      <span class="sr-only">Next</span>
      </a>
      </div>
      </div>

      </body>
      </html>

      =====================
      When I put the code into web-content-display nothing happens

        Attachments

        1. home-bg.jpg
          home-bg.jpg
          293 kB
        2. home-bg.jpg
          home-bg.jpg
          293 kB
        3. logo.png
          logo.png
          6 kB
        4. logo1.png
          logo1.png
          6 kB
        5. logo-OLD.png
          logo-OLD.png
          7 kB
        6. menu-icon.png
          menu-icon.png
          1 kB
        7. user-login.jpg
          user-login.jpg
          491 kB
        8. user-login.jpg
          user-login.jpg
          491 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 50 weeks, 5 days ago

                Packages

                Version Package
                6.2.0 CE GA1