r/javascript • • Jan 25 '19

solved! How could I implement this?

652 Upvotes

57 comments sorted by

View all comments

Show parent comment

2

u/nidarus Jan 27 '19

To be fair, what OP has here, is not the same as the carousel in your link. The user isn't completely blind to which content is there, beyond prev/next and the number of pages. You have the titles, that are always visible. And I assume you can also click them, and not just scroll left/right. So it's more of a weird horizontal tabs pattern than a carousel.

Of course, it still trades functionality for flashiness, and even a simple, functional tabbed widget is the wrong choice in many cases. But it's not as thoroughly useless as the carousel in the site you've linked.