Hyperlinks Don't work in SAW VML IFRAME - Visio 2003

D

David Parker

Visio 2003 Prof

1. Hyperlinks in SAW to VML (no IFRAME) work OK.
2. Hyperlinks in SAW to VML (with IFRAME) do not work OK (blank IFRAME)
3. Hyperlinks in SAW to SVG (no IFRAME) work OK.
4. Hyperlinks in SAW to SVG (with IFRAME) work OK.

(Hyerlinks are to other pages within the same document):

Above seems to point to the JavaScript functions in the VML format option do
not correctly form their hyperlinks when they are within an IFRAME.

Has anyone fixed this?
Are MS going to fix this?
 
D

Dick Hamilton [MSFT]

Hi David,

You don't list the options you are selecting when using the Visio 2003 Save
as Web feature. Here are the steps to create a document which I think will
address this:

1. New Drawing, add a couple of pages
2. Add a shape to all of the pages
3. For each shape, add a link that navigates to a different page
4. File>Save as Web Page
5. Click Publish, navigate to the Advanced tab, and choose the Host Page for
the SAW output (an example named Basic is available in the combo box)
6. Choose your output format (VML or SVG)
7. Click OK to output the HTML

In both cases, the links should work fine.
 
S

Sven Van de Velde

I wrote the following problem with hyperlinks earlier: this problem is related!

-----
Exporting a visio drawing containing hyperlinks (with query URI syntax) is
not preserved when exporting towards VML HTML.

Case:
I have a visio drawing containing the following hyperlink in a shape:
file:///C:/Documents%20and%20Settings/Sven/Mijn%20documenten/test/test.htm?ServerFilter=%22nummer=3%22

Note the "?serverfilter=%22nummer=3%22"!!!

Well, when exporting the Visio drawing towards GIF, PNG and JPG keeps the
correct HTML hyperlink for the shape, but when I export towards VML, I really
get the wrong result, which looks like this in the resulting explorer window
URL line:
C:\Documentsand ettings\Sven\Mijn
18834552ocumenten\test\test.htm

strange....

Microsoft, I think this is a bug, or do you have a suggestion how to fix the
%22 issue? (I checked the generated VML imagemap file, which contains an
incorrect HREF reference!)
 
D

Dick Hamilton [MSFT]

Hi Sven,

The double quote is encoded like that because it is a file URL:
file:///C:/Documents%20and%20Settings/Sven/Mijn%20documenten/test/test
.htm?ServerFilter=%22nummer=3%22)

This is a file URL which will not work since parameters can only be provided
over the HTTP protocol.

The %22 character is a double quote ("), and I think that the encoding is
needed for Visio Save as Web feature because this character is a string
delimiter in JScript and it is going through a method to execute the
hyperlink.

--
Dick Hamilton
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
S

Sven Van de Velde

Dick,

You quoted:
This is a file URL which will not work since parameters can only be provided
over the HTTP protocol.

Do you have any suggestion how to encode an URL in the VISIO drawing, so
that the actual exported VML page will link to the right page?
I really tried everything: %22, """", "", "'", ...
The VML exporter just does not convert the quotes correctly. And I need to
get it working to get the generated VML to talk with teh MSAccess database.
This is the only problem right now...

Send me your email, so that I can send the file by hand, so you can have a
look at it. My email is (e-mail address removed)

tnx,

Sven
 
D

Dick Hamilton [MSFT]

Hi Sven,

Thanks for offering to send a copy of a drawing file, so that we can check
it out. I've sent you an email to arrange for sending the file.

--
Dick Hamilton
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Gnomes on Fire

Hello Dick,


I am posting this because I am experiencing some similar problems here at
Bradford White Corporation. We are having issues with regard to viewing
Visio web pages within any type of frame (i-frame or otherwise). The one
thing that we are certain of is that this problem has occurred since the
upgrade to service pack 2. We took some computers that were working
initially, performed the SP2 upgrade, and were able to create the same
condition consistently. What I would like to know is, "Is there a
work-around for this problem?" Or, "Is this something that Microsoft will
be fixing soon?" We currently have our whole quality web site operating in
a handicapped state because of this issue. I have tried to adjust (disable)
the security settings in IE6 with no luck. I am currently looking at using
tables and/or modifying the scripting. Any help that you can give me
regarding this issue would be greatly appreciated.


Regards,


Mike
 
D

Dick Hamilton [MSFT]

Hi Mike,

Here are a few questions to help on the specific issue that you are seeing
when viewing Visio web pages. What version of Visio are you using to create
the Save as Web output? What are the Visio Save as Web page output settings
that you have selected when you output the Visio drawings? What service
pack are you referring to? What is the specific issue that you are
seeing -- and what are the expected results? thanks.

Dick
--
Dick Hamilton
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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