frontpage 2003 show/hide regions of the page

E

Erica

hi! i have a small book i'm writing in fp2003. it is very small. each
chapter has about 10 pages (printed) and at the top of each page is a
hyperlink to about 10 bookmarks that makes each chapter break into about 10
sections (one printed page each).

my question is: is there a way to get fp2003 to hide the remaining page when
you hyperlink to one of the bookmarks (so you only see 'one page' at a time)
rather than seeing the scroll bar for all 10 pages worth of content?

or do i need to break each section into its own html page to accomplish that
and have the hyperlinks point to a separate 'one page' html file?

thx!
 
M

Murray

my question is: is there a way to get fp2003 to hide the remaining page
when you hyperlink to one of the bookmarks (so you only see 'one page' at
a time) rather than seeing the scroll bar for all 10 pages worth of
content?

There would be, but I can't see any real advantage to doing it. The page
would still behave as if it contained all of the content.

Anyhow, there is a CSS style -

display:none

that will effectively remove content from the visible, rendered page. So,
you could have a custom javascript applied to each bookmark that simply
switches class on all of the section's containers from one that specifies
display:block, to one that specifies display:none, except for the one you
want to show, which would be switched from display:none to display:block.

Of course, this would require either a custom javascript function, or some
direct manipulation of the DOM via javascript.
 
E

Erica

thanks.... i'm prepared to have the custom java script written....
unles...
is there another approach or method that is more user-friendly (w/o
customization) or is breaking into separate html docs the smoothest way to
go on this?

thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top