Change Color of an Object When Selected & Navigation Bar

R

RC@CRA

I am working in Publisher 2003 and using a template to create my website. I
have created links to products we represent using their company logo (which
directs the customer to that particular company's website). Each logo is
uniform in size and I have added a shadow to each one using the "3-D
Settings" toolbar. I set each shadow to be burgandy. Is there a way to make
the shadow turn orange when a user clicks on it or rolls over it with a
mouse? Also, I am curious to how this is done because I am using a
pre-existing navigation bar that came on the template and was wondering if
there was a way to change it's colors. The bullets for each nav. option are
burgandy and then change to orange when you are on the page - is there a way
to customize this color change from the object wizard or color schemes.
Please advise. Thank you!! (I am a newbie to web design).
 
D

DavidF

Publisher produces static pages and has no built-in support for this type of
dynamic mouseover effect, or specifically an image rollover effect. However,
you can achieve a lot of different dynamic functionality using javascript
which you insert into your page via insert > html code fragment feature.

Go to sites such as http://www.dynamicdrive.com/ ,
http://www.htmlgoodies.com/ and
http://www.javascriptkit.com/cutpastejava.shtml and look at the free
javascript code that is available and see if any of that will do what you
want. It sounds like you are looking for a javascript image rollover effect,
and you might also be able to google for the code. Then just copy, paste and
insert a code fragment box and test it to see if it will work as desired in
your Publisher web page.

I would suggest that you avoid the temptation to add too many bells and
whistles to your pages...keep it simple and don't distract from the message.

I would also be sure to preview your logos with the shadow in both IE and
FireFox before you invest much time in this. I suspect you may find the
final look of the image is not acceptable and you may want to scrap the
whole plan.

DavidF
 
E

Eric James

DavidF is correct in saying that the sort of effects you are after can be
achieved by using Javascript code, but the preferred method now would be to
use CSS styling. This is generally much easier to do than Javascript coding,
and can be applied to pages generated by Publisher, but this will be pretty
tedious and you may soon find that Publisher is not the tool to be using for
this sort of thing.
There are hundreds of web pages to be found carrying tutorials and
documentation on how CSS works, and numerous books available.
Refer to Google.
 
S

Spike

RC

is there a way to customize this color change from the object wizard or
color schemes

YES indeed there is. You can create a custom color scheme that will do just
what you ask. Go to > format > color schemes and select one of the canned
schemes or use the option near the bottom of the side window to create your
own.

Spike
 

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