Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hierarchical HTML and deck.menu #27

Closed
flanakin opened this issue Sep 12, 2011 · 5 comments
Closed

Hierarchical HTML and deck.menu #27

flanakin opened this issue Sep 12, 2011 · 5 comments

Comments

@flanakin
Copy link

I can't get deck.menu to work with a hierarchical structure I have. I have a hierarchical structure because I'm trying to maintain semantic meaning to my HTML. Here's what I have...

<article>
    <section>
        <header class="slide">
        <section class="slide">
        <footer class="slide">

I was able to massage deck.js to work with this structure (just tweaking CSS), but deck.menu doesn't want to work, even after tweaking the CSS. Initially, the slides weren't sized at all. After tweaking CSS, I got them to scale down, but not all of them show up (by a long shot) and they don't render in the nice grid structure they should. Any ideas?

@imakewebthings
Copy link
Owner

Hi Michael,

Do you have something up online that I could look at and debug? I don't have any other reports of this that would give me a top of the head answer.

@imakewebthings
Copy link
Owner

@flanakin any update/response to my previous comment?

@imakewebthings
Copy link
Owner

Closing this until I get a response from @flanakin

@flanakin
Copy link
Author

flanakin commented Oct 8, 2011

Sorry for the slow response; just too busy these days :-S

I'm not sure deck.js is right for my project. I'm creating an HTML5 app to train others on HTML5. With that, the file is absolutely huge (3.5k lines). I wanted to make it something anyone can run locally, but think that's getting too complicated, so I'm going to switch to something more dynamic. I'm also taking another look at whether or not a presentation is really the best way to share the info. It works, since I'm doing a presentation, but I think I need a ground-up rethinking of the problem.

With that said, the file I'm working on is here: http://html5today.codeplex.com/SourceControl/changeset/view/81157#1959799

I saw another issue about AJAX loading slides. I think that would solve the complexity behind my slides. I'll post a comment there.

@imakewebthings
Copy link
Owner

That really is a massive slide deck, and I fully support looking into other means of organizing and presenting the information. I'll respond to the AJAX slide loading in that ticket. Back to the original issue here, even if we got the CSS and HTML structure squared away to where deck.menu worked with your structure, the way menu is currently written would probably choke the menu view with this many slides anyway. Menu performance with high slide counts is something I intend to improve with #39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants