HTML + JS

Discussion in 'PHP' started by Freedom, 21 Jun 2009.

  1. Freedom

    Freedom Elder - Старейшина

    Joined:
    2 Jul 2007
    Messages:
    38
    Likes Received:
    92
    Reputations:
    8
    Ребят нужна помощь срочно. покажите плиз пример теста на html и JS чтобы выдавал ещё и график из двух колонок, слева колонка с кол-вом максимально возможных баллов а справа с набранными баллами.

    Заранее спасибо.
     
  2. astrologer

    astrologer Elder - Старейшина

    Joined:
    30 Aug 2007
    Messages:
    837
    Likes Received:
    267
    Reputations:
    59
    Code:
    <!doctype html>
    <html>
    <head>
      <meta http-equiv="content-type" content="text/html; charset=utf-8" />
      <title>Chjxysq ghbvth!!</title>
      <style>
    
    .chart
    {
      width: 150px;
      height: 150px;
      border: #ddd solid 1px;
      position: relative;
    }
    
    .chart *
    {
      position: absolute;
      width: 40px;
      bottom: 10px;
    }
    
    .chart .max
    {
      height: 120px;
      background: #F90;
      left: 30px;
    }
    
    .chart .real
    {
      height: 100px;
      background: #9E0;
      left: 80px;
    }
    
      </style>
    </head>
    <body>
    <div class="chart">
      <div class="max"></div>
      <div class="real"></div>
    </div>
    </body>
    </html>
    Осталось тест написать :)