Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var str = navigator.appVersion,(lấy thông tin version browser hiện tại)
- patt = new RegExp("MSIE 8.0"); (gán patt = versin IE8)
- if(patt.test(str)){ (check nếu chuỗi str có chuỗi "MSIE8" thì sẽ thực hiện lệnh bên dưới)
- $(".rh_main_menu ul li").css("line-height","22px");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement