Insert Table of Contents Based on Bookmarks!

W

Webmaster-GOC

Hello. In developing a new page, we have inserted multiple bookmarks and
heading styles, throughout our HTML documents. Is there a way to get
FrontPage to insert an HTML Table of Contents, based on bookmarks, complete
with links to the bookmarks. This would save us a tremendous amount of time.

MS Word has the very utility we require but it does not translate into
FrontPage. For example, when you use Word to create a table of contents,
based on custom Styles (Insert > Reference > Index and Tables > Table of
Contents > Options...), it inserts bookmarks like: #_Toc122856686. It would
be nice if it would use the bookmark name already on the element to which the
style was applied OR generate a bookmark, based on the text to which the
style was applied.

For example, if the top-level header is defined as a style called
"customheaders1" then finding <p class="customheaders1">Welcome</p> in a
document would result in a top-level element being added to the Table of
Contents and a bookmark addition of <p class="customheaders1"><a
name="Welcome"> Welcome</a></p>

Thanks
- P.S. Currently using FP 2002
 
S

Stefan B Rusynko

No tool I am aware of
Copy your headings to the top of the page and change the anchor tags to links

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hello. In developing a new page, we have inserted multiple bookmarks and
| heading styles, throughout our HTML documents. Is there a way to get
| FrontPage to insert an HTML Table of Contents, based on bookmarks, complete
| with links to the bookmarks. This would save us a tremendous amount of time.
|
| MS Word has the very utility we require but it does not translate into
| FrontPage. For example, when you use Word to create a table of contents,
| based on custom Styles (Insert > Reference > Index and Tables > Table of
| Contents > Options...), it inserts bookmarks like: #_Toc122856686. It would
| be nice if it would use the bookmark name already on the element to which the
| style was applied OR generate a bookmark, based on the text to which the
| style was applied.
|
| For example, if the top-level header is defined as a style called
| "customheaders1" then finding <p class="customheaders1">Welcome</p> in a
| document would result in a top-level element being added to the Table of
| Contents and a bookmark addition of <p class="customheaders1"><a
| name="Welcome"> Welcome</a></p>
|
| Thanks
| - P.S. Currently using FP 2002
 
W

Webmaster-GOC

Yeah, no. We've got massive sites that require a Table of Contents on many,
many pages. It would cost us less to have someone develop an add-in. Where
do I make a suggestion to Microsoft or others to create such a thing? It
would be very helpful.
Chris.
 
S

Stefan B Rusynko

You can do it yourself in VBA in FP

Your code in VBA would read all the pages for anchor links (bookmarks) and then writes a section in the top of the page w/ the links
to the bookmarks as a list
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Yeah, no. We've got massive sites that require a Table of Contents on many,
| many pages. It would cost us less to have someone develop an add-in. Where
| do I make a suggestion to Microsoft or others to create such a thing? It
| would be very helpful.
| Chris.
|
| "Stefan B Rusynko" wrote:
|
| > No tool I am aware of
| > Copy your headings to the top of the page and change the anchor tags to links
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > | > | Hello. In developing a new page, we have inserted multiple bookmarks and
| > | heading styles, throughout our HTML documents. Is there a way to get
| > | FrontPage to insert an HTML Table of Contents, based on bookmarks, complete
| > | with links to the bookmarks. This would save us a tremendous amount of time.
| > |
| > | MS Word has the very utility we require but it does not translate into
| > | FrontPage. For example, when you use Word to create a table of contents,
| > | based on custom Styles (Insert > Reference > Index and Tables > Table of
| > | Contents > Options...), it inserts bookmarks like: #_Toc122856686. It would
| > | be nice if it would use the bookmark name already on the element to which the
| > | style was applied OR generate a bookmark, based on the text to which the
| > | style was applied.
| > |
| > | For example, if the top-level header is defined as a style called
| > | "customheaders1" then finding <p class="customheaders1">Welcome</p> in a
| > | document would result in a top-level element being added to the Table of
| > | Contents and a bookmark addition of <p class="customheaders1"><a
| > | name="Welcome"> Welcome</a></p>
| > |
| > | Thanks
| > | - P.S. Currently using FP 2002
| >
| >
| >
 

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