Hyperlinks Between Pages Have Wrong URLs When Saved as Web Page

A

Amileoj

I have run into a problem with the hyperlinks between the pages of my Visio
2003 drawing not working, when publishing (saving) that drawing as a Web
page. The problem does not exactly match any of the other threads that
turned up here on the search topic "hyperlinks", and a lengthy Google search
has not been any help either.

Here is the background:

I created all the hyperlinks in this drawing by using Insert/Hyperlinks
(Cntrl+K) on various shapes, with the local file name (the drawing's .vsd
file) in the Address field, the appropriate page name in the Sub-address
field, and the "Use relative path..." checkbox checked. All links go to a
different page than the one they are on. When saving the drawing as a Web
page, I configure the publishing options for JPEG output.

All this worked well for weeks, as the drawing grew to approximately 120
pages, with me republishing it as a Web page several times a day. But when I
recently added another page to the drawing, and attempted to republish,
something changed:

Now all of the links in the image maps, in the generated .htm pages, are
broken. Specifically, they all now have URLs of the form:

filename.vsd#n

where "filename" is the name of the Visio drawing file, and where "n" is the
page name (or sub-address). These links go nowhere, and so result in a 'not
found' error in both IE and Firefox. Since I still have archived copies of
the results of some previous publishes, I can see that the image map links in
their generated HTML used to have the form:

jpeg_n.htm

where "n" is again the sub-address for the page. I also noticed in
comparing the old and new image maps that whereas the links in them formerly
used target="frmDrawing" they now all have target="_top".

I did try removing the most-recently-added drawing and republishing, but the
links still have the new (and non-working) format.

One last wrinkle: all of the pages in this drawing are backgrounds rather
than foregrounds, and most of them use another page in the drawing as a
background, and so on recursively. Thus, the "page order" list (that comes
up when one tries to Reorder Pages) is blank. I do things this way because
it makes updating a large drawing easier, when a great many visual elements
are shared across its pages (as in the case of an interactive GUI prototype).

That's about it. I hope someone can help with this, as the project I was
working on is pretty much dead in the water until I can find a solution.

Thanks.
 
B

Barb Way

There was a problem with Visio 2003 output to web pages when viewed in IE7.

http://blogs.msdn.com/visio/archive/2006/11/03/hyperlink-problem-in-internet
-explorer-7.aspx

This has been fixed in Visio 2003 SP3 :
927375 Error message when you view Web pages in Internet Explorer 7 that
were created by using the Visio 2003 Save As Web feature: "Internet
Explorer cannot open the Internet site"
http://support.microsoft.com/default.aspx?scid=kb;EN-US;927375

If you want to fix the links in existing HTML output, there was a comment
in the blog post about a downloadable tool from Data Assist, but I don't
know if they still offer the tool.


Barb Way
Product Support - Visio
Microsoft Corporation
[This posting is provided "As Is" with no warranties, and confers no
rights.]
--------------------

I have run into a problem with the hyperlinks between the pages of my Visio
2003 drawing not working, when publishing (saving) that drawing as a Web
page. The problem does not exactly match any of the other threads that
turned up here on the search topic "hyperlinks", and a lengthy Google
search
has not been any help either.

Here is the background:

I created all the hyperlinks in this drawing by using Insert/Hyperlinks
(Cntrl+K) on various shapes, with the local file name (the drawing's .vsd
file) in the Address field, the appropriate page name in the Sub-address
field, and the "Use relative path..." checkbox checked. All links go to a
different page than the one they are on. When saving the drawing as a Web
page, I configure the publishing options for JPEG output.

All this worked well for weeks, as the drawing grew to approximately 120
pages, with me republishing it as a Web page several times a day. But when
I
recently added another page to the drawing, and attempted to republish,
something changed:

Now all of the links in the image maps, in the generated .htm pages, are
broken. Specifically, they all now have URLs of the form:

filename.vsd#n

where "filename" is the name of the Visio drawing file, and where "n" is
the
page name (or sub-address). These links go nowhere, and so result in a
'not
found' error in both IE and Firefox. Since I still have archived copies of
the results of some previous publishes, I can see that the image map links
in
their generated HTML used to have the form:

jpeg_n.htm

where "n" is again the sub-address for the page. I also noticed in
comparing the old and new image maps that whereas the links in them
formerly
used target="frmDrawing" they now all have target="_top".

I did try removing the most-recently-added drawing and republishing, but
the
links still have the new (and non-working) format.

One last wrinkle: all of the pages in this drawing are backgrounds rather
than foregrounds, and most of them use another page in the drawing as a
background, and so on recursively. Thus, the "page order" list (that comes
up when one tries to Reorder Pages) is blank. I do things this way because
it makes updating a large drawing easier, when a great many visual elements
are shared across its pages (as in the case of an interactive GUI
prototype).

That's about it. I hope someone can help with this, as the project I was
working on is pretty much dead in the water until I can find a solution.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top