我们的网站:https://www.anticancerclub.com/
我在页面中间使用了一些Google API RSS Feed代码(标题是“What's New”,“Food for Thought”,“Tell Your Story”)。我还在主页上的内容区域的左上角有一个幻灯片(s3slider)。这些都没有在所有浏览器中显示。
当我使用Firefox(第22页)访问该页面时,我可以看到它们。但是当我进入IE(第10版),Chrome(第28版)或Safari(第5.1.7版)中的页面时,它们不会出现。
这是因为该网站使用的是SSL(https://),幻灯片和RSS订阅源不安全吗?具有讽刺意味的是,这是Google API,但在Chrome中无效。
以下是RSS Feed的代码:
<script type="text/javascript">
google.load("feeds", "1");
function OnLoad() {
// Create a feed control
var feedControl = new google.feeds.FeedControl();
// Add three feeds.
feedControl.addFeed("http://accnutritionalbootcamp.com/accblog/?feed=rss2", "What's New");
feedControl.addFeed("http://www.accnutritionalbootcamp.com/?feed=rss2", "Food For Thought");
feedControl.addFeed("http://www.accnutritionalbootcamp.com/mystory/?feed=rss2", "Tell Your Story");
// Draw it.
feedControl.draw(document.getElementById("my_feed")); // Sends info to <div id="#my_feed"></div> on homepage.
}
google.setOnLoadCallback(OnLoad);
</script>
以下是幻灯片的代码:
<!-- IMAGE SLIDER JavaScripts-->
<script type="text/javascript" src="http://s3slider-original.googlecode.com/svn/trunk/s3Slider.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#s3slider').s3Slider({
timeOut: 4000
});
});
</script>
<!-- END IMAGE SLIDER JavaScripts-->
<!-- IMAGE SLIDER HTML -->
<td colspan="2" width="300" height="215">
<div id="s3slider">
<ul id="s3sliderContent">
<li class="s3sliderImage">
<a href="http://www.anticancerclub.com/SearchResults.asp?Cat=1969" title="Nutrition"> <img src="http://rquox.pzldq.servertrust.com/v/vspfiles/photos/slider/slide1.jpg"></a>
<span> <a href="http://www.anticancerclub.com/SearchResults.asp?Cat=1969" title="Nutrition" style="color:#ffffff !important;">Nutrition</a></span>
</li>
<li class="s3sliderImage">
<img src="http://rquox.pzldq.servertrust.com/v/vspfiles/photos/slider/slide2.jpg">
<span>Exercise</span>
</li>
<li class="s3sliderImage">
<a href="http://www.anticancerclub.com/SearchResults.asp?Cat=1919" title="Stress Management"> <img src="http://rquox.pzldq.servertrust.com/v/vspfiles/photos/slider/slide3.jpg"></a>
<span> <a href="http://www.anticancerclub.com/SearchResults.asp?Cat=1919" title="Stress Management" style="color:#ffffff !important;">Stress Management</a></span>
</li>
<li class="s3sliderImage">
<a href="http://www.anticancerclub.com/SearchResults.asp?Cat=1989" title="Connection"> <img src="http://rquox.pzldq.servertrust.com/v/vspfiles/photos/slider/slide4.jpg"></a>
<span> <a href="http://www.anticancerclub.com/SearchResults.asp?Cat=1989" title="Connection" style="color:#ffffff !important;">Connection</a></span>
</li>
<div class="clear s3sliderImage"></div>
</ul>
</div>
</td>
<!-- END IMAGE SLIDER -->
对此事的任何帮助将不胜感激。谢谢!