Table/Cell Background

How do I change Table/Cell Background Image by code using JavaScript.

Ex: When I move the mouse over a cell, the cell's background image is changing to a different image.

Please Help
manh2000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MarineCommented:
do you know how to do rollovers ?
0
manh2000Author Commented:
Do you mean changing an image when the mouse rollovers? If it is then Yes.
0
wistexCommented:
I don't have an answer for manh2000, but I do have an answer for Marine.  

HOW TO DO ROLLOVERS

If you are using FrontPage 2000, simply edit the page properties.  There is a checkbox for enabling rollover effects and a button where you can edit the effect.

Or just try playing with the code below.

Here is the code that FrontPage 2000 inserts into the html:

<style fprolloverstyle>A:hover {color: #FF0000; font-weight: bold}
</style>

The above example causes the text to become bold and red when the mouse is over the link.

<style fprolloverstyle>A:hover {color: #FF0000; font-size: 14pt; font-family: Arial; text-transform: uppercase; font-style: italic; font-weight: bold}

The above example makes the link become red, bold & italic, 14pt, Arial, and in all uppercase (yelling at you).  Not very pretty, but a good example of some of the things you can do with it.

You could probably just use this code, modify it and insert it into your own html in FrontPage 98 or any other html editor for that matter.

This example uses styles to create the rollover effect.  I've seen some Javascript examples, but don't have any code on hand to show that way of implementing rollovers.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

wistexCommented:
Opps!  Don't forget the closing </style> tag on that 2nd example above.  I missed that part when I cut and pasted.
0
SiteSeeCommented:
This is how:
Format...Dynamic HTML Effects....in the little menu that pops-up <Choose an Event>...Mouseover....<Choose an Effect>....Formatting....<Choose Setings>...Choose Border.....Shading....Patterns....Background Picture...Browse...find your image...done...
Cheers...

Steve
0
SiteSeeCommented:
That should've been posted as an answer...

This is how:
In FrontPage...
Format...Dynamic HTML Effects....in the little menu that pops-up <Choose an Event>...Mouseover....<Choose an Effect>....Formatting....<Choose Setings>...Choose Border.....Shading....Patterns....Background Picture...Browse...find your image...done...

Cheers...

Steve
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.