Change default Go To behaviour when saving as web page (Visio 2003

D

Debbie Sontag

I've found that if I change the select statement in the widgets.htm file
created by Visio "save as web page" to the sample below, it allows for the
pages to open automatically after the user selects the item from the
drop-down list.

<select class="formText" ID="Select1" NAME="Select1" title="Select page from
list. Press Enter to go to the selected page."
onkeyup="if(window.event.keyCode == 13) return false;"
onchange="parent.GoToPage(Select1.value); return false;">

I have upwards of 200-300 multi-page diagram sets which are updated on a
regular basis. Is there some place in the Visio program files where this can
be programmed into the save as web page option so I don't have to to a manual
replace every time the diagram sets are updated and re-converted to web?
There must be somewhere that these defaults are set.

Thanks in advance!
 
C

Chris Roth [MVP]

Hi Debbie,

I'm not sure that there's a solution for this, other than having some sort
of post-export automation to "massage" all of your files.

There is one avenue to look down that I can think of, however:

When you click File > Save As Web... there's a "Publish..." button. On the
resulting dialog, there's something about specifying a template for your
web-page exports. I haven't really played with this, and so must confess
ignorance...but this might be a good place to start.

Let us know if you find anything promising!

--
Hope this helps,

Chris Roth
Visio MVP

Free Visio shapes:
http://www.visguy.com/category/shapes
Visio programming info:
http://www.visguy.com/category/programming/
Other Visio resources:
http://www.visguy.com/visio-links/
 

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