Cahnge cell background on mouseover

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,'sty le.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.
WayneIM [ Do, 24 Januar 2008 10:20 ] [ ID #1915259 ]

Re: Cahnge cell background on mouseover

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,'sty le.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" <WayneIM [at] discussions.microsoft.com> wrote in message
news:AE39DAC4-7A66-4B43-A20F-7EE645AACB6B [at] microsoft.com:

> 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,'sty le.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.
Ronx [ Do, 24 Januar 2008 12:17 ] [ ID #1915262 ]

Re: Cahnge cell background on mouseover

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,'sty le.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" <WayneIM [at] discussions.microsoft.com> wrote in message
> news:AE39DAC4-7A66-4B43-A20F-7EE645AACB6B [at] microsoft.com:
>
> > 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,'sty le.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.
>
>
WayneIM [ Do, 24 Januar 2008 13:16 ] [ ID #1915264 ]

Re: Cahnge cell background on mouseover

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,'sty le.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" <WayneIM [at] discussions.microsoft.com> wrote in message
> > news:AE39DAC4-7A66-4B43-A20F-7EE645AACB6B [at] microsoft.com:
> >
> > > 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,'sty le.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.
> >
> >
WayneIM [ Do, 24 Januar 2008 13:59 ] [ ID #1915265 ]
Microsoft » microsoft.public.frontpage.client » Cahnge cell background on mouseover

Vorheriges Thema: HTTP Server Set up in WIndown XP
Nächstes Thema: cleaning up code