Hi All I have a content slider, but it only seems to work in FF and not any of the other browsers. I am using Wordpress but its not a plugin
This is what I have:
page.php
Code:
<?php if (is_front_page()) {
include ("homepage-slider.php");
} ?>
homepage-slider.php
Code:
<!-- Inner content DIVs should always carry "contentdiv" CSS class -->
<!-- Pagination DIV should always carry "paginate-SLIDERID" CSS class -->
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
<div class="home-div1">
<div class="home-div-logo"></div>
</div>
</div>
<div class="contentdiv">
<div class="home-div2">
<span></span>
</div>
</div>
<div class="contentdiv">
<div class="home-div3">
<span></span>
</div>
</div>
</div>
<div id="paginate-slider1" class="pagination" style="display:none;">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //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, 4000], //[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>
There are 2 other external files :
contentslider.js
contentslider.css
Click Here to see site.
If someone could help I would really appreciate it, been bugging me big time.
Cheers,
Jay