Mouseover images

S

sanj

Hi,

Is it possible to have several images on screen all hidden at first except
the (master), then when the mouse goes over (or clicks on )the master the
others to be displayed - or something similar?

Thanks!

Sanj
 
U

Ute Simon

Is it possible to have several images on screen all hidden at first except
the (master), then when the mouse goes over (or clicks on )the master the
others to be displayed - or something similar?

Hi Sanj,

you can make pictures appear on mouseclick in every version of PowerPoint,
just animate them.

If you want them to appear if you click on a certain object or area in your
slide in any sequential order you choose, this is possible with PowerPoint
2002 or 2003. You have the so called trigger animations in these newer
versions. See Echo's website for a tutorial:
http://www.echosvoice.com/triggers.htm

In PowerPoint 97 or 2000 you have to fake this effect using several slides.

Kind regards,
Ute
 
S

sanj

Thanks Ute,

I need to ensure that this caters for all PPT versions from 2000, could I
write a macro that does this - my question is how do define what each
image/object is called ?

Regards,

Sanjay
 
D

David M. Marcovitz

What Ute said and ...

If you are using earlier version of PowerPoint or really need the mouseover
effect, you'll have to do something else. There are a few possibilities. From
what you described, you seem to want all other pictures to appear at once. If
this is the case, you could set the Action Settings of the master picture, to
hyperlink to another slide on mouse over. Right-click on the master picture
and choose Action Settings. Click on the Mouse Over tab, and choose
hyperlink. On the other slide, you can have the master picture if you want
and the other pictures. It will look just like an animation. If you want them
to fly in (or animate in some way other than just appear), just set the other
pictures to animate automatically.

If you want to do something more complicated, you might have to resort to VBA.

--David

David Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
D

David M. Marcovitz

Try to explain in more detail what you want to do. If it is simply making
other pictures appear with one mouse over or mouse click, then see my other
post about linking to another slide. If it is more complicated, then explain
it in more detail. A macro is certainly possible, but macros only work with
the full version of PowerPoint (versions 97 and above), not the PowerPoint
Viewer.

You might check out examples on my Web site that use macros to hide and show
objects on the screen:

http://www.loyola.edu/education/PowerfulPowerPoint/

Click on "Examples by Chapter" and "Chapter 6." Example 6.4 is a fairly
simple example that does this.

--David

David Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
S

sanj

Thanks David,

This is for the full version of PowerPoint 2000 +

I have a slide which has images of various companies, I also have a image
(can be a simple textbox) that says 'case studies'

1. What I would like to do is when the user clicks on 'case studies'
textbox/image
2. It displays/reveals the images (again this could be just several
textboxes) of each of the companies that there are case studies for
3. then the user can click which one case study they would like to see and
the textbox can be linked to that slide (this bit I can do!)

I would like to keep all this interaction on one slide and jump to each case
study slide

I hope this make sense.

Sanj
 
D

David M. Marcovitz

Is there an overriding reason why you need to keep it to one slide? With two
slides, you can do everything you described very easily. With one slide,
you'll have to use macros, which will add much more complexity than an extra
slide, particularly if you are not proficient with macros.

I would simply make two slides, one with the "case sudies" and one without.
The one without hyperlinks to the slide with the case stuides by clicking on
or mouse overing (or is that mousing over?) the word or image for "case
studies." Only you have to know that these are different slides.

If you want help with a macro solution, let us know, but I recommend against
it.

--David

David Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
S

sanj

I'm sorry but I do need keep it on one slide, I would appreciate using
macros.

I have also playing around with creating forms that have images for case
studies, that goto a particular slide however when a slide is moved it goes
to the wrong slide.

Regards,

Sanj
 
D

David M. Marcovitz

I'm very skeptical, but I will take your word for it that you need to
keep it on one slide. Just to be clear, the two-slide solution will
likely take you a few minutes to implement while the macro solution
(unless you are already familiar with the basics of macros in PowerPoint)
will likely take you a few hours to implement. Now that I've warned
you...

To get started, you will want to check out the Programming PowerPoint
section of the PPT FAQ:

http://www.rdpslides.com/pptfaq/#PROGRAMMING_POWERPOINT

Or you will want to check out my book about using macros in PowerPoint:

http://www.loyola.edu/education/PowerfulPowerPoint/

The basic thing you want to do is write some macros that show shapes and
write some macros that hide shapes. For example:

Sub ShowMyShapes()
ActivePresentation.SlideShowWindow.View.Slide.Shapes(3) _
.Visible = True
ActivePresentation.SlideShowWindow.View.Slide.Shapes(4) _
.Visible = True
ActivePresentation.SlideShowWindow.View.Slide.Shapes(5) _
.Visible = True
End Sub

Sub HideMyShapes()
ActivePresentation.Slides(1).View.Slide.Shapes(3) _
.Visible = False
ActivePresentation.Slides(1).View.Slide.Shapes(4) _
.Visible = False
ActivePresentation.Slides(1).View.Slide.Shapes(5) _
.Visible = False
End Sub

But the details will all be very important and will depend on all the
details of what you want to do.

--David
--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
S

sanj

Thanks Guys, Steve when you say 'Tag' what exactly does this mean? is this
done through VB?

How do you know what shape number you are refering to - is there something
you can click on to see the shapes property?

Also if was to purchase your StarterStep Plus will I need to make sure each
person presenting has it installed on their machines?

Thanks,

Sanj
 
S

sanj

Thanks Steve for your email, I got this working (I was placing the code in
the slide VB code instead of in a module)

Could I ask how can I set that shapes are always hidden when the show
starts, with the ToggleVisibility() code if you set it visible in a show
then end the show and restart it the shapes are then visible, I would like
them to be hidden always whenever the show starts.

BTW great product ( PPTools!)

Thanks,

Sanjay




Steve Rindsberg said:
Thanks Guys, Steve when you say 'Tag' what exactly does this mean? is this
done through VB?

VB or VBA, yes.

Each Presentation, Slide or Shape has a Tags collection that consists of named
strings.

For example, given a reference to a shape in oShp, you could:

oShp.Tags.Add "TagName", "TagValue"

Then later

Msgbox oShap.Tags("TagName")
How do you know what shape number you are refering to - is there something
you can click on to see the shapes property?

Also if was to purchase your StarterStep Plus will I need to make sure each
person presenting has it installed on their machines?

StarterSet plus has a kind of object inspector that shows you (and lets you
edit) tags, the shape name and in some cases, link paths.

The tags and other properties it sets are part of PowerPoint itself ... once
set, they're part of the presentation, and your code running on any copy of PPT
can access them. No need for StarterSet to be present.

It's just like setting a shape's fill color to Blue. You can do it manually or
with code or an addin can do it, but any copy of PPT will still display the
shape's fill as blue.

Tags are the same; the only difference is that there's no user interface to
them other than ones we write for ourselves.

If all you need to do is set a few tag values, it's simple enough to code; we
can help you with that. Just ask ...
Thanks,

Sanj

 
D

David M. Marcovitz

There are a few ways to go about this. My preferred way is to have a
button on the first slide that says something like "Get Started." This
runs a procedure that does all the housecleaning, including hiding all
the shapes that need to be hidden, initializing all the variables, etc.
Additionally, it jumps to the next slide with
ActivePresentation.SlideShowWindow.View.Next. If you are in kiosk mode,
users have to click on this button to go on, so they are guaranteed to be
have this procedure run.

Another alternative is set everything up hidden and try to guarantee that
your presentation doesn't get saved while objects are showing. This could
be done with

ActivePresentation.Saved = True

in any procedure that changes things on the slides. This will fool
PowerPoint into thinking that the presentation is saved, so it won't ask
when you quit out of PowerPoint.

Finally, you can use an add-in to trap events and run your GetStarted
procedure when the slide show is open. This can work, but I believe it
only works on machines with the add-in loaded (not so great for stuff you
need to distribute).

--David
--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
S

sanj

Thanks David - I could you use the 'Get Started' looks like the most
easiest, is there not a 'onendshow' or 'onslideshow' in PowerPoint?

Regards,

Sanj
 
S

sanj

Thanks Steve,

That's great, the only problem is if the presenter uses a mouse a the front
screen it will not work if the page up /space bar are used, its a shame you
cannot add the macro to when the first slide is viewed.

Regards,

Sanjay



Steve Rindsberg said:
Thanks Steve for your email, I got this working (I was placing the code in
the slide VB code instead of in a module)

Ah, thanks for mentioning that. I hadn't thought of that trick.
Could I ask how can I set that shapes are always hidden when the show
starts, with the ToggleVisibility() code if you set it visible in a show
then end the show and restart it the shapes are then visible, I would like
them to be hidden always whenever the show starts.

I'd do it this way: make the first slide of the presentation a welcome screen.
Add a button or a full screen rectangle or whatever, just something that the
user clicks to begin the show.

That shape gets assigned a Run Macro action setting.
The macro it's assigned to runs through the whole presentation and makes each
tagged shape invisible:

Sub HideThemAll()
Dim oSh as Shape
Dim oSl as Slide
For each osl in ActivePresentation.Slides
For each oSh in oSl.Shapes
If oSh.Tags("ToggleMe") = "YES" Then
oSh.Visible = False
End if
Next
Next
' and advance to slide 2 to start the show
ActivePresentation.SlideShowWindow.View.GotoSlide(2)

End Sub
BTW great product ( PPTools!)

Thanks,

Sanjay

Steve Rindsberg said:
Thanks Guys, Steve when you say 'Tag' what exactly does this mean?
is
this
done through VB?

VB or VBA, yes.

Each Presentation, Slide or Shape has a Tags collection that consists
of
named
strings.

For example, given a reference to a shape in oShp, you could:

oShp.Tags.Add "TagName", "TagValue"

Then later

Msgbox oShap.Tags("TagName")

How do you know what shape number you are refering to - is there something
you can click on to see the shapes property?

Also if was to purchase your StarterStep Plus will I need to make
sure
each
person presenting has it installed on their machines?

StarterSet plus has a kind of object inspector that shows you (and
lets
you
edit) tags, the shape name and in some cases, link paths.

The tags and other properties it sets are part of PowerPoint itself
....
once
set, they're part of the presentation, and your code running on any
copy
of PPT
can access them. No need for StarterSet to be present.

It's just like setting a shape's fill color to Blue. You can do it manually or
with code or an addin can do it, but any copy of PPT will still
display
the
shape's fill as blue.

Tags are the same; the only difference is that there's no user
interface
to
them other than ones we write for ourselves.

If all you need to do is set a few tag values, it's simple enough to
code;
we
can help you with that. Just ask ...


Thanks,

Sanj
 

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