Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

keith284 (TechnicalUser) (OP)
1 Apr 09 13:26
Hi all,

I created a diagram with Visio.  It maps tables that I have in a database.  Is it possible for me to export this in a web format that makes the tables clickable?  Each table would lead to a different page on a website that would explain in details the functionality of the tables.

Example:

 [ Table 1: Person ]
         |
         |
 [ Table 2: Accounts ] ----- [ Table 4: Bills ]
         |
         |
 [ Table 3: Address ]

This would be exported from Visio in either vsd, vst, vdx, vss or vtx (Visio allows exporting in several formats).

Once I put this on my web page, Table 1 could be clicked and would lead to say http://www.mysite.com/person.html, table 2 would lead to http://www.mysite.com/accounts.html and so on...

One way of doing this would be to export the visio diagram in an image format (like GIF, JPG), but then you would have to define in an HTML page from which pixel of the image to which pixel it will link to.. that's a lot of pain and micromanaging for something that could perhaps be automated.  

Any feedback is appreciated.
MakeItSo (Programmer)
1 Apr 09 13:52
Well, you have obviously already found the "Save As" menu item.
Directly beneath it, there is a "Save As Webpage" option. Should give you a nice starter page. The rest is HTML coding...

"We had to turn off that service to comply with the CDA Bill."
- The Bastard Operator From Hell

keith284 (TechnicalUser) (OP)
1 Apr 09 14:17
I was hoping that one of the export formats like XML Drawing (vdx) or XML stencil (vsx) along with the usage of a third-party program would be able to do what I wanted.

HTML coding wouldn't be efficient, because if I change the structure or position of the tables in the future, the HTML coding needs to be changed heavily.
keith284 (TechnicalUser) (OP)
1 Apr 09 14:25
You see, if I save it as an image, or export it as a web page (exporting it as a webpage simply creates an html page linking to a GIF format of the diagram... pretty silly in my opinion), then I can use the following code to point to a section of the image:

<img src="images/er_diagram.gif" ismap usemap="#diagram.map" border=0>
</a> <map name="diagram.map">
<area shape="rect coords="6,4,99,70"
HREF="accounts.html">
<area shape="rect" coords="110,10,160,300" HREF="person.html">
<area shape="rect" coords="162,50,262,101" HREF="bills.html"> </map>

But then, one day, if I decide to move the tables a bit, add new tables, or re-arrange them, I'm screwed.  I have to reworked all the coordinates o_O
MakeItSo (Programmer)
2 Apr 09 9:38
I'm afraid you'll have to live with that.
vdx is a Visio-specific XML format. You need to Visio to work with it.
Websites are meant to be independent from applications such as Visio. That is why sites are set up in HTML, which functions cross-platform and without the need for MS Office or anything of that sort installed on the web server...

Perhaps anyone here has some brilliant thought - I think there is no other way.
Sorry

"We had to turn off that service to comply with the CDA Bill."
- The Bastard Operator From Hell

mrmovie (TechnicalUser)
24 Apr 09 7:50
can you transform a vdx file like you can xml into a HTML document, might seem like a silly question i guess as this is what the save-as MakeItSo has suggested does. I would go with the save-as option. an alternative might be to parse it code and create your own xml file in a format you are happy with, then xml transform it to HTML,,,,seems circular though

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close