Buying JS programmer needed for something quick and easy (i think)

Discussion in 'Programming' started by stuuntn, Sep 30, 2012.

  1. #1
    Hello JS programmers,

    I'm in need of a clever individual that can type up something fairly simple for me. At least I THINK its simple. Here is what i'm looking for.

    IF window size is smaller than 1440px (in width) then the website will use div "A". (custom designed div style)
    IF window size is 1440px or larger (in width) then the website will use div "B". (a different custom designed div style)

    more details - I'm basically wanting to change the position of the website based on screen size (window size). my current theme uses styles similar to:
    (wrapper around content)
    position:relative;
    left:15%;

    this positions the layout a bit to the left but not centered.
    you can see why this might be an issue for people with smaller screens. the website is still 15% away from the left side of the browser and also forces the user to scroll right to see the remaining content (for those using a smaller screen resolution/browser size)! for these users they should acquire a margin:auto; affect which would place the website centered on their screen so they will not have to scroll right to see all the content.

    If you can do this and won't charge me over $50 bucks, send me a PM. Thanks in advance
     
    stuuntn, Sep 30, 2012 IP
  2. Crayz

    Crayz Well-Known Member

    Messages:
    708
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    120
    As Seller:
    100% - 1
    As Buyer:
    100% - 0
    #2
    Hello, I have sent you a PM.

    -Crayz
     
    Crayz, Sep 30, 2012 IP
  3. easic

    easic Active Member

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    70
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    You can use the same ID and media queries (no need for javascript)
     
    easic, Sep 30, 2012 IP