Jump to content

Javascript code integration


Recommended Posts

i need to add some codes to my homepage , thus i ll be able to show " product of the week" , it will be a slider . you can view an example here , http://www.ajankamera.com/ , when you wait , you can view 3 product in the slider .
now, i dont know how to do this ?
you can have a look to the codes below , and there are also 2 js files , if you need , i can send .

Please somebody tell me how to do this ?

[removed][removed]
[removed][removed]




[removed]
window.addEvents({
'load': function(){
/* banner rotator example */
new SlideItMoo({overallContainer: 'SlideItMoo_banners_outer',
elementScrolled: 'SlideItMoo_banners_inner',
thumbsContainer: 'SlideItMoo_banners_items',
itemsVisible:1,
itemsSelector: '.banner',
showControls:0,
autoSlide: 3000,
transition: Fx.Transitions.Bounce.easeOut,
duration: 1800,
direction:-1});
}
});

[removed]


<style>
#SlideItMoo_banners_outer {
display:block;
position:relative;
width:600px;
height:140px;
margin:0px auto 0px;
}
#SlideItMoo_banners_inner {
position:relative ;
overflow:hidden ;
width:600px ;
height:134px ;
margin:0px auto 0px;
}
#SlideItMoo_banners_items {
white-space:nowrap;
display:block;
position:relative;
}
#SlideItMoo_banners_items a img {
border:none;
}
</style>

Link to comment
Share on other sites

×
×
  • Create New...