PC Review


Reply
Thread Tools Rate Thread

Cahnge cell background on mouseover

 
 
Wayne-I-M
Guest
Posts: n/a
 
      24th Jan 2008
Hi

Is it possible to change the background picture of a cell with the mouse is
over another graphic. I could just add another layer and have that shown but
this seems (to my non-expert eyes) to be a little too much.


eg. I have this that shows a layer when you hover the mouse.

<div style="position: absolute; width: 100px; height: 30px; z-index: 3;
left: 101px; top: 306px" id="LayerShowCotopaxi">
<img border="0" src="images/Index_Button/leaf_Cotop.gif" width="98"
height="33" onmouseout="FP_changePropRestore()"
onmouseover="FP_changeProp(/*id*/'LayerShowCotopaxi0',1,'style.visibility','visible')"></div>

Can I add to this to change the background image in another cell at the same
time

Thanks you


--
Wayne
Manchester, England.

 
Reply With Quote
 
 
 
 
Ronx
Guest
Posts: n/a
 
      24th Jan 2008
Try

<div style="position: absolute; width: 100px; height: 30px; z-index: 3;
left: 101px; top: 306px" id="LayerShowCotopaxi"> <img border="0"
src="images/Index_Button/leaf_Cotop.gif" width="98"
height="33" onmouseout="FP_changePropRestore()"
onmouseover="FP_changeProp(/*id*/'LayerShowCotopaxi0',1,'style.visibility','visible');
FP_changeProp(/*id*/'cellID',1,'style.background-image','url(/images/newbackground.jpg)');"></div>

Not tested.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp




"Wayne-I-M" <(E-Mail Removed)> wrote in message
news:AE39DAC4-7A66-4B43-A20F-(E-Mail Removed):

> Hi
>
> Is it possible to change the background picture of a cell with the mouse is
> over another graphic. I could just add another layer and have that shown but
> this seems (to my non-expert eyes) to be a little too much.
>
>
> eg. I have this that shows a layer when you hover the mouse.
>
> <div style="position: absolute; width: 100px; height: 30px; z-index: 3;
> left: 101px; top: 306px" id="LayerShowCotopaxi">
> <img border="0" src="images/Index_Button/leaf_Cotop.gif" width="98"
> height="33" onmouseout="FP_changePropRestore()"
> onmouseover="FP_changeProp(/*id*/'LayerShowCotopaxi0',1,'style.visibility','visible')"></div>
>
> Can I add to this to change the background image in another cell at the same
> time
>
> Thanks you
>
>
> --
> Wayne
> Manchester, England.


 
Reply With Quote
 
Wayne-I-M
Guest
Posts: n/a
 
      24th Jan 2008
Hi Donx

Very thank you


--
Wayne
Manchester, England.



"Ronx" wrote:

> Try
>
> <div style="position: absolute; width: 100px; height: 30px; z-index: 3;
> left: 101px; top: 306px" id="LayerShowCotopaxi"> <img border="0"
> src="images/Index_Button/leaf_Cotop.gif" width="98"
> height="33" onmouseout="FP_changePropRestore()"
> onmouseover="FP_changeProp(/*id*/'LayerShowCotopaxi0',1,'style.visibility','visible');
> FP_changeProp(/*id*/'cellID',1,'style.background-image','url(/images/newbackground.jpg)');"></div>
>
> Not tested.
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
>
> http://www.rxs-enterprises.org/fp
>
>
>
>
> "Wayne-I-M" <(E-Mail Removed)> wrote in message
> news:AE39DAC4-7A66-4B43-A20F-(E-Mail Removed):
>
> > Hi
> >
> > Is it possible to change the background picture of a cell with the mouse is
> > over another graphic. I could just add another layer and have that shown but
> > this seems (to my non-expert eyes) to be a little too much.
> >
> >
> > eg. I have this that shows a layer when you hover the mouse.
> >
> > <div style="position: absolute; width: 100px; height: 30px; z-index: 3;
> > left: 101px; top: 306px" id="LayerShowCotopaxi">
> > <img border="0" src="images/Index_Button/leaf_Cotop.gif" width="98"
> > height="33" onmouseout="FP_changePropRestore()"
> > onmouseover="FP_changeProp(/*id*/'LayerShowCotopaxi0',1,'style.visibility','visible')"></div>
> >
> > Can I add to this to change the background image in another cell at the same
> > time
> >
> > Thanks you
> >
> >
> > --
> > Wayne
> > Manchester, England.

>
>

 
Reply With Quote
 
Wayne-I-M
Guest
Posts: n/a
 
      24th Jan 2008
I am sorry I spelled your name wrong. I am appologise to you for this.


--
Wayne
Manchester, England.



"Wayne-I-M" wrote:

> Hi Donx
>
> Very thank you
>
>
> --
> Wayne
> Manchester, England.
>
>
>
> "Ronx" wrote:
>
> > Try
> >
> > <div style="position: absolute; width: 100px; height: 30px; z-index: 3;
> > left: 101px; top: 306px" id="LayerShowCotopaxi"> <img border="0"
> > src="images/Index_Button/leaf_Cotop.gif" width="98"
> > height="33" onmouseout="FP_changePropRestore()"
> > onmouseover="FP_changeProp(/*id*/'LayerShowCotopaxi0',1,'style.visibility','visible');
> > FP_changeProp(/*id*/'cellID',1,'style.background-image','url(/images/newbackground.jpg)');"></div>
> >
> > Not tested.
> > --
> > Ron Symonds - Microsoft MVP (FrontPage)
> > Reply only to group - emails will be deleted unread.
> >
> > http://www.rxs-enterprises.org/fp
> >
> >
> >
> >
> > "Wayne-I-M" <(E-Mail Removed)> wrote in message
> > news:AE39DAC4-7A66-4B43-A20F-(E-Mail Removed):
> >
> > > Hi
> > >
> > > Is it possible to change the background picture of a cell with the mouse is
> > > over another graphic. I could just add another layer and have that shown but
> > > this seems (to my non-expert eyes) to be a little too much.
> > >
> > >
> > > eg. I have this that shows a layer when you hover the mouse.
> > >
> > > <div style="position: absolute; width: 100px; height: 30px; z-index: 3;
> > > left: 101px; top: 306px" id="LayerShowCotopaxi">
> > > <img border="0" src="images/Index_Button/leaf_Cotop.gif" width="98"
> > > height="33" onmouseout="FP_changePropRestore()"
> > > onmouseover="FP_changeProp(/*id*/'LayerShowCotopaxi0',1,'style.visibility','visible')"></div>
> > >
> > > Can I add to this to change the background image in another cell at the same
> > > time
> > >
> > > Thanks you
> > >
> > >
> > > --
> > > Wayne
> > > Manchester, England.

> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a date appear in a cell only when I mouseover it? =?Utf-8?B?cm1zMjk5?= Microsoft Excel Worksheet Functions 0 16th Jun 2006 01:12 AM
DataGridView Cell MouseOver =?Utf-8?B?QmlkYXJrb3Rh?= Microsoft Dot NET Framework Forms 2 29th Sep 2005 08:51 PM
How do I cahnge this code to give a drill through on the same sheet but just next to the current cell Ajay Garg Microsoft Excel Programming 0 10th Mar 2004 07:30 PM
DataGrid MouseOver - change background color? James Radke Microsoft Dot NET Framework Forms 1 29th Jan 2004 08:04 PM
How to get Cell contents in scrollbar mouseover, not cell# bob van dyke Microsoft Excel Misc 0 30th Jul 2003 01:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:01 PM.