paulrouget / dzslides

DZSlides is a one-file HTML template to build slides in HTML5 and CSS3.
http://paulrouget.com/dzslides
939 stars 255 forks source link

show the controls only on :hover #78

Closed paulrouget closed 9 years ago

Hywan commented 12 years ago

Nice idea even if it's not always useful. Isn't it too specific?

hsablonniere commented 12 years ago

Meh, could you detail a use case Paul?

paulrouget commented 12 years ago

No use case. The controls look too intrusive I guess. … don't know. I am thinking about the video players.

hsablonniere commented 12 years ago

Humm, I see what you mean but I'm not really convinced. Most of the slidesharing website embed with static controls. I'm not saying we should do the same because they do but because it feels natural to me.

If we put them only on :hover we need a way to inform readers/visitors that it's interactive and not an image. Maybe we could hide them after the first hover... Just thinking out loud...

Here's a little compilation : http://jsbin.com/ozevem

Hywan commented 12 years ago

Maybe it is useful in fullscreen? And of course, in fullscreen, we have to hover the slides everytime (except with multiple screens) but why not hidden controls after a certain time where the mouse has not been moved?

paulrouget commented 12 years ago

@hsablonniere I understand what you're saying, and I agree. Let me think about a better design.

hsablonniere commented 12 years ago

I just read an article containing an embedded youtube video. I think if you really want that hover stuff, we should go in that direction :

Once the button is being clicked, it could be the time to display briefly the left and right keyboard shortcuts...

sleahcim commented 11 years ago

One problem with hover in our increasingly mobile world is that hover is a usability issue for mobile devices.