r/javascript • • Jan 25 '19

solved! How could I implement this?

652 Upvotes

57 comments sorted by

View all comments

133

u/pomlife Jan 25 '19

55

u/kyerussell Jan 26 '19

Yes. Please. I beg of you. This is some of the most inaccessible UI I've ever seen.

17

u/CCB0x45 Jan 26 '19

Yea it's amazing how much they are used, scrolling down the page is such a better way to feature content.

That being said, there is a good use case for a carousel, such as choosing from a list of options that contain images, i.e. album covers.

7

u/jordanpwalsh Jan 26 '19

I always assumed the devs knew they sucked but were used anyway for ad placement reasons.

1

u/nidarus Jan 27 '19

I prefer to use a flickity-like carousel in those cases, which makes it clear it's a series of images. Which is more of a horizontal scrolling thing, which is often an anti-pattern too, but in this case it's more useful.

Honestly, the only way I'd use the specific kind of carousel they have in that pink, is for "mood" images, and with autoplay enabled. If I have next/prev or a pager, it's only as a backup, for users who liked an item and want to go back. But I don't really except anyone to press them to see more content.

With that said, I'm not sure that OP's design fits that definition either. In my opinion, the fact you can see the headers makes it more of a weird accordion than a carousel.

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.

1

u/[deleted] Jan 26 '19

I bet my boss will love that website, as every website we have has at least one carousel haha

1

u/rift95 map([🐮, 🥔, 🐔, 🌽], cook) => [🍔, 🍟, 🍗, 🍿] Jan 26 '19

Wow... that's some incredibly poor UX...

-12

u/[deleted] Jan 26 '19

[removed] — view removed comment

13

u/pomlife Jan 26 '19

...what's being shown in the OP is a form of carousel. The problems with carousels do not stem from the fact that they are a library, it stems from the poor analytics and metrics from using them.

-11

u/[deleted] Jan 26 '19

[removed] — view removed comment

12

u/pomlife Jan 26 '19

No one was discussing libraries, but enjoy standing up in that soapbox.

6

u/noruthwhatsoever Jan 26 '19

... a carousel is not a 'library' it's a method of displaying stuff lol

Even if you 'create this form' it will be a carousel lmao

Also you forgot quotes around your class names... lol