动态截取字符串获取当前网页的URL地址
 
var url = window.location;
                    var urlArr = url.toString().split('/');
                    var ustr = urlArr[4]
if(typeof(ustr) =="undefined")
{
}
else
{
$("#w-down").attr("style","background:url(../../../images/down.png)  center center;)");
                                        $("#w-btn").attr("style","background:url(../../../images/close.png)  no-repeat;) ");
                                        $("#w-top").attr("style","background:url(../../../images/up.png)  no-repeat;)");


}

相关文章:

  • 2021-06-07
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-05-27
相关资源
相似解决方案