Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Link in Pop-up Index Nav loads in frame instead of actual book file #347

Closed
nerveband opened this issue Mar 12, 2012 · 3 comments
Closed
Assignees
Labels
Milestone

Comments

@nerveband
Copy link

Hello,

Background: I found a bug with the index nav. First, a little background on my magazine structure. I have setup my articles organized in a folder, rather than sitting at the top level directory. My cover file remains in the top level directory as "cover.html" (lowercase c). The remaining articles are placed in a dossiers folder, followed by a unique folder name, and finally, the subsequent article file and other resources. (i.e. dossiers/00_index/index.html).

Now, when I craft my link to the article in the navigation "index.html", I link it like I normally do, straight to the dossiers/00_index/index.html for example. However, when you click on the link on the iPad, it doesn't scroll to the article but rather loads the file WITHIN the nav frame.

Workaround: I renamed my file within the folder to dossier.html (i.e. dossiers/00_index/dossier.html). This can be named as anything other than index.html. This scrolls as intended functionality to the article.

@ghost ghost assigned Simbul Mar 12, 2012
@Simbul
Copy link
Owner

Simbul commented Mar 12, 2012

Thanks for reporting this. I managed to reproduce it: it is indeed the case that, at the moment, index.html is a reserved filename regardless of where it sits in the folder hierarchy.

We will be fixing this eventually, but given the easy workaround you provided it's not top priority at the moment :)

@Simbul
Copy link
Owner

Simbul commented Mar 13, 2012

And by the way, looking at this bug gave me an idea to solve issue #335. So thanks for the serendipitous moment ;)

@nerveband
Copy link
Author

Woohoo! Glad to help!

@Simbul Simbul closed this as completed in f4ff50d Mar 26, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants