SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: Help please

  1. #1
    SitePoint Member
    Join Date
    Jan 2006
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help please

    I got a BIG problem and dont know how to fix it. anyway here is an example

    http://www.spoonlabs.com/dev/DragDrop.htm

    now the problem is that my table width is 200px, and width of dragable item is 70%, and as soon as you drag an item outside the box, it expands to the 70%width of the whole window. I tried with fixed widths, like px, or em, but then I have a major resolution compatibility, it doesn't look the same in 1152by864 and in 1024by768 and I need it to be same when item is inside/outside the box.
    don'n know if someone understand me so please follow the link above to see what i'm talking about. thanks

  2. #2
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If your draggable items are always going to be 70% of 200px (i.e. 140px) can't you just specify that?

  3. #3
    Non-Member jake4974's Avatar
    Join Date
    Jan 2006
    Location
    Down the road, it's where I'll always be
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yah, I can't honestly say i understand it, but
    just change your ul.boxy and ul.boxier widths to the same fixed width (ie both 140px), and it all seems good.

  4. #4
    Non-Member jake4974's Avatar
    Join Date
    Jan 2006
    Location
    Down the road, it's where I'll always be
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, that doesn't speak to the resolution problem you have at all. Sorry about that

  5. #5
    Non-Member jake4974's Avatar
    Join Date
    Jan 2006
    Location
    Down the road, it's where I'll always be
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried it a 3 different resolutions in both IE and FF (obviously I don't have a great deal else to do) and it seemed fine if you fix the same width on boxy and boxier

  6. #6
    SitePoint Member
    Join Date
    Jan 2006
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, i've fix the problem


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •