Drop Up form from Footer



Hi, will anybody help me.I installed Boostrap and I need after pressing the grey button in the footer the FORM appear, but I am helpless. No adea, how to do that. Thanks a lot.

-Drop Up original list from Getboostrap.com did not appear also after button been pressed. I replaced list with FORM and also not working. www.getboostrap.com->components->dropdowns->Dropup button code

<!DOCTYPE html>
<meta charset="UTF-8">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">


    position: absolute;
    left: 0px;

<H2>DropUp Form from Footer</h2>

<footer >

  <div class="dropup">
  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <span class="caret"></span>
  <!-- <form class="form" actin="send.php"   method="post" >   //This form should appear after Dropup button been pressed.

<label for="email">Váš e-mail:</label>
<input name="email" id="email" type="text">
<label for="dotaz">Dotaz:</label>
<textarea name="dotaz" id="dotaz"  cols="22" rows="3"></textarea>
<input type="submit" value="Odeslat"> 



<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>


You will have to define a logic to the button , only then the form will appear on pressing the button.. Do some javascript or jquery

Using jquery this can be done somewhat like this

jQuery(function($) {
$('#dropdownmenu2').click(function() {




Also make sure to apply
display: none;
to the form initially inside the style tags.

Hope that helps


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.