Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/84.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
Jquery 从Advanced News Ticker中删除右边框_Jquery_Html_Css - Fatal编程技术网

Jquery 从Advanced News Ticker中删除右边框

Jquery 从Advanced News Ticker中删除右边框,jquery,html,css,Jquery,Html,Css,我已经在我的网站上安装并定制了JQuery高级新闻代码。有一个问题,一个右边界,我没能让它消失。这里是网站(它仍然需要很多工作),所以你可以看到我在说什么 它就在宣传横幅的下方 这是.js文件 $(document).ready(function() { //Quotes rotator var divs = $('.cbp-qtcontent'); function fade() {

我已经在我的网站上安装并定制了JQuery高级新闻代码。有一个问题,一个右边界,我没能让它消失。这里是网站(它仍然需要很多工作),所以你可以看到我在说什么

它就在宣传横幅的下方

这是.js文件

        $(document).ready(function() {
            //Quotes rotator
            var divs = $('.cbp-qtcontent');

            function fade() {
                var current = $('.current');
                var currentIndex = divs.index(current),
                    nextIndex = currentIndex + 1;

                if (nextIndex >= divs.length) {
                    nextIndex = 0;
                }

                var next = divs.eq(nextIndex);

                next.stop().fadeIn(1500, function() {
                    $(this).addClass('current');
                });

                current.stop().fadeOut(1500, function() {
                    $(this).removeClass('current');
                    _startProgress()
                    setTimeout(fade, 8000);
                });
            }

            function _startProgress(){
                $(".cbp-qtprogress").removeAttr('style');
                $(".cbp-qtprogress").animate({
                    width:"800px",
                } , 8000);
            }

            _startProgress()
            setTimeout(fade, 8000);
        });
    </script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-36251023-1']);
  _gaq.push(['_setDomainName', 'jqueryscript.net']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
你还需要什么帮助我吗


我感谢StackFlow的每一个人。你会对这个迟钝的老脑袋有很大帮助的

您需要添加CSS:

#cbp-qtrotator > div.cbp-qtcontent.current > blockquote{
     border-right: none;
}
这将删除当前在
base.css中设置的边框,因此:

blockquote {
 margin: 0 0 0px; 
 padding: 0; 
 border-right: 1px solid #796172; 
}

边框存在于blockquote标记中

您可以通过更改标记内联上的blockquote css或向css添加一行来删除此项

内联

<blockquote style="border:0px;"> ... </blockquote>


将来,若要查找代码中的这些或更多问题,请在浏览器[F12]中使用“代码检查器”,在右侧栏中,您将能够看到应用于所选元素的所有CSS。

再次感谢SW4!把股票代码中的不透明部分去掉怎么样?还是我需要为这个问题再问一个问题?非常感谢你的提示,迪恩!任何时候自由威利先生!
<blockquote style="border:0px;"> ... </blockquote>
blockquote{
    border:0px;
}