Hyperlinks in html

T

Tee

I'm using Powerpoint 2002 in Windows XP Professional.
PowerPoint is used to edit and create html files with
hyperlinks to other html files and to other files such as
avi, jpg, and pdf. I use the AutoShapes/Action Button
custom to give the user the usual icon of a button to
click. I put text as a label on the button and then
attach a hyperlink to it. I save the document as html.

With the html file opened in IE, if the user clicks in
the general central area of the button the desired html
file opens in the same instance of IE and the user can
use the back arrow of IE to go back. My problem is if
the user clicks near the edge of the button, another
instance of IE will be opened and the back arrow option
is not available to the user.

How can I be assured that the user will always complete
the hyperlink in the same instance of IE??

Thanks
 
G

Glen Millar

Tee,

Any chance you could publish an example tot he web? That way we could look
at it. Or email the original, if it is small.

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
Remove spaces from signature
 
G

Glen Millar

Tee,

Thanks for all the info. I may not be able to test this until tomorrow,
which is about another 24 hours local time. But I have read it and can see
what is happening. Don't ya just hate that! It seems as though there is some
sort of strange behaviour from the autoshape. Personally, I wouldn't use an
action setting. I have seen links happen this way to a shape, to the text in
the shape, and sometimes both. If you select the object and simply go <
Insert| Hyperlink| or <Control + K>, does that make a difference when you
Publish the files as a web page?

If that doesn't help, I can think of a way to actually use an action setting
and force the browser to open it in the same window. But I haven't tested it
yet. So, please holler back if you make any or no progress.

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
Remove spaces from signature
 
T

Tee

Glen,

Thanks for helping with this problem. I will give your
suggestion a try.

Yesterday, I got a colleague, who knows a good bit about
html, to look at the source code. She suggested deleting
all occurrences of target="_blank" from the code. That
seems to resolve the problem. So I created a macro using
MacroExpress to execute the key strokes to open the html
document in source, and to replace all arget="_blank"
with nothing. That seems to resolve the problem. But I
(or anyone using the models I'm building) who modifies
the pages will have to remember to run the macro :).

Thanks again for hanging in there with me. You might be
interested in knowing that I'm using PowerPoint to build
flowcharts instead of Visio because most of the folks I
work with in healthcare have Powerpoint but not Visio.

Tee
 
G

Glen Millar

Tee,

Thanks for the feedback. I have just been mucking with target options for
another issue, so your macro sounds interesting. As for using PowerPoint
instead of Visio, I fully concur. In fact, it is amazing what you *can* do
in PowerPoint, before turning to other packages. I'll do some further
testing, but it is breakfast and then off to the cricket!

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
Remove spaces from signature
 
G

Glen Millar

Hi,

I tested it and I can't reproduce it here. I have PowerPoint 2003 and am
saving as a single file web page of *.mht. No matter where I click, I get
the other file to open cleanly.

Like when you take your car to the mechanic. "I don't hear the engine making
any noise" <vbg>. Don't ya just hate that!

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
Remove spaces from signature
 
G

Guest

Glen,

I have no problem with the link opening cleanly. But if I click near the edge of the button or have no text in the button, the link open in another instance of IE and the Back Arrow is not available. Do you find this??

Thanks for you help.

Tee
 
G

Glen Millar

Tee,

I'm afraid not. If I have no text in the button, it opens cleanly.

I may be able to suggest a work around. When you save as a web page, use the
drop down box Save As type, and see if you can select a web archive. That
will give it an mht extension. It will still run as a web page, but will be
a single file.

The reason I suggest mht is that it behaves differently in the browser. It
will still open in PowerPoint, but I believe it is handled differently than
a purely PowerPoint html file.

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
Remove spaces from signature


Tee said:
Glen,

I have no problem with the link opening cleanly. But if I click near the
edge of the button or have no text in the button, the link open in another
instance of IE and the Back Arrow is not available. Do you find this??
 
J

John Langhans [MSFT]

Hi Tee,

This problem has been fixed in PowerPoint 2003. In PowerPoint 2003, the
hyperlinks to pages outside the presentation will always load the pages
into the same browser window as the presentation.

John Langhans

Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

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

Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
T

Tee

John,

Thanks for the notice. Do you have a "work-around" for
2002? The folks I'm sending my model will have 2002.

What I've been doing with my models is running a macro
with Macro-Express. While the html file is open in IE
the macro executes the key strokes to open the source
code and replace all occurrences of Target-"_Blank"
with nothing and close the code.

Thanks for helping with this problem.

Tee
 
J

John Langhans [MSFT]

The workaround is to make sure that all of your hyperlinks to pages not
part of the slide show are in unfilled, unframed shapes with text. When you
click on the text in these shapes, the linked to page gets loaded into the
same browser window as the slide show.

1) Draw shape
2) Enter text
3) Format -> Autoshape
4) Colors and Lines: Fill->Color: None; Line->Color: None
5) Text Box: Internal Margin: Left - 0"; Right - 0", Top - 0", Bottom - 0";
Resize AutoShape to fit text: Checked
6) Click OK

John Langhans

Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

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

Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

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