WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Visio generated web page links open at top level and not i..

 
   Home -> Office other -> General Discussions RSS
Next:  General Discussions: Lose "bump" in connection lines that cross  
Author Message
Ianb

External


Since: May 15, 2006
Posts: 4



(Msg. 1) Posted: Thu Jul 03, 2008 2:37 pm
Post subject: Visio generated web page links open at top level and not in frame Add to elertz
Archived from groups: microsoft>public>visio>general (more info?)

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
Back to top
Login to vote
Knaphie

External


Since: Aug 05, 2008
Posts: 3



(Msg. 2) Posted: Tue Aug 05, 2008 3:40 am
Post subject: RE: Visio generated web page links open at top level and not in frame Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
Ianb

External


Since: May 15, 2006
Posts: 4



(Msg. 3) Posted: Tue Aug 05, 2008 2:37 pm
Post subject: RE: Visio generated web page links open at top level and not in fr Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 Smile

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
Back to top
Login to vote
Knaphie

External


Since: Aug 05, 2008
Posts: 3



(Msg. 4) Posted: Wed Aug 06, 2008 9:40 am
Post subject: RE: Visio generated web page links open at top level and not in fr Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ian,

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

http://visualsignals.typepad.co.uk/vislog/2007/12/escaping-from-s.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 Smile
>
> 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
Back to top
Login to vote
Knaphie

External


Since: Aug 05, 2008
Posts: 3



(Msg. 5) Posted: Thu Aug 07, 2008 7:51 am
Post subject: RE: Visio generated web page links open at top level and not in fr Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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/vislog/2007/12/escaping-from-s.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 Smile
> >
> > 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
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET