Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何使搜索框结果进入引导中的滚动条?_Html_Twitter Bootstrap - Fatal编程技术网

Html 如何使搜索框结果进入引导中的滚动条?

Html 如何使搜索框结果进入引导中的滚动条?,html,twitter-bootstrap,Html,Twitter Bootstrap,我正在用Bootstrap设计一个搜索页面。是否有人能给出一些关于如何将下拉搜索框更改为可滚动搜索框的提示(即,框大小是固定的,人们可以滚动可能的结果)? Img: 有关守则如下: @helper.form(action = routes.Figure6.submit(), 'class -> "form-group form-search subscribe-container", 'method -> "get") { <div class="input-g

我正在用Bootstrap设计一个搜索页面。是否有人能给出一些关于如何将下拉搜索框更改为可滚动搜索框的提示(即,框大小是固定的,人们可以滚动可能的结果)? Img: 有关守则如下:

@helper.form(action = routes.Figure6.submit(), 'class -> "form-group form-search subscribe-container", 'method -> "get") {
        <div class="input-group @("has-error".when(appForm.hasErrors))">

            <input type="hidden" name="id" id="id" value="@appForm("id").value" required>
            <input type="text" name="appName" id="appName" class="form-control input-lg"
                placeholder="App name" required>
            <span class="input-group-btn">
                <button class="btn btn-success input-lg" type="submit">Go!</button>
            </span>

        </div>
        <span class="help-block">
            @if(appForm.error("appName") != null) {
                @appForm.error("appName").message
            }
        </span>
    }
    <!-- Modal -->
    <div class="modal fade" id="myModal">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title">Alert</h4>
          </div>
          <div class="modal-body">
            Sorry, App: @appForm("appName").value @appForm("id").value  is not found in the database.
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
    <div class="footer align-center">
        <span class="copyright transparent lighting-border rounded-corner">
            &copy; 2013 All rights reserved. </span>
    </div>
</div>
@helper.form(action=routes.Figure6.submit(),'class->“表单组表单搜索订阅容器”,'method->“get”){
走!
@if(appForm.error(“appName”)!=null){
@appForm.error(“appName”).消息
}
}
&时代;
警觉的
抱歉,App:@appForm(“appName”).value@appForm(“id”).value在数据库中找不到。
&抄袭;2013版权所有。

请尝试本教程以获得您的解决方案: