Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/403.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Wordpress主题中古怪的JS代码_Javascript_Css - Fatal编程技术网

Javascript Wordpress主题中古怪的JS代码

Javascript Wordpress主题中古怪的JS代码,javascript,css,Javascript,Css,在该站点上,一个奇怪的JS脚本正在将.header4高度设置为57px。为了我的生命,我找不到导致这一切的文件;我想把它去掉。这可能很容易解决,但我没有直截了当地思考。关于如何解决这个问题,你有什么想法吗?索引页面内联了JS 第400行: var headheight = (jQuery(".logo").outerHeight()); 第405行: jQuery(".header4").height(headheight)

在该站点上,一个奇怪的JS脚本正在将.header4高度设置为57px。为了我的生命,我找不到导致这一切的文件;我想把它去掉。这可能很容易解决,但我没有直截了当地思考。关于如何解决这个问题,你有什么想法吗?

索引页面内联了JS

第400行:

var headheight = (jQuery(".logo").outerHeight());
第405行:

jQuery(".header4").height(headheight)