Hi, You can use float for this purpose Like:
<div style="width:100%;float:left;">a</div> <div style="width:50%;float:left;">b</div><div style="width:50%;float:left;">c</div> you can use attr method for getting this. Regards, Anurag Pal On Tue, Aug 18, 2009 at 7:07 PM, Boris Trivic <trivu...@gmail.com> wrote: > > OK thanks for reply. > > Which function enables me to find out which div is puted on which? > Exaple: > > div1 div2 > > > div3 > > when I pul div 2 on div3, how i can find out which element is puted on > div3 (div1 or div2)? > > On Aug 18, 2:18 pm, anurag pal <mail.anurag....@gmail.com> wrote: > > Hi, > > > > You can acheive this with Jquery. > > > > Regards, > > Anurag Pal > > > > On Tue, Aug 18, 2009 at 12:55 AM, Boris Trivic <trivu...@gmail.com> > wrote: > > > > > Hi everyone. > > > > > I need to create one project (some kind of game) and I want to know, > > > is that possible create with jQuery? > > > > > Page should looks like this: > > > _---_---_---_---_ > > > ----------------------- > > > A B C D E F G > > > H I J K L M > > > N O P R S T > > > U V Z X Y Z > > > ---------------------- > > > > > word lines -> __ __ __ __ __ > > > > > _---_---_---_---_---_- > > > In upper part, there is alphabet and from it I have to pull chars on > > > lines in down part. > > > Behaviors of application: > > > > > 1 If char is not on correct place it shoul be different color. > > > 2 when I pull one char from upper table and drop it on line, it > > > shouldn't disapear from list of chars > > > 3 there must be possibility to pull out char from word lines > > > 4 when user moves char (ex: 20px) it should disapear from lines > > > > > I'm planing to put chars in <div> and maybe it will be image, but > > > that's not matter. I founded good documentation (draggable and > > > dropable)and I was reading for few minutes, and I thing it should be > > > possible. Is there any function, option or something that checks which > > > element is draged on which? > > > > > If someone has some good idea, link or some other kind of help, I'll > > > be thankfull for anything. > > > > > Thank you >