I have a number of .pdf files hyperlinked from my process library. When I publish to web, and click on the link, the .pdf opens in the existing window. I need it to open in a new window (so the user can close it when they have finished reading, instead of using the back button). I could manually add target="_blank" to each link in each Visio, but that would take ages and I would probably have to re-enter every time I re-published. Any ideas how I can specify hyperlinks to open in an new window?
Thanks, Steve
Check out the ShapeSheet of the hyperlink.
Look for the hyperlinks section, and then look for the "NewWindow" cell.
Change that value to True and the link will work just like _blank works in html.
See added picture
- Lars
Many thanks, Lars-Erik. It works perfectly. I did not even know about the ShapeSheet!
Regards
Steve
Steve,
With a small amount of code, you can update all of your existing links as well. If you or one of your neighbors is comfortable with VBA code (Visual Basic for Applications)
- Chris
Thanks for your tip, Chris. I have just downloaded the SDK and will try to use some code, but I think I will need some help form a colleague. I may get back to you in a couple of weeks .......... !
- Steve