put your image in the background of your div, and then use the background
position style to set the visible part of your background,
I think it is what you want,

- Cheers,


On Thu, Oct 22, 2009 at 11:14 AM, rutherford <[email protected]>wrote:

>
> doesn't crop the image though - I want just to show say the Left most
> part of the image, not resize the image to fit the new smaller div?
>
> On Oct 22, 7:29 am, "Steve Onnis" <[email protected]> wrote:
> > Make the image 100% width and height inside the div and just resize the
> div
> > holding it
> >
> >
> >
> > -----Original Message-----
> > From: CroNiX [mailto:[email protected]]
> > Sent: Thursday, 22 October 2009 5:23 PM
> > To: MooTools Users
> > Subject: [Moo] Re: crop and morph
> >
> > havent tried but I would think you would morph the div AND the image
> > height/width at the same time.
> >
> > On Oct 21, 7:15 pm, rutherford <[email protected]> wrote:
> > > Hi
> > > don't suppose anyone has been able to successfully morph a div with an
> > > image inside it to a smaller crop of the same image using mootools?
>



-- 
http://tbela99.blogspot.com/

fax : (+33) 08 26 51 94 51

Reply via email to