js 保持窗口随鼠标滚动

ShowSummary: function () {
if (primeConfig.IfShowSummary) {
primeConfig.IfShowSummary = false;
$("#divDesc").slideUp("slow");
$("#divSummary").css("background-image", "url(Public/image/expand-btn.png)");
}
else {
primeConfig.IfShowSummary = true;
$("#divDesc").slideDown("slow");
$("#divSummary").css("background-image", "url(Public/image/collapse-btn.png)");
}
}
"CTO": "20FMCTO1WW",
" Land ": "US",
"VKs": [

]
}
]
}

position:fixed
_____margin-top:-23px____________________________
500GB7200RPMOPAL2


sp_InsertATSLog
sp_UpdateATSLog

tableRight


tableRight
if ($(".divContentImage").length > 0) {
var offset = $(".divContentImage").offset();
$(window).scroll(function () {
var scrollTop = $(window).scrollTop();
//如果距离顶部的距离小于浏览器滚动的距离,则添加fixed属性。

if (offset.top < scrollTop) {
$(".divContentImage").css({ top: "0px" });
}
else {//否则清除fixed的css属性
//$(".divContentImage").removeClass("fixed");
$(".divContentImage").css({ top: $(".divTitle").offset().top - 1 + "px" });
}
});
}




ConfiguratorNew.aspx


#divTopFix {
width: 100%;
background-color: #000000;
color: #FFFFFF;
height: 48px;
margin-bottom: 10px;
position: fixed;
}

#divTop

divBody_Center_Left_Row

" #abcabc".match(/^\n/)

V_Management\Visbility\VisibilityMaintain.aspx


multipleConfig.GetCheck();

$.post("/Handers/SmartFindCRM.ashx",
{
type: "GetMachineType",
productId: '10MQCTO1WW',
country: 'JP',
saleorg:'JP10',
language:'English'
},
function(data, status) {
$("#divModelName").html("");
//清空原选项
$("#ddlBaseWty").html("");

var dataObj = JSON.parse(data);

if (dataObj.exists != 'Y') {
$("#errorMachineType")
.html("The machine type model you input may be incorrect, please input a valid one.");
$("#errordiv").show();
serviceCommon.ShowMask(false);
return;
}})


------------------
$.post("/Handers/FindServiceDefault.ashx",
{
type: "Machine",
ctoNumber: '20L8S59500 ',
country: 'JP',
saleorg:'JP10',
language:'en-us',
machineType:'N'
},
function(data, status) {
$("#divModelName").html("");
//清空原选项
$("#ddlBaseWty").html("");

var dataObj = JSON.parse(data);

if (dataObj.exists != 'Y') {
$("#errorMachineType")
.html("The machine type model you input may be incorrect, please input a valid one.");
$("#errordiv").show();
serviceCommon.ShowMask(false);
return;
}})

html = {<option></option><option value='D04' title='1 Year On-site (D04)' key='D04_1YROS'>1 Year On-site (D04)</option><option value='D06' title='3 Year On-site (D06)' key='D06_3YROS'>3 Year On-site (D06)</option>☆10MQ☆C☆N☆Thinkcentre M710q☆}


var test = listGEO[valueKey].Where(o => o.Code == "NB_COUNTRY").ToList();
foreach(var item in test)
{
item.Code = "CHINA";


}

猜你喜欢

转载自www.cnblogs.com/watchfluture/p/10107687.html
今日推荐