News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Cursor on a Document Saved as HTML

Started by Steve Lyons, July 13, 2008, 01:02:31 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Steve Lyons

Can anyone tell me how I can set up a cursor when a user hovers over a Visio shape published to a web server?  I know that I can set a popup using a tip from http://visio.mvps.org/ShapeSheet.htm, but the cursor does not change, and this can confuse rooky users.

Many thanks
Steve

Lars-Erik

You could consider changing the created html file later on... I don't knot how to do this in Visio.
In HTML though, its not that hard.
Some links to sites that explain this:

http://www.unitedforums.co.uk/vb/webmaster-discussion/2704-onmouseover-change-cursor-icon.html
http://www.webdeveloper.com/forum/archive/index.php/t-19211.html
www.google.com

You get the idea.

- Lars

Steve Lyons

Thanks Lars

The problem is that every time I re-publish (which will be often) I would have to manually change the code.

I have posted the same question on a MVP forum, so we will see if they come up with a solution.

Steve

Lars-Erik

That will be the drawback, yes.
You could insert the css code into a css file, and then after publishing all you need to do is add the reference to the css.

Still a Visio based solution would be preferred :)

O, yes, let us know when you do find a solution.


Visio Guy

Steve (L),

Not sure if you've seen this article: Customized Visio HTML Export

It does a hokey customized html export using some VBA code. In the output web document, a user gets a pop-up under the cursor that shows custom properties in the shape.

It solves the "re-publish often" problem as well, because it uses custom code to create the web-page in the first place.

In a similar way, you could use a utility to publish a web page that had customizations instead of relying on Visio's built-in features. Not sure if that would scare away your users, though :)

- Chris
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

Steve Lyons

Thanks, Chris.  I have looked at the article, and it may do what I need.  I will give it a try and let you know.  May be a while though ............  ;D

Steve L


Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 264 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1108KB.
Tokens: post-login.
Cache hits: 14: 0.00150s for 26,766 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]