-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Nested slides auto-advance issues #273
Comments
Not sure what's happening there, there are only two ways to trigger the auto-advance mode. Do either of the following apply to your presentation?
|
Thanks a lot for the answer. I have not made either of the changes that you have suggested. However, in doing some further checking, I've narrowed the problem to something else. I was adding some attributes to the Adding these IDs seemed to work fine with the earlier version of Reveal that I was using, but now they are causing the auto advance issue. Any nested slides that have an ID automatically advance, and any slides without an ID function as normal. I'm still not sure why the behavior has changed, but if it is intentional, I'll just stop adding the IDs. Thanks again for your help. |
ID's should not make slides auto-advance so if they are, that's a bug. I'm On Sunday, December 30, 2012, unnamedcrewman wrote:
|
Thanks for the follow-up. I've refined my testing once again, and I have isolated the problem further. On a clean instance of Reveal, I modified the nested slide sample section of
The "auto-advance" issue only occurs for nested slides, when both modifications are present. I have no problems when:
Problem Code
|
Thanks for looking into it further. The issue has been fixed. Sections with ID's are added to the URL as "named links", but internally those names are still converted to numerical indices. That conversion process got offset by one vertically since there was an extra element in the stacks .children list (the h1). That's what lead to the automated auto-advance. |
I sure appreciate the support on this, the fix seems to work for me. I realize mine is probably an edge case, but I had a system going and hated to leave it behind. |
I'm having an issue with the new version of
reveal.js
and nested vertical slides. Using version 1 from some time in September, I was using the following code for nested slides:I tweaked the css a bit so everything fit just right, but what resulted was that the "Topic Title" appeared on every page as a kind of stationary header, and the nested slides would roll in vertically upon the normal up/down key presses. Advancing to the right would move on to a new topic title.
For some reason, with version 2, I get pretty much the same behavior, except that all of the nested slides immediately start to advance automatically and can't be stopped. In other words, as soon as I advance to a particular "Topic Title", the vertically nested slides underneath begin to auto-advance in a kind of slideshow mode.
I've found that as soon as I remove the
<h1>Topic Title</h1>
line, everything goes back to normal, and the nested slides work as expected. I've also noticed that if I replace the<h1>Topic Title</h1>
line with text that has no html tags, the nested slides work as expected also. I've tried lines withtags, and
tags, and as soon as there is html, the auto-advance issue starts again.I'm ok with HTML and CSS (barely), but my JS chops are worse than weak. Could someone give me an idea about where to look in the code to see why a line with HTML such as
<h1>Topic Title</h1>
is causing the auto-advance issue?The text was updated successfully, but these errors were encountered: