|
Posted by SA Dev on July 27, 2004, 1:49 pm
Please log in for more thread options
Hi,
I just finished writing something to make a help file for a Pocket PC
device. The Pocket PC device allows not really showing the .HTM file as a
long single file, but instead uses a tag to suppress the file to only
display one topic at a time. It then uses bookmarks to jump around the
file. I realize that this could be done with multiple HTML files, but I was
hoping there was some way to do it in a single file somehow. Does anyone
have any ideas or an example? Maybe I need to look into the MS CHM file
format. Any ideas?
Thanks,
SA Dev
|
|
Posted by Philipp Lenssen on July 28, 2004, 8:32 am
Please log in for more thread options
SA Dev wrote:
show/hide quoted text
>
> I just finished writing something to make a help file for a Pocket PC
> device. The Pocket PC device allows not really showing the .HTM file
> as a long single file, but instead uses a tag to suppress the file to
> only display one topic at a time. It then uses bookmarks to jump
> around the file. I realize that this could be done with multiple
> HTML files, but I was hoping there was some way to do it in a single
> file somehow. Does anyone have any ideas or an example? Maybe I
> need to look into the MS CHM file format. Any ideas?
>
I suppose you could store the file in your-XML, or XHTML, and use XPath
conversion or XSLT to write different HTML files to disk. You could use
PHP5, or ASP, or something like that. I wonder why the Pocket PC device
is not smart enough to split the files up itself. After all no one says
a single HTML file must be displayed in a single chunk, I believe the
browser may take the freedom to format according to the medium
restrictions -- not necessarily something the author of the web-page
should do.
--
Google Blogoscoped
http://blog.outer-court.com
|
|
Posted by jerry gitomer on July 28, 2004, 10:57 am
Please log in for more thread options Philipp Lenssen wrote:
show/hide quoted text
> SA Dev wrote:
>
>
>>I just finished writing something to make a help file for a Pocket PC
>>device. The Pocket PC device allows not really showing the .HTM file
>>as a long single file, but instead uses a tag to suppress the file to
>>only display one topic at a time. It then uses bookmarks to jump
>>around the file. I realize that this could be done with multiple
>>HTML files, but I was hoping there was some way to do it in a single
>>file somehow. Does anyone have any ideas or an example? Maybe I
>>need to look into the MS CHM file format. Any ideas?
>>
>
>
> I suppose you could store the file in your-XML, or XHTML, and use XPath
> conversion or XSLT to write different HTML files to disk. You could use
> PHP5, or ASP, or something like that. I wonder why the Pocket PC device
> is not smart enough to split the files up itself. After all no one says
> a single HTML file must be displayed in a single chunk, I believe the
> browser may take the freedom to format according to the medium
> restrictions -- not necessarily something the author of the web-page
> should do.
>
>
Well, you could build a single file and use embedded links for
navigation. Put a table of contents at the top of the file and
make each topic (including the closing "Return to Top")
show/hide quoted text
completely fill its last screen -- pad with <br> if necessary.
|
|
Posted by SA Dev on July 28, 2004, 10:53 am
Please log in for more thread options Hi Jerry,
show/hide quoted text
> Well, you could build a single file and use embedded links for
> navigation. Put a table of contents at the top of the file and
> make each topic (including the closing "Return to Top")
> completely fill its last screen -- pad with <br> if necessary.
But how can I make the current topic the only thing listed in the window, so
that if you are on a specific topic, you can't scroll up or down past the
topic you are on?
Thanks,
SA Dev
|
|
Posted by jerry gitomer on July 29, 2004, 5:49 pm
Please log in for more thread options SA Dev wrote:
show/hide quoted text
> Hi Jerry,
>
>
>>Well, you could build a single file and use embedded links for
>>navigation. Put a table of contents at the top of the file and
>>make each topic (including the closing "Return to Top")
>>completely fill its last screen -- pad with <br> if necessary.
>
>
> But how can I make the current topic the only thing listed in the window, so
> that if you are on a specific topic, you can't scroll up or down past the
> topic you are on?
>
> Thanks,
>
> SA Dev
>
>
Ooops,
Sorry I missed that requirement in your original post -- You can't.
I think you are going to have to make a choice between one HTML
file per topic and the large number of files that will result in
not being able to stop the user from scrolling to a next or
prior page.
|
| Similar Threads | Posted | | Validating HTML in multiple pages | December 18, 2005, 7:02 pm |
| Can I send multiple html pages to print one at a time | October 10, 2006, 8:47 pm |
| Single file web page | October 17, 2006, 5:07 am |
| Single loading .swf file - code or frame? | July 26, 2007, 10:26 am |
| Looking for example to open multiple pages on same action | January 11, 2008, 4:16 pm |
| automatically create multiple web pages | April 23, 2008, 12:48 pm |
| How to concatenate multiple web pages into one and show ONLY this ONE in browser ?? | February 22, 2006, 5:08 pm |
| multiple instances of a CSS link due to server-side file inclusion and tools requirements | November 18, 2008, 12:03 am |
| Standards Compliant Website - And Pocket PC IE | June 29, 2005, 9:25 am |
| Script for migrating HTML tree into a single directory ? | September 23, 2005, 10:41 am |
|
> I just finished writing something to make a help file for a Pocket PC
> device. The Pocket PC device allows not really showing the .HTM file
> as a long single file, but instead uses a tag to suppress the file to
> only display one topic at a time. It then uses bookmarks to jump
> around the file. I realize that this could be done with multiple
> HTML files, but I was hoping there was some way to do it in a single
> file somehow. Does anyone have any ideas or an example? Maybe I
> need to look into the MS CHM file format. Any ideas?
>