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
Lukasx123Asked:
Who is Participating?
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.