Change the width of toolbar in IE when saved as web page

B

BoLane

I'm trying to alter the settings of the toolbar when I save my project as web
page. I tried altering the visio.css and other .php pages but to no avail.
Any ideas on how I can make the change to a static width (420px) instead of
it's default size?
 
J

John Goldsmith_Visio_MVP

Hello BoLane,

You need to look in two places:

1) The default is set in the main frameset definition in the primary page
(ie if you saved your document as MyFile.vsd then the web page is likely to
be named MyFile.htm). Look at the opening frameset tag and you'll see the
default is set to 237 pixels in the 'cols' attribute. (Line 712ish)

2) Next you need to change the JavaScript that toggles the visibility of the
toolbar frame. Have a look at the function called ToggleNav(), found in
widgets.htm (about line 100 ish) and change the 237 value accordingly.

Note, that the Pan and Zoom widget does not resize and will be alligned to
the right so you'll have to figure out how to deal with this if you think
it's a problem.

Hope that helps.

Best regards

John


John Goldsmith (Visio MVP)
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
 

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