There are various types of code in javascript which would be effective for slidshow on the website.