You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.4 KiB
JavaScript
37 lines
1.4 KiB
JavaScript
6 years ago
|
// show more value guarantee info
|
||
|
$(function(){
|
||
|
|
||
|
var uuseridwinPIE= $(".moreInfo"),TSuuseridwin;
|
||
|
// $(".valueGuarantee").css("cursor", "pointer")
|
||
|
uuseridwinPIE.prev().hover(function(){
|
||
|
|
||
|
var te = $(this), ps = te.position(), tp = (te.height()+ 5 + ps.top) + "px", tl = ps.left + "px";//te.height()* 2
|
||
|
te.next().css({
|
||
|
position: "absolute",
|
||
|
top: tp,
|
||
|
left: tl,
|
||
|
display: "block",
|
||
|
"background-color": "#FFF",
|
||
|
"z-index":1000
|
||
|
});
|
||
|
},function(){TSuuseridwin= setTimeout("$('.moreInfo').hide()" ,300)});
|
||
|
|
||
|
uuseridwinPIE.hover(function(){if(TSuuseridwin)clearTimeout(TSuuseridwin);$(this).show();},function(){$(this).hide();});//
|
||
|
});
|
||
|
|
||
|
// check question form submit
|
||
|
$(function(){
|
||
|
$("#send-button1").click(function(){
|
||
|
var emailI = RegCkElement("yemail","Please fill in a valid email address! Eg: service@chinahighlights.com","/^([a-zA-Z0-9_-_\.])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/","","",false);
|
||
|
var realnameI = StrIsNullOrEmpty("realname","Please fill in your full name.","","",false);
|
||
|
var AquestionI = StrIsNullOrEmpty("Aquestion","Please fill in your Question.","","",false);
|
||
|
if(emailI&&realnameI&&AquestionI)
|
||
|
$("#formquestion1").submit();
|
||
|
});
|
||
|
//保存提交地址
|
||
|
$("#Q_URL").val(location.href);
|
||
|
});
|
||
|
|
||
|
TrunMenu("tourtype","active","li","tourdetailinfo");
|
||
|
|