Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: Steve Lyons on July 13, 2008, 01:02:31 PM

Title: Cursor on a Document Saved as HTML
Post by: Steve Lyons on July 13, 2008, 01:02:31 PM
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
Title: Re: Cursor on a Document Saved as HTML
Post by: Lars-Erik on July 13, 2008, 07:02:34 PM
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
Title: Re: Cursor on a Document Saved as HTML
Post by: Steve Lyons on July 14, 2008, 07:35:29 AM
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
Title: Re: Cursor on a Document Saved as HTML
Post by: Lars-Erik on July 14, 2008, 10:44:19 AM
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.

Title: Re: Cursor on a Document Saved as HTML
Post by: Visio Guy on July 15, 2008, 04:19:25 PM
Steve (L),

Not sure if you've seen this article: Customized Visio HTML Export (http://www.visguy.com/2007/08/24/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
Title: Re: Cursor on a Document Saved as HTML
Post by: Steve Lyons on July 15, 2008, 07:58:06 PM
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
Title: Re: Cursor on a Document Saved as HTML
Post by: Steve Lyons on July 17, 2008, 08:26:09 AM
So Microsoft admit that there is an error in Visio 2003  :o

See this link http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.visio.troubleshoot&cat=en_US_5990edba-ea4d-43e4-8b82-befa140b6de6&lang=en&cr=US&sloc=&p=1&mid=7c232491-ddd1-46b2-86a2-ea8de788a661&tid=7c232491-ddd1-46b2-86a2-ea8de788a661

Steve