Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really like this and have added it to my "dive into on the weekend" bucket. The catch phrase got me: "UI composition in pure HTML"... but a bit of my optimism left when I realized that the page wouldn't scroll (there's not even a scrollbar) without JavaScript. But still, it's better than a blank page (and the header had enough info to tempt me to white list it!).

This is just a get-off-my-lawn nitpick/feature request - because I think it looks really interesting, great work!



On the body there is a `overflow: hidden` presumably to fix horizontal overflow. The selector causing this is `[lj-type="stage"]`, so the scrollbar not working without js might be an issue with the library, rather than just the marketing site.


yes, layerJS needs a "Stage" where navigation can happen so the scrollable content will be inside that Stage. In this case the body is the stage and the page is a frame inside it. We are working on something where the stage length adapts to the frame length. Then the body will become as long as the full content and native scrolling would even work if there is no JS


> "UI composition in pure HTML"

If you're looking for this in a standard form, follow the work being done on HTML modules and Declarative Custom Elements:

https://github.com/w3c/webcomponents/blob/gh-pages/proposals...

Together those will mean UI components without any JavaScript, that can depend on and load other UI components, etc.


That probably a good way to follow in future...


Thanks! It's indeed using javascript ;-) It also has some support for "native scrolling" that could help a bit in a non-JS environment. Let me know if you have any feedback after the weekend (:




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: