سلام!
من یک اسلاید شو ایجکس دارم که روی نیوک و جوملا به خوبی جواب میده ولی وقتی توی یکی از فایل های پوسته WP قرارش میدم هیچ چیزی به اون قسمت اضافه نمیشه!
اینم کدش:
<div class="cleared"></div>
<link rel="stylesheet" type="text/css" href="css/banner.css" /> <script type="text/javascript" src="js/banner.js"></script> <style type="text/css">
.carousel_container {
width: 930px;
height: 120px;
margin: 0px auto;
}
</style>
<div align="center">
<div id="flashPan">
<div id="slider1" class="sliderwrapper"> </div>
<div id="paginate-slider1" class="pagination" style="left: -15px; top: -17px; position: relative; margin: 0px; z-index: 99;"> </div>
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["ajax", "banner.html"], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: [" 1", " 2", " 3", " 4" ], //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 9000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script> </div>
چی کار باید کنم تا درست بشه؟