Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/79.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 如何更改标题/视图的颜色_Javascript_Jquery_Html_Youtube Api - Fatal编程技术网

Javascript 如何更改标题/视图的颜色

Javascript 如何更改标题/视图的颜色,javascript,jquery,html,youtube-api,Javascript,Jquery,Html,Youtube Api,有没有办法在这个youtube api提要中将标题和视图的颜色从蓝色和黑色更改为白色?可以找到工作地点 link rel=“stylesheet”type=“text/css”href=“files/style6.css”> $(文档).ready(函数(){ $(“#主块”)。追加(“”); var dataContainer=$(“#data ul”); $.ajax({ 网址:'http://gdata.youtube.com/feeds/api/users/googledeveloper

有没有办法在这个youtube api提要中将标题和视图的颜色从蓝色和黑色更改为白色?可以找到工作地点

link rel=“stylesheet”type=“text/css”href=“files/style6.css”>
$(文档).ready(函数(){
$(“#主块”)。追加(“
    ”); var dataContainer=$(“#data ul”); $.ajax({ 网址:'http://gdata.youtube.com/feeds/api/users/googledevelopers/uploads?max-结果=50&time=today&alt=jsonc&v=2&callback=?', 数据类型:“jsonp”, 超时:5000, 成功:功能(数据){ $。每个(data.data.items, 函数(i,val){ if(typeof(val.player)!='undefined'&&typeof(val.title)!='undefined'){ dataContainer.append(“

    Views”+val.viewCount+”; } }); } }); });
    如果我没有误解您的问题,请将其放入样式表文件中

    #data div.d a{
        color: white;
        text-decoration: none;
    }
    
    #data div.d {
        color: white;
    }
    
    #data div.d a{
        color: white;
        text-decoration: none;
    }
    
    #data div.d {
        color: white;
    }