Can we turn off 'Ctrl + click' in html to view details?

Started by PTHouEMS, August 31, 2016, 06:18:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PTHouEMS

In html, we have data shapes linked to details.  When you hover over the shapes a text pops up saying 'ctrl + click to view details'. Is there anyway to prevent this from popping up? I want to simply have the functionality to just click on the shape to view the details.  I also believe, this is preventing the screen tip from appearing in the html output when you hover over a shape. I am using Visio 2016.

Yacine

There's folder associated with the html file, in it are several javascript files which define the popup behaviour.
I'm myself not good enough at Javascript to tweak them, but that's definitely the place to go.
The modified code can then be used for further exports, by overwriting the files created by visio.
Yacine

Hey Ken


   Hi, PTHouEMS.  A few years ago I wrestled with various problems with hover text appearing in html built from Visio, and came up with a pretty comprehensive VBA solution that eliminates all the annoying popup/hover behavior.  I don't have V2016, so I can't say it would address your specific problem; but take a look.  It might suggest a direction: http://visguy.com/vgforum/index.php?topic=2207.msg9805#msg9805.

   Good luck!

   - Ken


Ken V. Krawchuk
Author
No Dogs on Mars - A Starship Story
http://astarshipstory.com

PTHouEMS

Ken,

I've used that code and the problem is that it also removes all zoom functions in the html output.  I want to keep the zoom and have the tooltips (screentips) be the hover text instead of the ctrl+ click hover text.  Hitting dead ends left and right.

Hey Ken

PTHouEMS:

   At the risk of sounding trite, let me suggest you hack at the various SaveAsWeb settings (see below).  Setting PanZoom=True seems to be the obvious first choice. 

   As for what else you could try, I looked around the web, but could not locate a decent summary of what the SaveAsWeb options are, or what they do.  The best I saw was in Microsoft's V2007 SDK.  Maybe John Goldsmith can chime in here, since it was his blog that originally pointed me in the direction I ultimately took.

   Good luck!  (And I hope you don't need it.)

   - Ken



Addons("SaveAsWeb").Run _
    " /Target=""" & ExecutableHtml & """" & _
    " /PageTitle=" & BrowserTitle & _
    " /Prop=False " & _
    " /Folder=True " & _
    " /StartPage=-1 " & _
    " /EndPage=-1 " & _
    " /OpenBrowser=false " & _
    " /PriFormat=jpg " & _
    " /ScreenRes=1024x768 " & _
    " /Quiet=true " & _
    " /Silent=false " & _
    " /Search=False " & _
    " /PanZoom=False " & _
    " /NavBar=false "



Ken V. Krawchuk
Author
No Dogs on Mars - A Starship Story
http://astarshipstory.com