+ Reply to Thread
Results 1 to 6 of 6

Thread: metro interface

  1. #1
    droctoganapus86's Avatar
    droctoganapus86 is offline x10Hosting Member droctoganapus86 is an unknown quantity at this point
    Join Date
    Nov 2010
    Posts
    49

    Exclamation metro interface

    I am trying to build something like the metro interface.

    I have several tiles, which i would like to get bigger on mouseEnter, and get smaller on mouseLeave.

    I've tried jquery Animate, but that messes up the float properties.

    anyone who could push me in the right direction?

    also, little demo over here

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: metro interface

    Quote Originally Posted by droctoganapus86 View Post

    I am trying to build something like the metro interface.
    Which is ?
    Nothing is always absolutely so.

  3. #3
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: metro interface

    Quote Originally Posted by descalzo View Post
    Which is ?
    That's the new start/touchscreen interface for Windows 8.

    And yes, messing about with the size of floating things is going to cause problems with content reflow. You'll need to provide stable anchor containers that won't need to reflow when the tiles the user can see resize (yes, more markup -- hooray!) or use (transparent) borders that shrink as the content expands. To scale up to window size, you'd probably want to duplicate the tile as an overlay and animate that instead. (Just conceptualizing; I haven't tried it yet.)
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  4. #4
    droctoganapus86's Avatar
    droctoganapus86 is offline x10Hosting Member droctoganapus86 is an unknown quantity at this point
    Join Date
    Nov 2010
    Posts
    49

    Re: metro interface

    so what you're saying is basically:
    mess with borders, or make a copy of the tile in the required size and display that?

  5. #5
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: metro interface

    That's about the size of it, yes, although "making a copy" would mean placing a new tile of the same size over top of the existing one, then dynamically scaling the copy. It would look like the original tile is being zoomed, but since it's on a different z-level it won't push any of the existing tiles around.

    The only other solutions I can think of would mean de-floating the tiles and "pinning" them (using absolute positioning, probably with negative margins so you can place the pins somewhere other than the top-left corner), but that would make things resolution-dependent unless you go for a fixed two-high stack to accommodate the smallest expected screen rez and force horizontal scrolling (which is probably more acceptable than forcing a width and vertical scroll). Or you could do everything on a canvas and deal with the usability and JS programming issues...
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  6. #6
    droctoganapus86's Avatar
    droctoganapus86 is offline x10Hosting Member droctoganapus86 is an unknown quantity at this point
    Join Date
    Nov 2010
    Posts
    49

    Re: metro interface

    I am not that much of a html hero... i'll just go and mess around

+ Reply to Thread

Similar Threads

  1. Great New Interface
    By webdragon4002 in forum Off Topic
    Replies: 2
    Last Post: 03-04-2010, 12:47 PM
  2. Odd behaviour of interface
    By algeorge in forum Free Hosting
    Replies: 2
    Last Post: 10-12-2009, 09:28 AM
  3. HP Mie interface
    By anger2headshot in forum Computers & Technology
    Replies: 1
    Last Post: 02-16-2009, 10:42 AM
  4. Fallout 3 Metro Center ads ruin some guys day
    By Kayos in forum Gamer's Lounge
    Replies: 4
    Last Post: 10-26-2008, 02:49 PM
  5. Interface
    By nightscream in forum Graphics & Webdesign
    Replies: 22
    Last Post: 11-01-2006, 08:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers