• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 897
  • Last Modified:

VISIO 2002 - Export to web (HTML) without Javascript

Hi experts!

A colleague has asked me if it is possible to export Visio drawings into webpages, but disable any Javascript (as the intranet he plans to deploy these webpages doesn't allow Javascript in its security settings).

I don't know a lot about Visio, but I gather that there aren't a lot of settings to change for exporting as a webpage.  I'd be grateful if someone could tell me what aspects of the web functionality Javascript is generally used for, so in a worst-case scenario I could look for ways to recode the pages after the export to replace the Javascript with something the intranet will accept (probably CSS).

Any advice on this would be greatly appreciated! :-)

Luke
0
Lukasx123
Asked:
Lukasx123
1 Solution
 
Scott HelmersVisio Consultant, Trainer, Author, and DeveloperCommented:
I t think you only need to do two things to accomplish what you want:
1) turn off all web page options that require js
2) delete the js files that Visio creates

When you click File>Save as Web Page, click the Publish button rather than the Save button. Uncheck everything in the Publishing Options section (the first four items are probably the only ones checked). Then when you click OK, Visio will create two things: an html file with the same name as your drawing; a folder with the same name as your drawing appended with _files

The _files folder will contain a bunch of html, gif/jpg and other files. It will also contain several .js files. Delete the .js files and I think you'll find that the web site will work correctly. You won't have any way to navigate from page to page unless you've built that into your pages in Visio because that's part of what the js provides. However that just means you'll need to build internal navigation links just like any non-Visio-created web site,

Regards,
Scott
 
0
 
Lukasx123Author Commented:
Thanks Scott!  That's exactly the answer I needed! :-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now