糖果派对官方网站_可以赌钱的糖果游戏_手机版
Taobao火镜

Taobao火镜

作者:网络编程    来源:未知    发布时间:2019-12-23 19:52    浏览量:

functionFlowG(卡塔尔{this.Nodes=Array({id:"node1",name:"01","left":10,"top":110,"type":"task","width":104,"height":26,"marked":true,"alt":true},{id:"node2","name":"02","left":0,"top":0,"type":"task","width":104,"height":26,"marked":true,"alt":true},{id:"node3","name":"03","left":364,"top":40,"type":"task","width":104,"height":26,"alt":true}卡塔尔;如何创设一个函数LineNode({x1,y1},{x2,y2},node卡塔尔(قطر‎,决断直线{x1,y1}{x2,y2}与node是不是相交。

Taobao火镜。<%dim total(7,1) 
total(1,0卡塔尔(英语:State of Qatar)="启示论坛" 
total(2,0)="招聘网" 
total(3,0)="51Job" 
total(4,0卡塔尔(قطر‎="中国弱冠之年报" 
total(5,0卡塔尔(قطر‎="音讯早报" 
total(6,0卡塔尔国="中国青少年报" 
total(7,0卡塔尔="环球网" 

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
{
padding: 0;
margin: 0;
}
li{
list-style: none;
}
#wrap{
position: relative;
/
overflow: hidden;/
}
#min{
float: left;
width: 400px;
height: 500px;
}
#viewBox{
position: absolute;
left: 0;
top: 0;
width: 400px;
height: 400px;
border: solid 1px black;
box-sizing: border-box;
overflow: hidden;
}
#viewBox li img{
width: 400px;
height: 400px;
}
#photo{
position: absolute;
left: 0;
top: 400px;
height: 100px;
}
#photo li{
width: 80px;
height: 80px;
box-sizing: border-box;
margin: 10px;
float: left;
}
#photo li img{
width: 100%;
height: 100%;
}
#max{
position: absolute;
left: 450px;
width: 400px;
height: 400px;
overflow: hidden;
border: solid 1px black;
box-sizing: border-box;
float: left;
list-style: none;
display: none;
}
#max li{
position: absolute;
/
left: 0;/
/
top: 0;/
width: 800px;
height: 800px;
display: none;
}
#max li img{
/
position: absolute;*/
width: 800px;
height: 800px;
}
#slider{
position: absolute;
left: 0;
top: 0;
width: 200px;
height: 200px;
background: #CCCCCC;
opacity: 0.7;
display: none;
}
</style>
</head>
<body>
<div id="wrap">

total(1,1)=200 
total(2,1)=1200 
total(3,1)=900 
total(4,1)=600 
total(5,1)=1222 
total(6,1)=413 
total(7,1)=800 

<div id="min">
<ul id="viewBox">
<li><img src="img/Z.jpg" alt="" /></li>
<li><img src="img/Z1.jpg" alt="" /></li>
<li><img src="img/Z3.jpg" alt="" /></li>
<li><img src="img/Z4.jpg" alt="" /></li>
<div id="slider"></div>
</ul>
<ul id="photo">
<li style="border: solid 1px red;"><img src="img/Z.jpg" alt="" /></li>
<li><img src="img/Z1.jpg" alt="" /></li>
<li><img src="img/Z3.jpg" alt="" /></li>
<li><img src="img/Z4.jpg" alt="" /></li>
</ul>
</div>

%><html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> 
<!--[if !mso]> 
<style> 
v:* { behavior: url(#default#VML) } 
bb电子糖果派对,o:* { behavior: url(#default#VML) } 
.shape { behavior: url(#default#VML) } 
</style> 
<![endif]--> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<title></title> 
<style> 
TD { FONT-SIZE: 9pt} 
</style></head> 
<body topmargin=5 leftmargin=0 scroll=AUTO> 
范例一 
<%call table3(total,100,40,250,250,"A")%> 
<Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br><Br>范例二 
<%call table3(total,300,450,250,250,"B")%> 
</body> 
</html> 

<ul id="max">
<li><img src="img/Z.jpg" alt="" /></li>
<li><img src="img/Z1.jpg" alt="" /></li>
<li><img src="img/Z3.jpg" alt="" /></li>
<li><img src="img/Z4.jpg" alt="" /></li>
</ul>
</div>
</body>
<script type="text/javascript">
var viewBox = document.getElementById("viewBox");
var viewBoxLi = viewBox.getElementsByTagName('li');
var photo = document.getElementById("photo");
var photoLi = photo.getElementsByTagName('li');
var slider = document.getElementById("slider");
var max = document.getElementById("max");
var maxLi = max.getElementsByTagName('li');
var num = 0;
maxLi[0].style.display = 'block';
//tab切换
for(var i = 0; i < photoLi.length; i ++){
photoLi[i].index = i;
photoLi[i].onmouseover = function(){
for(var i = 0; i < viewBoxLi.length; i ++){
viewBoxLi[i].style.display = 'none';
maxLi[i].style.display = 'none';
photoLi[i].style.border = '';
}
num = this.index;
viewBoxLi[this.index].style.display = 'block';
photoLi[this.index].style.border = 'solid 1px red';
maxLi[this.index].style.display = 'block';
}
}
//放大镜
viewBox.onmousemove = function(ev){
// console.log(num);
var e = ev || window.event;
slider.style.display = 'block';
max.style.display = 'block';
//slider随着鼠标的移动而移动
var x = e.clientX - slider.offsetWidth / 2 - viewBox.offsetLeft;
var y = e.clientY - slider.offsetHeight / 2 - viewBox.offsetTop;
if(x < 0){
x = 0;
}else if(x > viewBox.offsetWidth - slider.offsetWidth){
x = viewBox.offsetWidth - slider.offsetWidth;
}
if(y < 0){
y = 0;
}else if(y > viewBox.offsetHeight - slider.offsetHeight){
y = viewBox.offsetHeight - slider.offsetHeight;
}
slider.style.left = x + 'px';
slider.style.top = y + 'px';
//大图随着slider地方的改过而显示不相同的区域
var scaleX = x / (viewBox.offsetWidth - slider.offsetWidth);
var scaleY = y / (viewBox.offsetHeight - slider.offsetHeight);
console.log(maxLi[num].offsetWidth);
maxLi[num].style.left = - scaleX * (maxLi[num].offsetWidth - max.offsetWidth) + 'px';
maxLi[num].style.top = - scaleY * (maxLi[num].offsetWidth - max.offsetHeight) + 'px';
}
viewBox.onmouseleave = function(){
slider.style.display = "none";
max.style.display = "none";

<% 
function table3(total,table_x,table_y,all_width,all_height,table_type) 
'参数含义(传递的数组,横坐标,纵坐标,图表的幅度,图表的万丈,图表的项目卡塔尔国 
'纯ASP代码生成图表函数3——饼图 
'极度谢谢您使用那么些函数,请您使用和转发时保留版权音讯,那是对作者工作的最棒的依赖。 
tb_height=30 

    }


</script>

上一篇:没有了
下一篇:没有了
友情链接: 网站地图
Copyright © 2015-2019 http://www.tk-web.com. bb电子糖果派对有限公司 版权所有