Hah, no I don't really use IRC too much anymore - should I ?
there's some massive delay on messages in this group + they are not
delivered in order (weird), so I guess I could see a point of using
irc :)

Regarding your message:

The clone() function removes the id of the element, to make the
document
consistent (by not having 2 elements with the same id).
So you, shouldnt apply styles using the id on yout css, apply a class
and
use the class to apply your styles.

I know man, I don't assign styles via ids where I don't need to, still
not sure why do you think I did? The problem isn't the css but some
errors in JS while copying styles - the whole point of this class is
to make the dragged element independent from css and html on page

Thanks

On Feb 23, 5:41 pm, Fábio M. Costa <[email protected]> wrote:
> bootle, this is the same problem.
> The clone() function removes the id of the element, to make the document
> consistent (by not having 2 elements with the same id).
> So you, shouldnt apply styles using the id on yout css, apply a class and
> use the class to apply your styles.
>
> Heres the clone documentation:
>
> http://mootools.net/docs/core/Element/Element#Element:clone
>
> About the other problem i cant help you right now, but maybe later.
> Do you join the irc channel often?
> Cya.
>
> --
> Fábio Miranda Costa
> Solucione Sistemas
> Engenheiro de interfaces
>
> On Tue, Feb 23, 2010 at 12:51 PM, bootle <[email protected]> wrote:
> > Sorry for the last message (or a couple of them actually) it seems
> > I've been unable to post today.
>
> > Anyway, I'm writing it for the third time and it will be shorter this
> > time.. thanks for your answers.
>
> > Styles are not cloned, here's an example (based on yours):
> >http://mootools.net/shell/eqhfA/1/
>
> > Also, unfortunately your solution for float doesn't seem to work in
> > IE8 either, I'm trying to find a way to fix this one now tho
>
> > Anything you would think of on #1 - the opacity bug?
>
> > Cheers
>
> > On Feb 23, 2:19 pm, bootle <[email protected]> wrote:
> > > broken?
>
> > > On Feb 23, 12:45 am, Fábio M. Costa <[email protected]> wrote:
>
> > > > are you sure the styles are not cloned?
> > > > I think the problem is that you might be styling your div with the id
> > > > property, and its removed when you clone an element to avoid duplicated
> > ids.
>
> > > > But with this shell you can see that styles are cloned (clone function
> > would
> > > > make little sense if not).
>
> > > >http://mootools.net/shell/eqhfA/
>
> > > > Also, theres some code you could look and maybe overwrite your
> > getStyle, if
> > > > its the float property than you do something, else it uses the current
> > > > implementation.
>
> > > >https://mootools.lighthouseapp.com/projects/2706/tickets/756-elementg.
> > ..
>
> > > > i just updated it with some code.
>
> > > > --
> > > > Fábio Miranda Costa
> > > > Solucione Sistemas
> > > > Engenheiro de interfaces
>
> > > > On Mon, Feb 22, 2010 at 6:15 PM, bootle <[email protected]> wrote:
> > > > > Here's a version with classes contained in shell not a separate
> > > > > draggr.js file:http://mootools.net/shell/3QHLw/

Reply via email to