This commit is contained in:
wangjinlei
2023-05-18 09:42:12 +08:00
commit 6e7ee3dd44
1214 changed files with 103535 additions and 0 deletions

129
header.html Normal file
View File

@@ -0,0 +1,129 @@
<div class="top">
<div>
<div class="top_logo">
<a class="home_logo" onclick="window.parent.location.href='https://www.tmrjournals.com'">
<img src="./img/tmr.png" alt="" style="width: 70px;height: 22px">
</a>
</div>
<div class="top_switch">
<div onclick="JumpRegion()">China</div>
<div>International</div>
<br clear="both">
</div>
<div class="top_sea">
<a href="atr_wisdom.html?&wis_dom=0" target="_blank">Browse Journals</a>
<p></p>
<a class="open_serch">
<i class="fa fa-search"></i>Search
</a>
<div class="search_for_broad">
<div class="search_for">
<input type="text" placeholder="Search for Articles" value="" class="sfor_inp">
<input class="sfor_btn" type="button" value="Search">
</div>
</div>
<p></p>
<a class="b_Sub" target="_blank">
<i class="fa fa-envelope"></i>Subscribe
</a>
</div>
<br clear="both">
</div>
<!-- 订阅弹出-->
<div id="mask" class="mask"></div>
<div class="dingyue">
<div class="mainbox">
<div class="mb_close">X</div>
<div class="mb_form">
<p>Subscribe to receive latest research and news from <b></b></p>
<div style="margin-left: 10px">
<label>E-mail </label><b>*</b>
<input type="text" id="emapl" value="" placeholder="Please enter a valid email address"/>
<br><i style="font-size: 12px;font-style: normal;line-height: 21px;color: #888">We will only use
your email to notify you when we have new article posts. You can unsubscribe at any time. </i>
<br><span class="spa spa1"></span>
</div>
<div style="text-align: right;margin-right: 16px;">
<label></label>
<input type="submit" value="Cancel" class="yue_close"/>
<input type="submit" value="Subscribe" class="yue_add"/>
</div>
</div>
</div>
</div>
<div class="jour_ts">
<div class="mainbox">
<h2>Successful</h2>
<br>Thank you for subscribing.
<br><br>A confirmation email has been sent to you.
<br>
<input type="submit" value="OK!" class="tishi_author"/>
</div>
</div>
</div>
<div class="nav_ban rgb_color_background">
<div style="height: 8px"></div>
<h1 style="text-align: left">
<a href="">
<!--期刊名称-->
</a>
</h1>
<h2></h2>
</div>
<div class="line_sbil" style="display: none"></div>
<script>
// 期刊内搜索
$('.sfor_btn').click(function () {
// console.log($('select[name="cut"] option:selected').val());
$('.search_for_broad').css('display', 'none')
$('.top').css('height', '63px')
window.open("jour_search.html?J_num=" + Jour_num + "&se_ch=" + $(".sfor_inp").val());
})
// 点击搜索框出现
$('.open_serch').click(function () {
if ($('.search_for_broad').css("display") == 'block') {
$('.search_for_broad').css('display', 'none')
$('.top').css('height', '63px')
} else {
$('.search_for_broad').css('display', 'block')
$('.top').css('height', '120px')
}
})
// 回车键按下触发
$(document).keyup(function(event){
var isFocus = $(".sfor_inp").is(":focus");
if(event.keyCode == 13){
// 判断光标是否在input上
if(isFocus == true){
// 如果是 则触发点击事件
$(".sfor_btn").click();
} else {
// 不是 则不执行任何事件
}
}
})
$(document).click(function (e) {
if (!$(e.target).is('.sfor_inp') && !$(e.target).is('.sfor_btn') && !$(e.target).is('.open_serch') && !$(e.target).is('.open_serch i') && !$(e.target).is('.search_for_broad') && !$(e.target).is('.search_for')) {
$('.search_for_broad').hide();
$('.top').css('height', '63px')
}
})
// 分国家跳转
function JumpRegion() {
var jump_ip = window.location.href.replace('.com', '.cn')
window.parent.location.href = jump_ip
}
</script>