<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>展会首页-不带任何底部的-百分</title>
<script type="text/javascript" src="JS/jquery1.10.2.min.js"></script>
<style type="text/css">
*{ margin: 0px; padding: 0px; }
.Show{
position: absolute;
display: flex;
flex-direction: column;
background-color: red;
flex: 1;
width: 100%;
height: 100%;
background: url(Img/0.jpg) no-repeat;
background-size: 100% 100%;
background-attachment: fixed;
}
.footnav{width:80%;height: 24.11538%; bottom: 0px;position: absolute;margin:0 10%;
/*border:1px solid red;*/
}
.foot1,.foot2,.foot3,.foot4,.foot5{float: left;width:20%;height: 100%;}
.foot1{
position: absolute;
width:6.61041%;/*width: 100px;*/
height:38.9565%;/*height: 85px;*/
bottom:26.9562%;/*bottom:62px;*/
left:8.46354%; /*left:130px;*/
background-color: red;
opacity: 0.4;
border-radius: 100%;/*width: 100px;*/
}
.foot2{
position: absolute;
width:6.61041%;/*width: 100px;*/
height:38.9565%;/*height: 85px;*/
bottom:26.9562%;/*bottom:62px;*/
left:27.9547%; /*left:430px;*/
background-color: red;
opacity: 0.4;
border-radius: 100%;/*width: 100px;*/
}
.foot3{
position: absolute;
width:12.6953%;/*width: 195px;*/
height:78.0869%;/*height: 175px;*/
bottom:23.9130%;/*bottom:55px;*/
left:43.6197%;/*left:670px;*/
background-color: red;
opacity: 0.4;
border-radius: 100%;/*width: 100px;*/
}
.foot4{
position: absolute;
width:6.61041%;/*width: 100px;*/
height:38.9565%;/*height: 85px;*/
bottom:26.9562%;/*bottom:62px;*/
left:67.3828%;/*left:1035px;*/
background-color: red;
opacity: 0.4;
border-radius: 100%;/*width: 100px;*/
}
.foot5{
position: absolute;
width:6.61041%;/*width: 100px;*/
height:38.9565%;/*height: 85px;*/
bottom:26.9562%;/*bottom:62px;*/
left:87.2895%;/*left:1340px;*/
background-color: red;
opacity: 0.4;
border-radius: 100%;/*width: 100px;*/
}
.foot6{
position: absolute;
width:6.51041%;/*width: 100px;*/
height:26.9562%;/*height: 62px;*/
bottom:0;/*bottom:30px;*/
left:8.46354%; /*left:130px;*/
/* background-color: red;
opacity: 0.4;*/
}
.foot7{
position: absolute;
width:6.51041%;/*width: 100px;*/
height:26.9562%;/*height: 62px;*/
bottom:0;/*bottom:30px;*/
left:27.9947%; /*left:430px;*/
/* background-color: red;
opacity: 0.4;*/
}
.foot8{
position: absolute;
width:6.51041%;/*width: 100px;*/
height:26.9562%;/*height: 62px;*/
bottom:0;/*bottom:30px;*/
left:67.3828%;/*left:1035px;*/
/*background-color: red;
opacity: 0.4;*/
}
.foot9{
position: absolute;
width:6.51041%;/*width: 100px;*/
height:26.9562%;/*height: 62px;*/
bottom:0;/*bottom:30px;*/
left:87.2395%;/*left:1340px;*/
/* background-color: red;
opacity: 0.4;*/
}
/*send*/
/*clip-path: polygon(25px 0,100% 0,100% 100%,0 100%,0 25px); */
/*send-top-left*/
.center1{
/* width: 200px; height: 270px;
background-color: red;opacity: 0.4;
position: absolute;
left: 540px;top:45px ;
clip-path: polygon(15px 0,185px 40px,182px 80px,12px 45px );*/
width: 10.4166%; height: 25.9615%;
background-color: red;opacity: 0.4;
position: absolute;
left: 28.125%;top:4.3269% ;
clip-path: polygon(7.5% 0,92.5% 14.8148%,91% 32.6296%,6% 18.6666% );
}
.center2{
width: 10.4166%; height: 22.9615%;
background-color: red;opacity: 0.4;
position: absolute;
left: 28.125%;top:9.3269% ;
clip-path: polygon(7.5% 0,92.5% 14.8148%,91% 32.6296%,6% 18.6666% );
}
.center3{
width: 10.4166%; height: 22.9615%;
background-color: red;opacity: 0.4;
position: absolute;
left: 28.025%;top:13.5269% ;
clip-path: polygon(7.5% 0,92.5% 14.8148%,91% 32.6296%,6% 18.6666% );
}
.center4{
width: 10.4166%; height: 22.9615%;
background-color:red ;opacity: 0.4;
position: absolute;
left: 27.925%;top:18.0269% ;
clip-path: polygon(7.5% 0,92.5% 14.8148%,91% 32.6296%,6% 18.6666% );
}
.center5{
width: 10.4166%; height: 22.9615%;
background-color:red ;opacity: 0.4;
position: absolute;
left: 27.725%;top:22.8269% ;
clip-path: polygon(7.5% 0,92.5% 14.8148%,91% 32.6296%,6% 18.6666% );
}
/*send-top-left*/
/*send-top-bottom*/
.center6{
width: 18.6166%; height: 30.9615%;
background-color:red ;opacity: 0.4;
position: absolute;
left: 25.725%;top:38.8269% ;
clip-path: polygon(6.5% 0,92.5% 14.8148%,92% 32.6296%,6% 18.6666% );
}
.center7{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 26.725%;top:45.8269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
.center8{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 26.725%;top:49.2269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
.center9{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 26.725%;top:53.1269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
.center10{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 26.725%;top:57.1269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
.center11{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 34.725%;top:47.6269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
.center12{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 34.725%;top:51.1269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
.center13{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 34.725%;top:55.1269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
.center14{
width: 8.4166%; height: 16.9615%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 34.725%;top:59.1269% ;
clip-path: polygon(7.5% 0,92.5% 8.8148%,91% 27.6296%,6% 18.6666% );
}
/*send-top-bottom*/
/*send-top-right*/
.center15{
width: 29.125%; height: 27.437%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 46.925%;top:13.8269% ;
clip-path: polygon(0% 80%,80.5% 0%,100% 0%,100% 30%,10% 100%,0% 100% );
}
.center16{
width:4.7083%; height: 5.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 47.925%;top:41.5269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center17{
width:4.7083%; height: 5.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 47.925%;top:46.5269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center18{
width:4.7083%; height: 5.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 47.925%;top:51.5269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center19{
width:4.7083%; height: 5.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 53.525%;top:37.5269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center20{
width:4.7083%; height: 5.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 53.525%;top:42.8269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center21{
width:4.7083%; height: 5.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 53.525%;top:48.0269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center22{
width:5.7083%; height: 6.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 59.925%;top:32.1269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center23{
width:5.7083%; height: 6.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 59.925%;top:38.1269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center24{
width:5.7083%; height: 6.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 59.925%;top:44.1269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center25{
width:7.7083%; height: 9.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 66.925%;top:25.6269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center26{
width:7.7083%; height: 9.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 66.925%;top:31.6269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
.center27{
width:7.7083%; height: 9.7692%;
background-color: red ;opacity: 0.4;
position: absolute;
left: 66.925%;top:37.6269% ;
clip-path: polygon(0% 50%,100% 0%,100% 50%,0% 100% );
}
/*send-top-right */
</style>
</head>
<body>
<div class="Show" >
<div>
<!-- 界面定位 -->
<div class="send" >
<div class="center1" onclick="c1();"> </div>
<div class="center2" onclick="c2();"> </div>
<div class="center3" onclick="c3();"> </div>
<div class="center4" onclick="c4();"> </div>
<div class="center5" onclick="c5();"> </div>
<!-- leftbottom y-y-->
<div class="center6" onclick="c6();"> </div>
<div class="center7" onclick="c7();"> </div>
<div class="center8" onclick="c8();"> </div>
<div class="center9" onclick="c9();"> </div>
<div class="center10" onclick="c10();"> </div>
<div class="center11" onclick="c11();"> </div>
<div class="center12" onclick="c12();"> </div>
<div class="center13" onclick="c13();"> </div>
<div class="center14" onclick="c14();"> </div>
<!-- right x-x -->
<div class="center15" onclick="c15();"> </div>
<div class="center16" onclick="c16();"> </div>
<div class="center17" onclick="c17();"> </div>
<div class="center18" onclick="c18();"> </div>
<div class="center19" onclick="c19();"> </div>
<div class="center20" onclick="c20();"> </div>
<div class="center21" onclick="c21();"> </div>
<div class="center22" onclick="c22();"> </div>
<div class="center23" onclick="c23();"> </div>
<div class="center24" onclick="c24();"> </div>
<div class="center25" onclick="c25();"> </div>
<div class="center26" onclick="c26();"> </div>
<div class="center27" onclick="c27();"> </div>
</div>
<!-- 界面定位 -->
</div>
<div>
<!-- 底部定位 -->
<div class="footnav" >
<div class="foot1" onclick="foot1c();" ></div>
<div class="foot2" onclick="foot2c();"></div>
<div class="foot3" onclick="foot3c();"></div>
<div class="foot4" onclick="foot4c();"></div>
<div class="foot5" onclick="foot5c();"></div>
<div class="foot6" onclick="foot1c();"></div>
<div class="foot7" onclick="foot2c();"></div>
<div class="foot8" onclick="foot3c();"></div>
<div class="foot9" onclick="foot4c();"></div>
</div>
<!-- 底部定位 -->
</div>
</div>
<script>
function c1() {
alert("合作伙伴");
}
function c2() {
alert("机械工业出版社");
}
function c3() {
alert("中华书局");
}
function c4() {
alert("二十一世纪出版社");
}
function c5() {
alert("生活读书三联书店");
}
function c6() {
alert("合作伙伴2");
}
function c7() {
alert("机械工业出版社1");
}
function c8() {
alert("二十一世纪出版社1");
}
function c9() {
alert("机械工业出版社2");
}
function c10() {
alert("二十一世纪出版社2");
}
function c11() {
alert("中华书局1");
}
function c12() {
alert("生活读书三联书店1");
}
function c13() {
alert("中华书局2");
}
function c14() {
alert("生活读书三联书店2");
}
function c15() {
alert("北京百万庄图书展会");
}
function c16() {
alert("右1");
}
function c17() {
alert("右2");
}
function c18() {
alert("右3");
}
function c19() {
alert("右4");
}
function c20() {
alert("右5");
}
function c21() {
alert("右6");
}
function c22() {
alert("右7");
}
function c23() {
alert("右8");
}
function c24() {
alert("右9");
}
function c25() {
alert("右10");
}
function c26() {
alert("右11");
}
function c27() {
alert("右12");
}
function foot1c() {
alert("主办单位");
}
function foot2c() {
alert("合作伙伴");
}
function foot3c() {
alert("进入展会");
}
function foot4c() {
alert("出版社");
}
function foot5c() {
alert("店面分类");
}
var w = document.body.clientWidth;//网页可见区域宽:
var h = document.body.clientHeight;
console.log(w);console.log(h);
var win_w = window.screen.availWidth ;
var win_h = window.screen.availHeight;//屏幕可用工作区高度
console.log(win_w);console.log(win_h);
</script>
</body>
</html>
工作备份20200924
最新推荐文章于 2024-05-24 17:40:54 发布