JQ 修改样式

     //获取当前的url
     var url=document.location.href;
     var url_cn='http://www.macau-airport.com/cn/our-business/for-rental/mia-tender-notice';
     var url_mo='http://www.macau-airport.com/mo/our-business/for-rental/mia-tender-notice';
     var url_en='http://www.macau-airport.com/en/our-business/for-rental/mia-tender-notice';
     var url_ko='http://www.macau-airport.com/ko/our-business/for-rental/mia-tender-notice';
     var url_ja='http://www.macau-airport.com/ja/our-business/for-rental/mia-tender-notice';
     var url_pt='http://www.macau-airport.com/pt/our-business/for-rental/mia-tender-notice';
     if(url==url_cn||url==url_mo||url==url_en||url==url_ko||url==url_ja||url==url_pt){
var obj = jQuery(".views-field-title a").css({"line-height":"14px"});
}

 

posted @ 2015-01-26 11:14  麦田守望者~  阅读(544)  评论(0编辑  收藏  举报