Widget:Slides: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
.slideshow .ss_nav { | .slideshow .ss_nav { | ||
width: 100%; | width: 100%; | ||
height: | height: 50px; | ||
} | } | ||
.slideshow .ss_nav span { | .slideshow .ss_nav span { | ||
width: 50%; | |||
width: | |||
height: 50px; | height: 50px; | ||
line-height: 50px; | line-height: 50px; | ||
font-size: 50px; | font-size: 50px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
Line 42: | Line 37: | ||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
width: 100%; | |||
} | } | ||
</style> | </style> | ||
Line 54: | Line 50: | ||
} | } | ||
else if(loop){ | else if(loop){ | ||
current.hide().siblings('.ss_content:last | current.hide().siblings('.ss_content:last').fadeIn(500); | ||
} | } | ||
}); | }); | ||
Line 65: | Line 61: | ||
} | } | ||
else if(loop){ | else if(loop){ | ||
current.hide().siblings('.ss_content:first | current.hide().siblings('.ss_content:first').fadeIn(500); | ||
} | } | ||
}); | }); | ||
$('.ss_contents .ss_content:first | $('.ss_contents .ss_content:first').siblings('.ss_content').hide(); | ||
}); | }); | ||
</script> | </script> | ||
<!--{/if}--><includeonly> | <!--{/if}--><includeonly> |