如何在主页滑块的 jquery 脚本中显示
How to display in a jquery script in a main page slider?
最近我尝试制作一个脚本,从我的Facebook墙上获取新闻并发布在我的网站上。经过一些研究和一些编辑,结果是:示例
现在,我想把这个脚本放在这个页面的中间滑块
连接正常(js/css/script),但没有出现。
这是滑块部分的顺序:(在滑块中还显示数据库中手动引入的新闻。
<div id="middle_article">
<div class="jcarousel-prev-vertical" style="left:63px;"></div>
<div class="jcarousel-next-vertical" style="left:63px;"></div>
<ul id="stiri" class="jcarousel jcarousel-skin-tango">
<?php
$result_other_news = mysql_query("SELECT * FROM `stiri` WHERE `status` = '1' AND `lang` = 'ro' ORDER BY `data` DESC LIMIT 1,10");
while($row_other_news = mysql_fetch_array($result_other_news)){
$link_stire = 'http://www.aepado.ro/stiri/'.friendly_url($row_other_news['titlu']).'-'.$row_other_news['id'].'.html';
?>
<li>
<a href="<?php echo $link_stire; ?>"><?php echo substr($row_other_news['titlu'], 0, 75); ?></a>
</li>
<?php } ?>
</ul>
</div>
我的索引页的头部部分(与我的问题对应):
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="http://aepado.ro/css/jquery.neosmart.fb.wall.css" rel="stylesheet" type="text/css"/>
<script src="http://aepado.ro/js/jquery-1.6.1.min.js" type="text/javascript"></script>
<script src="http://aepado.ro/js/jquery.neosmart.fb.wall.js" type="text/javascript"> </script>
<script type="text/javascript">
function(){
$('#example1').fbWall({ id:'***',accessToken:'***'});
});
</script>
并且,这是显示脚本的顺序:
<div id="example1"></div>
最后,我会提前感谢您,如果您需要更多信息,我将很高兴地为您提供。
此致敬意科斯明
你初始化了jcarousel吗?
$(function(){
('#mycarousel').jcarousel();
});
相关文章:
- JQuery添加元素需要在我的js之前再次添加JQuery脚本
- 导入jQuery脚本获胜'我不处理html文件
- 用于发现哪个JS/jQuery脚本正在冻结页面的工具或技术
- JQuery脚本在IE中不起作用
- 自定义jQuery脚本无法在Wordpress上运行
- jQuery脚本在googlechrome中不起作用
- 重新启动jquery脚本后,角度停止工作
- 一个简单的粘性头jQuery脚本的问题
- 如何让C#代码在页面加载时运行的jquery脚本之后运行
- 为什么我用于检查所需输入字段的jQuery脚本如此缓慢
- MVC5更改jquery脚本中的图像src
- Jquery脚本未在运行时加载编辑:意外的令牌
- 用于wooccommerce的简单JQuery脚本不起作用
- JQuery脚本没有'Don’我不能工作两次
- 在jQuery脚本中放置15秒的延迟
- jquery脚本只能在一个方向上正常工作
- 注入的元素和jQuery脚本.如何让他们一起工作
- 如果视图中没有Jquery脚本引用,Unobtrusive Javascript Validation是不起作用的
- 让两个 jquery 脚本像它们应该的那样协同工作
- 如何在 Django Form 中使用 Jquery 脚本的值