- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的页面位于此处 - http://hoffwebsites.com/mcwp-2/buy-by-industry/printing/
基本上,我想直接链接到我的标签内容。
它说的是:UV 固化喷墨、喷墨、水性喷墨、数字点播、丝网打印、柔版打印、凹版打印、平版胶印、热转印、激光打印
我想向用户提供一个链接,该链接会将他们带到此页面,但会打开一个特定的选项卡,而不是默认情况下的“UV 固化喷墨打印机”。因此,如果我希望有人在到达此页面后立即看到“热转印”选项卡打开,我需要能够直接链接到该选项卡,但我无法弄清楚。
那些链接有类和数据标签,例如:
<a class="projects_select tab-link" data-tab="tab-3">Aqueous Inkjet</a>
但我不知道如何将它直接链接到“UV-cure inkjet”或“Offset Lithography”等。
请帮忙?
这是我的代码。
<h1 class="entry-title" style="color: #1c437f; margin-top: -0px;">Printing</h1>
<h2>UV Cure Inkjet Printing on Tyvek® Graphics Media</h2>
See all Tyvek® Graphic media styles offered by Material Concepts that are compatible with the UV cure inkjet printing process:<br />
<img src="http://hoffwebsites.com/mcwp-2/wp-content/uploads/2018/08/spacer-line.gif">
<style type="text/css">tbody tr:nth-child(odd) {background-color: #f9f9f9;}</style>
<br class="clear"><a name="Top"></a><a class="projects_select tab-link current" data-tab="tab-1">UV-cure inkjet</a><a class="projects_select tab-link" data-tab="tab-2">Inkjet</a><a class="projects_select tab-link" data-tab="tab-3">Aqueous Inkjet</a><a class="projects_select tab-link" data-tab="tab-4">Digital on Demand</a><a class="projects_select tab-link" data-tab="tab-5">Screen Process</a><br class="clear">
<div id="tab-1" class="tab-content current">
<h2 style="margin-top: 10px; margin-bottom: 25px;">UV-cure inkjet</h2>
<table align="center" style="font-family: arial !important; font-size: 13px; border: 1px solid #aed0ea; margin-bottom: -30px;" border="1" cellpadding="3" cellspacing="3" width="100%" role="table">
<thead role="rowgroup">
<tr role="row">
<td style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3;
text-align: center;"><b>Product</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Coating</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Thickness</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Weight</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Core</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Notes</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Typical Applications</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Widths</b></td>
</tr>
</thead>
<tbody role="rowgroup">
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1025D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">5 mil</td>
<td role="cell">1.25 oz/yd2, [42 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Templates for sign installation. Texturing for in-store visual appeal</td>
<td role="cell">36"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1056D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">6.3 mil</td>
<td role="cell">1.6 oz/yd2, [54 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Reprographics, Tags & Labels, Signs</td>
<td role="cell">36", 60.25"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1073D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.5 mil</td>
<td role="cell">2.2 oz/yd2, [75 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Reprographics, Booklets, Charts, & Signs, Blueprints</td>
<td role="cell">36", 61"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1079</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.9 mil</td>
<td role="cell">2.85 oz/yd2, [97 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Tags & Labels</td>
<td role="cell">36"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1085D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">10.3 mil</td>
<td role="cell">3.2 oz/yd2, [109 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Banners & Signs. Extra body for shape development.</td>
<td role="cell">57.125", 114.25"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1443R</a></td>
<td role="cell">Uncoated</td>
<td role="cell">5.5 mil</td>
<td role="cell">1.25 oz/yd2, [43 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Fabric-like, Soft Structure</td>
<td role="cell">Promotional clothing, Ideal for interlining between double sided signs, flags, and banners</td>
<td role="cell">60", 120"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">8740D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.5 mil</td>
<td role="cell">2.0 oz/yd2, [68 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Reprographics, Booklets, Charts, & Signs, Blueprints</td>
<td role="cell">36", 48"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">Tyvek Sheets</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.5 mil</td>
<td role="cell">2.0 oz/yd2, [68gsm]</td>
<td role="cell">NA</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Water resistent paper items like signage, racing bibs, etc.</td>
<td role="cell">8.5"x11", 12×18</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">Tyvek Sheets</a></td>
<td role="cell">Uncoated</td>
<td role="cell">6.3 mil</td>
<td role="cell">1.6 oz/yd2, [54 gsm]</td>
<td role="cell">NA</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Water resistent paper items like signage, racing bibs, etc.</td>
<td role="cell">8.5" x 11"</td>
</tr>
</tbody>
</table>
</div>
<div id="tab-2" class="tab-content">
<h2 style="margin-top: 10px; margin-bottom: 25px;">Inkjet</h2>
<table align="center" style="font-family: arial !important; font-size: 13px; border: 1px solid #aed0ea; margin-bottom: -30px;" border="1" cellpadding="3" cellspacing="3" width="100%" role="table">
<thead role="rowgroup">
<tr role="row">
<td style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3;
text-align: center;"><b>Product</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Coating</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Thickness</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Weight</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Core</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Notes</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Typical Applications</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Widths</b></td>
</tr>
</thead>
<tbody role="rowgroup"></tbody>
</table>
</div>
<div id="tab-3" class="tab-content">
<h2 style="margin-top: 10px; margin-bottom: 25px;">Aqueous Inkjet</h2>
<table align="center" style="font-family: arial !important; font-size: 13px; border: 1px solid #aed0ea; margin-bottom: -30px;" border="1" cellpadding="3" cellspacing="3" width="100%" role="table">
<thead role="rowgroup">
<tr role="row">
<td style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3;
text-align: center;"><b>Product</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Coating</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Thickness</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Weight</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Core</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Notes</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Typical Applications</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Widths</b></td>
</tr>
</thead>
<tbody role="rowgroup">
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">Tyvek Inkjet 11 Mil</a></td>
<td role="cell">Coated 1 side</td>
<td role="cell">11 mil</td>
<td role="cell">4 oz/yd2, [136 gsm]</td>
<td role="cell">2"</td>
<td role="cell">Non-glare surface, Paper-like</td>
<td role="cell">Banners & Signs</td>
<td role="cell">24", 36", 42", 50", 59"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">Tyvek Inkjet 7 Mil</a></td>
<td role="cell">Coated 1 side</td>
<td role="cell">7 mil</td>
<td role="cell">1.8 oz/yd2, [61 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Non-glare surface, Paper-like</td>
<td role="cell">Banners & Signs</td>
<td role="cell">36"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">Tyvek Sheets</a></td>
<td role="cell">Coated 1 side</td>
<td role="cell">8 mil</td>
<td role="cell">2.2 oz/yd2, [68 gsm]</td>
<td role="cell">NA</td>
<td role="cell">Non-glare surface, Paper-like</td>
<td role="cell">Water resistent paper items like signage, racing bibs, etc.</td>
<td role="cell">8.5" x 11"</td>
</tr>
</tbody>
</table>
</div>
<div id="tab-4" class="tab-content">
<h2 style="margin-top: 10px; margin-bottom: 25px;">Digital on Demand</h2>
<table align="center" style="font-family: arial !important; font-size: 13px; border: 1px solid #aed0ea; margin-bottom: -30px;" border="1" cellpadding="3" cellspacing="3" width="100%" role="table">
<thead role="rowgroup">
<tr role="row">
<td style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3;
text-align: center;"><b>Product</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Coating</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Thickness</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Weight</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Core</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Notes</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Typical Applications</b></td>
<th style="padding: 8px; color: white; border-color: #aed0ea; background-color: #3baae3; text-align: center;" role="columnheader"><b>Widths</b></td>
</tr>
</thead>
<tbody role="rowgroup">
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1025D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">5 mil</td>
<td role="cell">1.25 oz/yd2, [42 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Templates for sign installation. Texturing for in-store visual appeal</td>
<td role="cell">36"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1056D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">6.3 mil</td>
<td role="cell">1.6 oz/yd2, [54 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Reprographics, Tags & Labels, Signs</td>
<td role="cell">36", 60.25"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1073D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.5 mil</td>
<td role="cell">2.2 oz/yd2, [75 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Reprographics, Booklets, Charts, & Signs, Blueprints</td>
<td role="cell">36", 61"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1079</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.9 mil</td>
<td role="cell">2.85 oz/yd2, [97 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Tags & Labels</td>
<td role="cell">36"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">1085D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">10.3 mil</td>
<td role="cell">3.2 oz/yd2, [109 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Banners & Signs. Extra body for shape development.</td>
<td role="cell">57.125", 114.25"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">8740D</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.5 mil</td>
<td role="cell">2.0 oz/yd2, [68 gsm]</td>
<td role="cell">3"</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Reprographics, Booklets, Charts, & Signs, Blueprints</td>
<td role="cell">36", 48"</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">Tyvek Sheets</a></td>
<td role="cell">Uncoated</td>
<td role="cell">7.5 mil</td>
<td role="cell">2.0 oz/yd2, [68gsm]</td>
<td role="cell">NA</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Water resistent paper items like signage, racing bibs, etc.</td>
<td role="cell">8.5"x11", 12×18</td>
</tr>
<tr role="row">
<td role="cell"><a href="http://hoffwebsites.com/mcwp-2/">Tyvek Sheets</a></td>
<td role="cell">Uncoated</td>
<td role="cell">6.3 mil</td>
<td role="cell">1.6 oz/yd2, [54 gsm]</td>
<td role="cell">NA</td>
<td role="cell">Paper-like, Hard Structure</td>
<td role="cell">Water resistent paper items like signage, racing bibs, etc.</td>
<td role="cell">8.5" x 11"</td>
</tr>
</tbody>
</table>
</div>
<script src='http://hoffwebsites.com/mcwp-2/1-data/responsive-tabbed-content-with-jquery-and-css/js/jquery.min.js'></script>
<script src='http://hoffwebsites.com/mcwp-2/1-data/responsive-tabbed-content-with-jquery-and-css/js/index.js'></script>
</body><br />
</html><center><b><a href="#Top">Back to Top</a></b></center><script src="http://hoffwebsites.com/mcwp-2/1-data/responsive-tabbed-content-with-jquery-and-css/js/modernizr.min.js" type="text/javascript"></script>
<style type="text/css">ol,ul{list-style:none}</style>
<link rel="stylesheet" href="http://hoffwebsites.com/mcwp-2/1-data/responsive-tabbed-content-with-jquery-and-css/css/style.css">
最佳答案
这是我会做的:
1) 使用 url 中的参数构建链接,如下所示:
http://hoffwebsites.com/mcwp-2/buy-by-industry/printing/?tab=tab-9
2) 然后在点击函数上面添加你的js:
$(document).ready(function(){
$.urlParam = function(name){
var results = new RegExp('[\?&]' + name + '=([^]*)').exec(window.location.href);
if (results==null){
return null;
}
else{
return results[1] || 0;
}
};
var tab = $.urlParam('tab');
if (tab != null) {
$('.projects_select').removeClass('current');
$('.tab-content').removeClass('current');
$('.projects_select[data-tab="' + tab + '"]').addClass('current');
$("#"+tab).addClass('current');
};
$('.projects_select').click(function(){
var tab_id = $(this).attr('data-tab');
$('.projects_select').removeClass('current');
$('.tab-content').removeClass('current');
$(this).addClass('current');
$("#"+tab_id).addClass('current');
});
})
如果有帮助,请告诉我!
关于jquery - 直接链接到选项卡式内容 - jquery 选项卡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52860203/
如果我在 C 中调用一个函数并传入一个结构(对那些 C++ 读者来说不是通过指针或引用),它会复制该对象。如果我传入一个包含数组的结构,它会复制该数组(如教授在类里面所说)。但是,如果我传入一个包含对
在 vim 等中,您可以使用 CTRLA 和 CTRLX 增加或减少光标所在的数字。然而,这会增加总数,但我想简单地增加光标正下方的数字。这有点难以描述,所以这就是我的意思: Ctrl+A usage
我正在将 Spring 4.3.2 项目升级到 Spring 5.1.5。我的一个测试用例开始因错误而失败。 ClassNotFoundException: org.hibernate.propert
我想在 Java 中分配一个直接 IntBuffer,比如说 10 亿个元素(64 位系统)。我知道的唯一方法是创建一个直接 ByteBuffer 并将其视为直接 IntBuffer。但是,4*1,0
我正在寻找特定的打印机或某些打印机上存在的技术(接口(interface)、标准、协议(protocol)),这使得可以使用 AJAX 从 Web 浏览器实现直接打印。 这意味着打印机必须: 网络接口
我正在寻求实现删除确认表单的最佳实践建议。 除其他选项外,以下页面包含删除按钮... /website/features/f/123 ...当点击一个简单的表单时,会在以下 url 下加载: /web
我正在使用直接 Web 远程处理库在我的应用程序中执行一些 ajax 调用。我有一个问题,我认为归结为服务调用的延迟响应。以下是我认为有问题的部分代码。问题出在 getDefaultReviewerT
我想替换 Javascript confirm() 函数以允许自定义按钮而不是 Yes/Cancel。我尝试搜索,但所有解决方案都是事件驱动的,例如 jquery 对话框(代码不等待响应但它是事件驱动
我知道有几个类似的问题,但是,其中的示例并没有说明问题,或者我无法从中获利 - 我真可耻。 所以我的问题是在带有 GUI 的简单应用程序中加载图像。例如: 我在 "D:\javaeclipseprog
我想用不同的颜色为表格的行着色,所以我正在使用它 table#news tr:nth-child(even) { background-color: red; } table#news
下面的测试代码不起作用 from("direct:start").setExchangePattern(ExchangePattern.InOnly).threads(5).delay(2000).b
我在 python 中实现的第一个项目之一是对棒渗流进行蒙特卡罗模拟。代码不断增长。第一部分是棍子渗滤的可视化。在宽度*长度的区域中,使用随机起始坐标和方向绘制具有一定长度的直棒的定义密度(棒/面积)
跟踪直接文件下载的最佳方法是什么?我找到了一些解决方案,例如这个: http://www.gayadesign.com/diy/download-counter-in-php-using-htacce
我在一个线程中有一个直接的 ByteBuffer(堆外),并使用 JMM 给我的一种机制将它安全地发布到另一个线程。 happens-before 关系是否扩展到由 ByteBuffer 包装的 na
当我测试直接 java.nio.ByteBuffer 的读取性能时,我注意到绝对读取平均比相对读取快 2 倍。此外,如果我比较相对读取与绝对读取的源代码,除了相对读取维护和内部计数器外,代码几乎相同。
我知道这个问题已经被问了无数次,并且在很多情况下都得到了答案。我相信我已经阅读了其中的大部分内容。不幸的是,我在这上面能找到的一切 简单说明 ElementRef.nativeElement不好,不要
回到一些 C 语言工作。 我的许多函数看起来像这样: int err = do_something(arg1, arg2, arg3, &result); 根据意图,结果由函数填充,返回值是调用的状态
当我将 XML 提交到 https://secure-test.WorldPay.com/jsp/merchant/xml/paymentService.jsp 时: Personalised
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the he
我的 Angular 路由行为有问题。刷新或输入的 url 像/user 总是将我重定向到/home。我还在 index.html 文件中设置了 。通过单击导航菜单按钮一切正常。但是一旦我尝试刷新页面
我是一名优秀的程序员,十分优秀!