-
Contentslider issue
Hi! I'm trying to implement the Contentslidermodule in a website but its looks like i'm not doing it proper. I already install the module, and create something like:
content slider begin
text (with css class slideElem)
text (with css class slideElem)
content slider end
you can see it here ( http://www.abogadosmmb.eu/index.php/el-bufete.html )
for the content slider config i choose to show 1 Elements per row, because i want to see one text first and then the other when i press the foreward button.
But, when i see how this its show on my front, its show both of the text contents and the buttons back and foreward do not have any functionality
What im doing wrong? i'm missing some javascript reference? i have the mootools implemented already and its looks ok.
cheers.
-
Re: Contentslider issue
Hi fernabel,
guess you need some additional css definitions.
I add here some of mine:
for slideWrapper you need to set width and height to same sizes you have done for the content element sliderWrapperStart.
Code:
#slideWrapper {
height:400px;
overflow:hidden;
width:960px;
}
#innerSlideWrapper {
width:960px;
}
#innerSlideWrapper div.slideElem {
float:left;
height:400px;
width:960px;
}
#goForward {
cursor:pointer;
margin:-220px 0 0;
}
#goBack {
cursor:pointer;
margin:-220px 0 0;
}
So try these value and play a bit to get your content sliding.
-
Re: Contentslider issue
Thanks planepix for your tip! i set the css, and its was looking good, but still get the same error. then I realized that in the js of csStart.tpl ther is an extra ")" i change the line 70 from " }); " to "}" and now its working :D
Cheers!
-
Re: Contentslider issue
ha! and something that i totally forget! i change the
window.addEvent("domready", function() {
of line 33 for window.onload = function() {
because i was getting errors.
Somebody know why these happend?