Twitter Bootstrap Js(选项卡,弹出窗口,下拉列表)在Drupal中不起作用 [英] Twitter Bootstrap Js (tabs, popups, dropdown) not working in Drupal

查看:131
本文介绍了Twitter Bootstrap Js(选项卡,弹出窗口,下拉列表)在Drupal中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我设计网站&使用Twitter引导程序将其转换为HTML.我网站的静态模型在所有选项卡弹出窗口中都可以正常工作.但是,当我将HTML交给开发人员以实现动态代码时,创建所有东西的模板停止工作,只有UI可用,但是没有选项卡,弹出窗口,下拉菜单都在工作我检查JS路径,它们都很好.开发人员甚至插入了jQuery简单选项卡,它们都可以正常工作,但twitter bootstrap JS却不起作用,为什么?请帮助,否则我必须在jQuery&中再次设计所有这些内容.根据twitter bootstrap UI对其进行自定义:’(

Firstly I design the site & convert it into HTML using Twitter bootstrap. The static model of my site is working absolutely fine all tabs popup etc working just fine. But when I give the HTML to developer’s for implementing dynamic code & template creating all things stop working only UI is there but no tabs, popup, dropdown is working I check the JS paths they all are fine. developer even plugged in the jQuery simple tabs they are working fine but twitter bootstrap JS is not working any idea why? Please HELP else I have to design all those things again in jQuery & customize it as per the twitter bootstrap UI :’(

推荐答案

我认为脚本顺序导致了此问题: 应该是:

I think the order of script is causing the issue: It should be:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
        <script src="http://twitter.github.com/bootstrap/1.4.0/bootstrap-dropdown.js"></script>
        <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">

第一

jquery.js

然后

Bootstrap.dropdown.js

这篇关于Twitter Bootstrap Js(选项卡,弹出窗口,下拉列表)在Drupal中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆