A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Visio generated web page links open at top level and not in frame



 
 
Thread Tools Display Modes
  #1  
Old July 3rd, 2008, 10:37 PM posted to microsoft.public.visio.general
Ianb
external usenet poster
 
Posts: 39
Default Visio generated web page links open at top level and not in frame

I have an odd issue. I am using a visio generated web page in an inline frame
within the body of a standard three frame page (banner navigation and body.

My problem is that when the user clicks a link in the visio generated web
page the linked page opens at the top window level rather than just in the
inline frame.

If I link to a normal page (rather than the visio webfile) inside the iframe
- links from the page only update the iframe (hence it is not an issue with
iFrame) so my conclusion is that it is a problem with the way visio webfiles
are created.

Can anyone shed light on this


Thanks

IanB
  #2  
Old August 5th, 2008, 11:40 AM posted to microsoft.public.visio.general
Knaphie
external usenet poster
 
Posts: 3
Default Visio generated web page links open at top level and not in frame

Hi Ian,

Same issue here. I have tried various options such as adding the ...

"Target="_self to the end of the Hypelink

.... option offered in this forum.

Also tried using the "Frame" option in the ShapeSheet options. I have tried
_Self _Parent _MyFrameName etc. These just don't even seem to be parsed to
the HTML or Java code at all. They all end up as _Blank in the code.

Also tried iFrame options. Works fine for the 1st page, but any subsequent
links don't hold in the Frame set.

So currently all to no avail.

Any assistance would be greatly appreciated. It would be a shame to have to
revert to saving the Visio drawings as JPG pictures and manually mapping
Hyperlink Buttons.

Regards
Steve B

"Ianb" wrote:

I have an odd issue. I am using a visio generated web page in an inline frame
within the body of a standard three frame page (banner navigation and body.

My problem is that when the user clicks a link in the visio generated web
page the linked page opens at the top window level rather than just in the
inline frame.

If I link to a normal page (rather than the visio webfile) inside the iframe
- links from the page only update the iframe (hence it is not an issue with
iFrame) so my conclusion is that it is a problem with the way visio webfiles
are created.

Can anyone shed light on this


Thanks

IanB

  #3  
Old August 5th, 2008, 10:37 PM posted to microsoft.public.visio.general
Ianb
external usenet poster
 
Posts: 39
Default Visio generated web page links open at top level and not in fr

Hi Steve

Sorry but I never really adequately resolved this issue. I use some script
to trap the event at the top level and display the information I want. It
refreshes the whole page which is not desirable as I have a jscript menu that
reverts to its collapsed state every time - plus of course time delays and
traffic etc but my solution is a proof of concept so thats not the end of the
world

Hope you have more luck than I did. If you get any more information on the
issue please post it here for the benefit of all - especially me

Thanks

Ian

"Knaphie" wrote:

Hi Ian,

Same issue here. I have tried various options such as adding the ...

"Target="_self to the end of the Hypelink

... option offered in this forum.

Also tried using the "Frame" option in the ShapeSheet options. I have tried
_Self _Parent _MyFrameName etc. These just don't even seem to be parsed to
the HTML or Java code at all. They all end up as _Blank in the code.

Also tried iFrame options. Works fine for the 1st page, but any subsequent
links don't hold in the Frame set.

So currently all to no avail.

Any assistance would be greatly appreciated. It would be a shame to have to
revert to saving the Visio drawings as JPG pictures and manually mapping
Hyperlink Buttons.

Regards
Steve B

"Ianb" wrote:

I have an odd issue. I am using a visio generated web page in an inline frame
within the body of a standard three frame page (banner navigation and body.

My problem is that when the user clicks a link in the visio generated web
page the linked page opens at the top window level rather than just in the
inline frame.

If I link to a normal page (rather than the visio webfile) inside the iframe
- links from the page only update the iframe (hence it is not an issue with
iFrame) so my conclusion is that it is a problem with the way visio webfiles
are created.

Can anyone shed light on this


Thanks

IanB

  #4  
Old August 6th, 2008, 05:40 PM posted to microsoft.public.visio.general
Knaphie
external usenet poster
 
Posts: 3
Default Visio generated web page links open at top level and not in fr

Ian,

Try this link - and navigate down to "Escaping from Save as Web Page links"

http://visualsignals.typepad.co.uk/v....html#comments

I use it as a halfway house solution. In the interim I have asked John to
assist - see the comments area. I'll let you know if I get any further.

Regards
Steve B


"Ianb" wrote:

Hi Steve

Sorry but I never really adequately resolved this issue. I use some script
to trap the event at the top level and display the information I want. It
refreshes the whole page which is not desirable as I have a jscript menu that
reverts to its collapsed state every time - plus of course time delays and
traffic etc but my solution is a proof of concept so thats not the end of the
world

Hope you have more luck than I did. If you get any more information on the
issue please post it here for the benefit of all - especially me

Thanks

Ian

"Knaphie" wrote:

Hi Ian,

Same issue here. I have tried various options such as adding the ...

"Target="_self to the end of the Hypelink

... option offered in this forum.

Also tried using the "Frame" option in the ShapeSheet options. I have tried
_Self _Parent _MyFrameName etc. These just don't even seem to be parsed to
the HTML or Java code at all. They all end up as _Blank in the code.

Also tried iFrame options. Works fine for the 1st page, but any subsequent
links don't hold in the Frame set.

So currently all to no avail.

Any assistance would be greatly appreciated. It would be a shame to have to
revert to saving the Visio drawings as JPG pictures and manually mapping
Hyperlink Buttons.

Regards
Steve B

"Ianb" wrote:

I have an odd issue. I am using a visio generated web page in an inline frame
within the body of a standard three frame page (banner navigation and body.

My problem is that when the user clicks a link in the visio generated web
page the linked page opens at the top window level rather than just in the
inline frame.

If I link to a normal page (rather than the visio webfile) inside the iframe
- links from the page only update the iframe (hence it is not an issue with
iFrame) so my conclusion is that it is a problem with the way visio webfiles
are created.

Can anyone shed light on this


Thanks

IanB

  #5  
Old August 7th, 2008, 03:51 PM posted to microsoft.public.visio.general
Knaphie
external usenet poster
 
Posts: 3
Default Visio generated web page links open at top level and not in fr

Hi Ian,

Due to John Goldsmith nudging me in the right direction, I managed to find a
solution. The answer turned out to be quite simple in the end. Here's the
full method for completeness.

Preparation: Design your Visio Drawing and add the Hyperlinks as usual. Then
open the Stylesheet for the objects you wish to target the frames for, and
amend NewWindow cell to True if a new window is required. Or in my case
ensure that it is still set to False (i.e. no new window required). Next save
the drawing using the Save as Web Page option. During this phase I use the
Publish button rather than the Save button, and I ensure that the settings
are as I require. i.e. Details, Goto Page, Search Pages, and Pan and Zoom are
the only selections I use in the General Tab. Also in the Advanced Tab I
select VML, JPEG Alternate format, and I target the size of the drawing to
1024x768.

Fix: After publishing as a Save as Web Page we get the main HTM page and the
Files directory as described by John in his blog mentioned earlier. So now
open in an editor the "frameset.js" file within the Files directory. Then
search for "top.location" and replace with "self.location". I had 2 instances
in all my tests.

You can now use the main.HTM page with a frame reference in your Intranet
etc. and any Hyperlinks should open in the same targetted frame.

I hope this helps. Let me know if this solves your issues too.

Regards,
Steve B

"Knaphie" wrote:

Ian,

Try this link - and navigate down to "Escaping from Save as Web Page links"

http://visualsignals.typepad.co.uk/v....html#comments

I use it as a halfway house solution. In the interim I have asked John to
assist - see the comments area. I'll let you know if I get any further.

Regards
Steve B


"Ianb" wrote:

Hi Steve

Sorry but I never really adequately resolved this issue. I use some script
to trap the event at the top level and display the information I want. It
refreshes the whole page which is not desirable as I have a jscript menu that
reverts to its collapsed state every time - plus of course time delays and
traffic etc but my solution is a proof of concept so thats not the end of the
world

Hope you have more luck than I did. If you get any more information on the
issue please post it here for the benefit of all - especially me

Thanks

Ian

"Knaphie" wrote:

Hi Ian,

Same issue here. I have tried various options such as adding the ...

"Target="_self to the end of the Hypelink

... option offered in this forum.

Also tried using the "Frame" option in the ShapeSheet options. I have tried
_Self _Parent _MyFrameName etc. These just don't even seem to be parsed to
the HTML or Java code at all. They all end up as _Blank in the code.

Also tried iFrame options. Works fine for the 1st page, but any subsequent
links don't hold in the Frame set.

So currently all to no avail.

Any assistance would be greatly appreciated. It would be a shame to have to
revert to saving the Visio drawings as JPG pictures and manually mapping
Hyperlink Buttons.

Regards
Steve B

"Ianb" wrote:

I have an odd issue. I am using a visio generated web page in an inline frame
within the body of a standard three frame page (banner navigation and body.

My problem is that when the user clicks a link in the visio generated web
page the linked page opens at the top window level rather than just in the
inline frame.

If I link to a normal page (rather than the visio webfile) inside the iframe
- links from the page only update the iframe (hence it is not an issue with
iFrame) so my conclusion is that it is a problem with the way visio webfiles
are created.

Can anyone shed light on this


Thanks

IanB

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.