城投东嘎农贸市场
![]() | 今天是2018-01-18 09:36 星期四 | 今日天气 | 返回首页 | 加入收藏 | 客户留言 | 联系我们 |
![]() |
|
|
武汉白沙洲农副产品大市场 版权所有 松际农网设计制作 Copyright © 2013 Whbsz.com.cn Inc. All rights reserved. 电话:027-88105467 传真:027-88756506 地址:武汉市洪山区长征村青菱乡特一号 邮编:430065 |
$("#thisvideo").css({ "width": "440px" }, { "height": "295px" }, { "overflow": "hidden" })
$("#thisvideo").find("embed").width(440)
$("#thisvideo").find("embed").height(294)
$("#thisvideo").find("embed").attr("wmode", "opaque")
$(function () {
var xPos = 0;
var yPos = 0;
var step = 1;
var delay = 30;
var height = 0;
var Hoffset = 0;
var Woffset = 0;
var yon = 0;
var xon = 0;
var pause = true;
var interval;
$("#Piao1").css("visibility", "visible");
// img1.visibility = "visible";
interval = setInterval(function () {
//$("#img1").css("top",yPos);
width = $(window).width();
height = $(window).height();
Hoffset = $("#Piao1").height();
Woffset = $("#Piao1").width();
//alert(""+$(window).scrollLeft()+"");
$("#Piao1").css("left", xPos + $(window).scrollLeft());
//alert(""+xPos+"");
$("#Piao1").css("top", yPos + $(window).scrollTop());
if (yon)
{ yPos = yPos + step; }
else
{ yPos = yPos - step; }
if (yPos < 0)
{ yon = 1; yPos = 0; }
if (yPos >= (height - Hoffset))
{ yon = 0; yPos = (height - Hoffset); }
if (xon)
{ xPos = xPos + step; }
else
{ xPos = xPos - step; }
if (xPos < 0)
{ xon = 1; xPos = 0; }
if (xPos >= (width - Woffset))
{ xon = 0; xPos = (width - Woffset); }
}, delay);
// alert(""+Hoffset+"");
$("#Piao1").hover(function () {
clearTimeout(interval);
}, function () {
interval = setInterval(function () {
//$("#img1").css("top",yPos);
width = $(window).width();
height = $(window).height();
Hoffset = $("#Piao1").height();
Woffset = $("#Piao1").width();
//alert(""+$(window).scrollLeft()+"");
$("#Piao1").css("left", xPos + $(window).scrollLeft());
//alert(""+xPos+"");
$("#Piao1").css("top", yPos + $(window).scrollTop());
if (yon)
{ yPos = yPos + step; }
else
{ yPos = yPos - step; }
if (yPos < 0)
{ yon = 1; yPos = 0; }
if (yPos >= (height - Hoffset))
{ yon = 0; yPos = (height - Hoffset); }
if (xon)
{ xPos = xPos + step; }
else
{ xPos = xPos - step; }
if (xPos < 0)
{ xon = 1; xPos = 0; }
if (xPos >= (width - Woffset))
{ xon = 0; xPos = (width - Woffset); }
}, delay);
});
});
//
var theForm = document.forms['fmOne'];
if (!theForm) {
theForm = document.fmOne;
}
function doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>