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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
//点击展开和关闭的样式
function Togle ( obj , id ) {
var mObj = $ ( obj ) ;
var sObj = $ ( "#" + id ) ;
if ( sObj . is ( ":hidden" ) ) {
sObj . slideDown ( "slow" ) ;
mObj . removeClass ( "filtercategoryclose" ) . addClass ( "filtercategory" ) ;
} else {
sObj . slideUp ( "slow" ) ;
mObj . removeClass ( "filtercategory" ) . addClass ( "filtercategoryclose" ) ;
}
}
//点击后X后, 关闭层
$ ( function ( ) {
$ ( ".closeAds" ) . click ( function ( ) {
$ ( ".hotelExpress" ) . hide ( ) ;
} ) ;
} ) ;
//页面上对应的层
$ ( function ( ) {
//table交互效果 by shw
var overTr = $ ( "#hoverTable tr" ) ;
var thisTr = $ ( "#hoverTable tr.hotelInfo" ) ;
var theOne = $ ( "#hoverTable tr.hotelInfo:first" ) ;
thisTr . hide ( ) ;
theOne . show ( ) ;
overTr . mouseover ( function ( ) {
var thisClass = $ ( this ) . attr ( "class" ) ;
if ( thisClass != "hotelInfo" ) {
thisTr . hide ( ) ;
var showTr = $ ( this ) ;
showTr . next ( "tr" ) . show ( ) ;
}
} ) ;
} ) ;