我正在使用包含Twitter Bootstrap 2.1.0的Joomla! 3.0。 我想制作自己的Joomla!模板,并且需要使用下拉菜单。 当我包括以下CSS / JS时:
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/media/jui/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/media/jui/css/bootstrap.css"></script>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/Site.css" rel="stylesheet" type="text/css">
<link rel="shotcut icon" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/images/favicon.ico" type="image/x-icon">
我得到了以下CSS错误:
Uncaught SyntaxError: Unexpected token {
在/media/jui/css/bootstrap.css
文件的第19行