Wednesday, September 22, 2010

Re: change image onmouseover

As much as I adore jQuery, you don't need it just for a simple
mouseover

On Sep 22, 3:08 pm, Tilen Majerle <tilen.maje...@gmail.com> wrote:
> for this...like u want use javascript's jQuery library...it's just
> simple....http://api.jquery.com/hover/
> --
> Tilen Majerlehttp://majerle.eu
>
> 2010/9/22 cricket <zijn.digi...@gmail.com>
>
>
>
> > On Wed, Sep 22, 2010 at 7:35 AM, Smile <vanishr...@gmail.com> wrote:
> > > Hi ,
>
> > > Here am finding a difficulty with changing image on mouse over of
> > > existing image.
>
> > > Can any one help me please.
>
> > > My code is as fallows
>
> > > echo $form->submit('sign.gif',array(
> > >                                            'type'=>'image',
> > >                                            'div'=>false,
> > >                                            'id'=>'login',
> > >                                            'value'=>'login'));
> > >            ?>
>
> > > but onmouseover of sign.gif image ,new image newsign.gif has to
> > > display.
>
> > This is a CSS(or JS, if using ancient browsers) problem, not Cake (not
> > even PHP).
>
> > #id_of_input { width: ...px; height: ...px; background: url(...);
> > border: none; }
> > #id_of_input:hover { background: url(...); }
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.c­om>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: