473,657 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can you break a single HTML file into multiple pages like PEGHELP for Pocket PC does?

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
Jul 20 '05 #1
5 2834
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.
--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #2
Philipp Lenssen wrote:
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")
completely fill its last screen -- pad with <br> if necessary.
Jul 20 '05 #3
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
Jul 20 '05 #4
SA Dev wrote:
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.
Jul 20 '05 #5
Hi Jerry,
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.


Thanks - that is what I needed to know! I supposed I'll have to figure out
how CHM files work.

Have a great day,

SA Dev
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
7493
by: noah | last post by:
Does PHP have a feature to associate Cookie sessions with a persistent database connection that will allow a single transaction across multiple HTTP requests? Here is how I imagine my process: I have an series of interactive HTML forms. The user begins a Cookie session. A database connection is opened and a transaction is begun. After the user goes through any number of pages where they update the database they finish on a page where...
2
7511
by: dsnyder | last post by:
This HTML has a bit of Javascript at the end that puts the initial focus on the userID field. It works great on Windows2000 running IE6, but the initial focus never goes to the userID field on Windows 2003 PocketPC (Windows Mobile) running Pocket IE. <html><head><title>WMS - P280WF100 - Login</title><META HTTP-EQUIV='expires' VALUE='0'> </head> <body> <form name="frmLogon" action='p280wp100' method='get'>
7
1876
by: Pan Am | last post by:
My Web hosting service does not support multiple directories... Can anyone suggest a Unix script that traverses a HTML tree and produces a working "single directory" version of the same? TIA Pan Am
3
2207
by: Carl Johansen | last post by:
I have a big ASP website (used by several thousand car dealers) that is a collection of lots of small and medium-sized applications. Now I want to start adding ASP.NET applications to it. I have read Q307467 (How To Create an ASP.NET Application from Multiple Projects for Team Development) and it seems to work well. I understand that when you create a web project in VS.NET, it creates an IIS application root, and that you can remove this...
0
1483
by: genc ymeri | last post by:
Hi over there, Does the .Net20 framework provide library classes/drivers to convert multiple single tiff files into a single multi-pages file or should I use third party tools ? Genc.
3
5819
by: CD | last post by:
An application is logging faxes sent in SQL2000 image column type. I have found code on the net but what it is doing is prompting to save to local which is fine for single page image. Not good for multiple page faxes. I have not been able to locate an example to load in the browser or how to handle multiple image in the one column. 1) Ideally it would be nice to display back in the browser since some may be multiple images. I am not...
1
1870
by: LiveCycle | last post by:
Hi, I'm putting together a project that uses ASP.NET in VS2005. It uses a single master page that is responsible for most of the heavy lifting. About 90% of the 200 pages have the same code-behind, so I implemented all of these pages so they would reference the same code-behind cs file, as follows: <%@ Page Language="C#" MasterPageFile="~/MyMaster.master" AutoEventWireup="true" CodeFile="~/Template.aspx.cs" Inherits="Template"...
35
9335
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from 500000 to 3200000 of a file whose size is say 20MB... how do i request a download which starts directly at 500000th byte... thank u cheers
1
1675
by: raul15791 | last post by:
Hi, I'm newbie in ASP. I am trying to view multiple pages by using a single file. For example, I have a few pages of product.asp (products.asp, products1.asp and so on). Now I want to create a single single (products.asp) but can view multiple pages. Try to search through google but not even sure what to search for.
0
8403
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8316
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8737
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8509
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8610
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.