4 ms·
Perhaps I'm an idiot, but it wasn't immediately clear to me that the examples were actually examples. They looked like images. I only discovered that they were
by 23andwalnut 11y ago
Perhaps I'm an idiot, but it wasn't immediately clear to me that the examples were actually examples. They looked like images. I only discovered that they were interactive after I got frustrated that I couldn't find the 'examples' section. Here's the page I'm referring to: http://fezvrasta.github.io/popper.js/ http://fezvrasta.github.io/popper.js/
Anway, looks like a great project :)
- FezVrasta 11y agoOh... Any idea to make them look more like examples?
- chipperyman573 11y agoIn my opinion the only one that wasn't immediately obviously an example was the scroll one, due to the lack of scrollbars (I thought "scroll" was referring to the page and was confused about why it wasn't moving when I scrolled the page).
- FezVrasta 11y agoStupid mac scrollbars :P I'll do something to increase the visibility of the examples then. Thanks again!
- alanh 11y agoI think there is CSS that can make your scrollbars actually visible
- riccardoforina 11y ago::-webkit-scrollbar { width: 1em; }
- FezVrasta 11y agoIt just reserve space for the scrollbar but doesn't make them appear
- Drdrdrq 11y agodiv.mydiv { overflow-y: scroll; }
- developer2 11y agoI wouldn't recommend the CSS route as you'd be working against a core OS feature. On OS X: System Prefs > General > Show scroll bars > "Automatically based on mouse or trackpad"; "When scrolling"; "Always". It's possible via something like [1], but the problem is you are hardcoding colors for a specific OS version. The example given in the link is a much darker scrollbar than is present in Yosemite. I'd just go the route of labeling the example more explicitly. By the way, nice job on the site. Very snazzy, and you didn't make the mistake a lot of people make which is to hijack the native scrolling. [1] http://stackoverflow.com/a/10100209/2609094 http://stackoverflow.com/a/10100209/2609094
- timlyo 11y agoMake a button that says "click me" that displays the first one. Then people know what they're looking for and have their attention drawn to it.
- FezVrasta 11y agoGood idea, thanks!