[Proto-Scripty] Re: Float sortable causes newline

2008-09-09 Thread Diodeus

Wrap each image in a DIV, them make the DIVs sortable.

On Sep 9, 10:00 am, David Sveningsson [EMAIL PROTECTED] wrote:
 Hi, I'm new with scriptaculous and I'm having some issues with sortable.
 What I have is some images with float:left divided into two groups which
 I want to allow the user to sort.

 The sorting works great except when I move an image last in any group
 which causes the image to appear below the others on a new row.

 A testcase can be found here:http://ruri.sidvind.com/static-20080909.html

 I can't really figure out what I am doing wrong so any ideas would be
 great. Thanks!
 --

 //*David Sveningsson [eXt]*

 Freelance coder | Game Development Studenthttp://sidvind.com

 Thou shalt make thy program's purpose and structure clear to thy fellow
 man by using the One True Brace Style, even if thou likest it not, for
 thy creativity is better used in solving problems than in creating
 beautiful new impediments to understanding.

  signature.asc
  1KViewDownload
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Float sortable causes newline

2008-09-09 Thread Diodeus

Did you put style='float:left' on your DIVs?

On Sep 9, 11:26 am, David Sveningsson [EMAIL PROTECTED] wrote:
 Diodeus skrev:

  Wrap each image in a DIV, them make the DIVs sortable.

 Thanks for your reply.

 I tried but the only difference is that the divs is placed below the row
 but over the previous content. That is the same as before but no new
 space is added between the images and the content below.



  On Sep 9, 10:00 am, David Sveningsson [EMAIL PROTECTED] wrote:
  Hi, I'm new with scriptaculous and I'm having some issues with sortable.
  What I have is some images with float:left divided into two groups which
  I want to allow the user to sort.

  The sorting works great except when I move an image last in any group
  which causes the image to appear below the others on a new row.

  A testcase can be found here:http://ruri.sidvind.com/static-20080909.html

  I can't really figure out what I am doing wrong so any ideas would be
  great. Thanks!
  --

  //*David Sveningsson [eXt]*

  Freelance coder | Game Development Studenthttp://sidvind.com

  Thou shalt make thy program's purpose and structure clear to thy fellow
  man by using the One True Brace Style, even if thou likest it not, for
  thy creativity is better used in solving problems than in creating
  beautiful new impediments to understanding.

   signature.asc
   1KViewDownloa

 --

 //*David Sveningsson [eXt]*

 Freelance coder | Game Development Studenthttp://sidvind.com

 Thou shalt make thy program's purpose and structure clear to thy fellow
 man by using the One True Brace Style, even if thou likest it not, for
 thy creativity is better used in solving problems than in creating
 beautiful new impediments to understanding.

  signature.asc
  1KViewDownload
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---