- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经使用了它,所以我可以在单击 + 号时展开和折叠 div,但它没有。它保持僵硬,不会膨胀或塌陷。我尝试添加和删除每个不需要的脚本,但仍然不起作用。控制台也有错误:
未捕获的类型错误:$(...).slideReveal 不是函数
<div class="card">
<div class="card-header" id="headingOne">
<div class="row" style="margin-top: -15px; height:52px;">
<div class="col-6 pt-3">
<h5 class="font-mobile">Planning Engineer</h5>
</div>
<div class="col-6 pt-3" style="height:auto;">
<h5 class="mb-2 text-right">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
<h5>+</h5>
</button>
</h5>
</div>
</div>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<div class="card-body" style="height:auto;">
<h5 class="overflow-hidden mt-xs-2">Job Description:</h5>
<ul class="text-justify ul-xs">
<li>Prepare and update project schedule based on the contract.</li>
<li>Set work program and target milestones for each phase based on the project plan</li>
<li>Monitor critical activities based on the project schedule and advise project management.</li>
<li>Prepares and submit updated work program and cash flow curve showing actual progress and identify areas of weakness and establishes means and methods for recovery, if any, as well as new critical activities.</li>
<li>Monitor day to day work progress and prepare the weekly and monthly program and report.</li>
<li>Maintain and record update of work progress obtained from Project Manager.</li>
<li>Prepares monthly report reflecting work progress summary.</li>
<li>Provide process support to the other engineering disciplines</li>
<li>Provide specialist technical input into team project work</li>
<li>Develop or bring forward, as appropriate, industry best practices and new technologies.</li>
<li>Prepare and review project proposals, studies, and technical reports</li>
<li>Travel to sites as needed.</li>
</ul>
<h5> As our ideal candidate you will have:</h5>
<ul class="text-justify ul-xs">
<li>Bachelor or higher degree in Engineering</li>
<li>At least 7-8 years of experience in oil and gas sector.</li>
<li>Strong command on MS Project, MS excel and Primavera P6</li>
<li>Ability to communicate complex ideas effectively – both verbally and in writing – in English.</li>
<li>Outstanding record of academic achievement.</li>
<li>Ability to work effectively with people at all levels in an organization.</li>
<li>Excellent analytical and quantitative problem-solving skills.</li>
<li>Knowledge of International and Local applicable environmental laws and regulations.</li>
</ul>
</div>
</div>
</div>
</div>
这是渲染头部的源代码。
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Google Tag Manager -->
<script type="text/javascript" src="http://gc.kis.v2.scr.kaspersky-labs.com/C5D4D1E9-07CB-5B42-A8D8-EDAC580BC537/main.js" charset="UTF-8"></script><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W9FNBLV');</script>
<!-- End Google Tag Manager -->
<!-- -->
<!-- Document Title-->
<!-- =============================================-->
<!--<title>Velosi | Asset Integrity Ltd.</title>-->
<title>Careers</title>
<!-- -->
<!-- JavaScripts-->
<!-- =============================================-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script src="/Scripts/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="/Scripts/bootstrap.min.js"></script>
<script src="/Content/Theme/lib/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script src="/Content/Theme/lib/gsap/src/minified/TweenMax.min.js"></script>
<script src="/Content/Theme/lib/gsap/src/minified/plugins/ScrollToPlugin.min.js"></script>
<script src="/Content/Theme/lib/CustomEase.min.js"></script>
<script src="/Content/Theme/js/config.js"></script>
<script src="/Content/Theme/js/zanimation.js"></script>
<script src="/Content/Theme/lib/owl.carousel/dist/owl.carousel.min.js"></script>
<script src="/Content/Theme/lib/remodal/dist/remodal.js"></script>
<script src="/Content/Theme/lib/lightbox2/dist/js/lightbox.js"></script>
<script src="/Content/Theme/lib/flexslider/jquery.flexslider-min.js"></script>
<script src="/Content/Theme/js/core.js"></script>
<script src="/Content/Theme/js/main.js"></script>
<!-- DataTable -->
<script src="/Content/Theme/DataTables-1.10.18/js/jquery.dataTables.min.js"></script>
<script src="/Content/Theme/DataTables-1.10.18/js/dataTables.bootstrap.min.js"></script>
<script src="/Content/Theme/FixedHeader-3.1.4/js/dataTables.fixedHeader.min.js"></script>
<script src="/Content/Theme/Responsive-2.2.2/js/dataTables.responsive.min.js"></script>
<script src="/Content/Theme/Responsive-2.2.2/js/responsive.bootstrap.min.js"></script>
<!-- Datepicker -->
<script src="/Content/Theme/select2/dist/js/select2.min.js"></script>
<script src="/Content/Theme/Toaster/toastr.js"></script>
<!-- Favicons-->
<!-- =============================================-->
<link rel="apple-touch-icon" sizes="180x180" href="/Content/Theme/images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/Content/Theme/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/Content/Theme/images/favicons/favicon-16x16.png">
<link rel="shortcut icon" type="image/x-icon" href="/Content/Theme/images/favicons/favicon.ico">
<link rel="mask-icon" href="/Content/Theme/images/favicons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileImage" content="/Content/Theme/images/favicons/mstile-150x150.png">
<meta name="theme-color" content="#ffffff">
<!-- -->
<!-- Stylesheets-->
<!-- =============================================-->
<!-- Default stylesheets-->
<link href="/Content/Theme/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Template specific stylesheets-->
<link href="/Content/Theme/lib/loaders.css/loaders.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700|Open+Sans:300,400,600,700,800" rel="stylesheet">
<link href="/Content/Theme/lib/iconsmind/iconsmind.css" rel="stylesheet">
<link href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet">
<link href="/Content/Theme/lib/hamburgers/dist/hamburgers.min.css" rel="stylesheet">
<link href="/Content/Theme/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="/Content/Theme/lib/owl.carousel/dist/assets/owl.carousel.min.css" rel="stylesheet">
<link href="/Content/Theme/lib/owl.carousel/dist/assets/owl.theme.default.min.css" rel="stylesheet">
<link href="/Content/Theme/lib/remodal/dist/remodal.css" rel="stylesheet">
<link href="/Content/Theme/lib/remodal/dist/remodal-default-theme.css" rel="stylesheet">
<link href="/Content/Theme/lib/flexslider/flexslider.css" rel="stylesheet">
<link href="/Content/Theme/lib/lightbox2/dist/css/lightbox.css" rel="stylesheet">
<link href="/Content/Theme/Toaster/toastr.css" rel="stylesheet" />
<!-- Main stylesheet and color file-->
<link href="/Content/Theme/css/style.css" rel="stylesheet">
<link href="/Content/Theme/css/custom.css" rel="stylesheet">
<!-- DataTable -->
<link href="/Content/Theme/DataTables-1.10.18/css/dataTables.bootstrap.min.css" rel="stylesheet" />
<link href="/Content/Theme/FixedHeader-3.1.4/css/fixedHeader.bootstrap.min.css" rel="stylesheet" />
<link href="/Content/Theme/Responsive-2.2.2/css/responsive.bootstrap.min.css" rel="stylesheet" />
<!-- Datepicker -->
<link href="/Content/Theme/select2/dist/css/select2.min.css" rel="stylesheet" />
<link href="/Content/Site.css" rel="stylesheet" />
更新:我按照这个顺序使用它,但仍然无法正常工作。
@*<script src="~/Scripts/jquery-3.3.1.min.js"></script>*@
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link href="http://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="http://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<script src="~/Content/External/js/modernizr.min.js"></script>
@*<script src="~/Content/External/js/popper.min.js"></script>*@
@*<script src="~/Scripts/bootstrap.min.js"></script>*@
<script src="~/Content/Theme/lib/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script src="~/Content/Theme/lib/gsap/src/minified/TweenMax.min.js"></script>
<script src="~/Content/Theme/lib/gsap/src/minified/plugins/ScrollToPlugin.min.js"></script>
<script src="~/Content/Theme/lib/CustomEase.min.js"></script>
<script src="~/Content/Theme/js/config.js"></script>
<script src="~/Content/Theme/js/zanimation.js"></script>
<script src="~/Content/Theme/lib/owl.carousel/dist/owl.carousel.min.js"></script>
<script src="~/Content/Theme/lib/remodal/dist/remodal.js"></script>
<script src="~/Content/Theme/lib/lightbox2/dist/js/lightbox.js"></script>
<script src="~/Content/Theme/lib/flexslider/jquery.flexslider-min.js"></script>
<script src="~/Content/Theme/js/core.js"></script>
<script src="~/Content/Theme/js/main.js"></script>
<script src="~/Content/External/js/jquery.slidereveal.min.js"></script>
<!-- DataTable -->
<script src="~/Content/Theme/DataTables-1.10.18/js/jquery.dataTables.min.js"></script>
<script src="~/Content/Theme/DataTables-1.10.18/js/dataTables.bootstrap.min.js"></script>
<script src="~/Content/Theme/FixedHeader-3.1.4/js/dataTables.fixedHeader.min.js"></script>
<script src="~/Content/Theme/Responsive-2.2.2/js/dataTables.responsive.min.js"></script>
<script src="~/Content/Theme/Responsive-2.2.2/js/responsive.bootstrap.min.js"></script>
<!-- Datepicker -->
<script src="~/Content/Theme/select2/dist/js/select2.min.js"></script>
<script src="~/Content/Theme/Toaster/toastr.js"></script>
@RenderSection("scripts", required: false)
<!-- Favicons-->
<!-- =============================================-->
<link rel="apple-touch-icon" sizes="180x180" href="~/Content/Theme/images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="~/Content/Theme/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="~/Content/Theme/images/favicons/favicon-16x16.png">
<link rel="shortcut icon" type="image/x-icon" href="~/Content/Theme/images/favicons/favicon.ico">
@*<link rel="manifest" href="~/Content/Theme/images/favicons/manifest.json">*@
<link rel="mask-icon" href="~/Content/Theme/images/favicons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileImage" content="~/Content/Theme/images/favicons/mstile-150x150.png">
<meta name="theme-color" content="#ffffff">
<!-- -->
<!-- Stylesheets-->
<!-- =============================================-->
<!-- Default stylesheets-->
@*<link href="~/Content/Theme/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">*@
<!-- Template specific stylesheets-->
<link href="~/Content/Theme/lib/loaders.css/loaders.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700|Open+Sans:300,400,600,700,800" rel="stylesheet">
<link href="~/Content/Theme/lib/iconsmind/iconsmind.css" rel="stylesheet">
<link href="~/Content/External/css/ionicons.min.css" rel="stylesheet" />
<link href="~/Content/Theme/lib/hamburgers/dist/hamburgers.min.css" rel="stylesheet">
@*<link href="~/Content/Theme/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">*@
<link href="~/Content/Theme/lib/owl.carousel/dist/assets/owl.carousel.min.css" rel="stylesheet">
<link href="~/Content/Theme/lib/owl.carousel/dist/assets/owl.theme.default.min.css" rel="stylesheet">
<link href="~/Content/Theme/lib/remodal/dist/remodal.css" rel="stylesheet">
<link href="~/Content/Theme/lib/remodal/dist/remodal-default-theme.css" rel="stylesheet">
<link href="~/Content/Theme/lib/flexslider/flexslider.css" rel="stylesheet">
<link href="~/Content/Theme/lib/lightbox2/dist/css/lightbox.css" rel="stylesheet">
<link href="~/Content/Theme/Toaster/toastr.css" rel="stylesheet" />
<!-- Main stylesheet and color file-->
<link href="~/Content/Theme/css/style.css" rel="stylesheet">
<link href="~/Content/Theme/css/custom.css" rel="stylesheet">
<!-- DataTable -->
<link href="~/Content/Theme/DataTables-1.10.18/css/dataTables.bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/Theme/FixedHeader-3.1.4/css/fixedHeader.bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/Theme/Responsive-2.2.2/css/responsive.bootstrap.min.css" rel="stylesheet" />
<!-- Datepicker -->
<link href="~/Content/Theme/select2/dist/css/select2.min.css" rel="stylesheet" />
<link href="~/Content/Site.css" rel="stylesheet" />
<link href="~/Content/custom.css" rel="stylesheet" />
最佳答案
您添加额外的 data-parent="#accordion"
<div id="collapseOne" class="collapse" aria-labelledby="headingOne">
中的属性线。我刚刚在下面的代码片段中删除了这个属性。我希望它能帮助你。谢谢
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="card">
<div class="card-header" id="headingOne">
<div class="row" style="margin-top: -15px; height:52px;">
<div class="col-6 pt-3">
<h5 class="font-mobile">Planning Engineer</h5>
</div>
<div class="col-6 pt-3" style="height:auto;">
<h5 class="mb-2 text-right">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
<h5>+</h5>
</button>
</h5>
</div>
</div>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne">
<div class="card-body" style="height:auto;">
<h5 class="overflow-hidden mt-xs-2">Job Description:</h5>
<ul class="text-justify ul-xs">
<li>Prepare and update project schedule based on the contract.</li>
<li>Set work program and target milestones for each phase based on the project plan</li>
<li>Monitor critical activities based on the project schedule and advise project management.</li>
<li>Prepares and submit updated work program and cash flow curve showing actual progress and identify areas of weakness and establishes means and methods for recovery, if any, as well as new critical activities.</li>
<li>Monitor day to day work progress and prepare the weekly and monthly program and report.</li>
<li>Maintain and record update of work progress obtained from Project Manager.</li>
<li>Prepares monthly report reflecting work progress summary.</li>
<li>Provide process support to the other engineering disciplines</li>
<li>Provide specialist technical input into team project work</li>
<li>Develop or bring forward, as appropriate, industry best practices and new technologies.</li>
<li>Prepare and review project proposals, studies, and technical reports</li>
<li>Travel to sites as needed.</li>
</ul>
<h5> As our ideal candidate you will have:</h5>
<ul class="text-justify ul-xs">
<li>Bachelor or higher degree in Engineering</li>
<li>At least 7-8 years of experience in oil and gas sector.</li>
<li>Strong command on MS Project, MS excel and Primavera P6</li>
<li>Ability to communicate complex ideas effectively – both verbally and in writing – in English.</li>
<li>Outstanding record of academic achievement.</li>
<li>Ability to work effectively with people at all levels in an organization.</li>
<li>Excellent analytical and quantitative problem-solving skills.</li>
<li>Knowledge of International and Local applicable environmental laws and regulations.</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
关于html - 为什么 Accordion 在点击时不会展开或折叠?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55350162/
尝试使用集成到 QTCreator 的表单编辑器,但即使我将插件放入 QtCreator.app/Contents/MacOS/designer 也不会显示。不过,相同的 dylib 文件确实适用于独
在此代码示例中。 “this.method2();”之后会读到什么?在返回returnedValue之前会跳转到method2()吗? public int method1(int returnedV
我的项目有通过gradle配置的依赖项。我想添加以下依赖项: compile group: 'org.restlet.jse', name: 'org.restlet.ext.apispark', v
我将把我们基于 Windows 的客户管理软件移植到基于 Web 的软件。我发现 polymer 可能是一种选择。 但是,对于我们的使用,我们找不到 polymer 组件具有表格 View 、下拉菜单
我的项目文件夹 Project 中有一个文件夹,比如 ED 文件夹,当我在 Eclipse 中指定在哪里查找我写入的文件时 File file = new File("ED/text.txt"); e
这是奇怪的事情,这个有效: $('#box').css({"backgroundPosition": "0px 250px"}); 但这不起作用,它只是不改变位置: $('#box').animate
这个问题在这里已经有了答案: Why does OR 0 round numbers in Javascript? (3 个答案) 关闭 5 年前。 Mozilla JavaScript Guide
这个问题在这里已经有了答案: Is the function strcmpi in the C standard libary of ISO? (3 个答案) 关闭 8 年前。 我有一个问题,为什么
我目前使用的是共享主机方案,我不确定它使用的是哪个版本的 MySQL,但它似乎不支持 DATETIMEOFFSET 类型。 是否存在支持 DATETIMEOFFSET 的 MySQL 版本?或者有计划
研究 Seam 3,我发现 Seam Solder 允许将 @Named 注释应用于包 - 在这种情况下,该包中的所有 bean 都将自动命名,就好像它们符合条件一样@Named 他们自己。我没有看到
我知道 .append 偶尔会增加数组的容量并形成数组的新副本,但 .removeLast 会逆转这种情况并减少容量通过复制到一个新的更小的数组来改变数组? 最佳答案 否(或者至少如果是,则它是一个错
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 1
noexcept 函数说明符是否旨在 boost 性能,因为生成的对象中可能没有记录异常的代码,因此应尽可能将其添加到函数声明和定义中?我首先想到了可调用对象的包装器,其中 noexcept 可能会产
我正在使用 Angularjs 1.3.7,刚刚发现 Promise.all 在成功响应后不会更新 angularjs View ,而 $q.all 会。由于 Promises 包含在 native
我最近发现了这段JavaScript代码: Math.random() * 0x1000000 10.12345 10.12345 >> 0 10 > 10.12345 >>> 0 10 我使用
我正在编写一个玩具(物理)矢量库,并且遇到了 GHC 坚持认为函数应该具有 Integer 的问题。是他们的类型。我希望向量乘以向量以及标量(仅使用 * ),虽然这可以通过仅使用 Vector 来实现
PHP 的 mail() 函数发送邮件正常,但 Swiftmailer 的 Swift_MailTransport 不起作用! 这有效: mail('user@example.com', 'test
我尝试通过 php 脚本转储我的数据,但没有命令行。所以我用 this script 创建了我的 .sql 文件然后我尝试使用我的脚本: $link = mysql_connect($host, $u
使用 python 2.6.4 中的 sqlite3 标准库,以下查询在 sqlite3 命令行上运行良好: select segmentid, node_t, start, number,title
我最近发现了这段JavaScript代码: Math.random() * 0x1000000 10.12345 10.12345 >> 0 10 > 10.12345 >>> 0 10 我使用
我是一名优秀的程序员,十分优秀!