Visio2003 html export should sort the 'pages' alphabetically by na

T

Trapleuning

The html export function generates a pull-down menu that contains all pages.
This pull-down menu isn't sorted by name of the page. When you have a lot of
pages, it is a bit confusing.

one could add the following javascript to the generated htm page just below
the array definition of the pages:
--
function compareFileEntry(a,b)
{
return (a.PageName > b.PageName) ? 1 : -1;
}

g_FileList = g_FileList.sort(compareFileEntry);
 

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