Using JQuery, what is the best way to slide in 3 different pieces of html content? There would also need to be a way to go “back” or show the other pieces of content that have been hidden if the user so desired.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Basically you want a “carousel”. You can use a
ULwith theoverflowproperty set tohidden; each slide would go into aLI, and you can “slide” them by animating themargin-leftproperty.If you’re too lazy to implement that, you can steal or check out the code of one of the zillions of freely available carousel implementations out there, just ask google.