jack13580's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
11 (0.01 per day)
Joined:
20-October 11
Profile Views:
235
Last Active:
User is offline Oct 10 2012 06:38 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   jack13580 has not set their status

Posts I've Made

  1. In Topic: having a really hard time figuring something out

    Posted 5 Oct 2012

    what should it be then?
  2. In Topic: having a really hard time figuring something out

    Posted 5 Oct 2012

    you can see what I was working on here http://the-test.como.../color-test.php

    the code
    <html>
    <head>
    <style type="text/css">
    div {
    width: 100%;
    height: 5px;
    }
    </style>
    </head>
    <body>
    Black <br /><br />
    <?php
    $incr = array("2","3");
    $cnt = 0;
    for ($i = 0; $i <= 255; $i+= $incr[$cnt]) {
    
    echo '<div style="background-color: rgb('.$i.','.$i.','.$i.');"></div>';
    
    $cnt++;
    
    $cnt %= 2;
    }
    ?>
    <br />
    <br />
    To White
    <br /><br /><br />
    Black<br /><br />
    <?php
    for($i = 0;$i <= 255;$i++){
      echo '<div style="background-color: rgb('.$i.',0,0);"></div>';
    }
    ?>
    <br />
    <br />
    To Red
    </body>
    </html>
    
    
  3. In Topic: having a really hard time figuring something out

    Posted 5 Oct 2012

    thanks I got it working
  4. In Topic: having a really hard time figuring something out

    Posted 5 Oct 2012

    the very first time it counts I want it to stop counting by 3 but then start counting by 2 but after that 2 start counting by 3 again etc...

    I know this is possible in javascript but I don't want to go through the proccess of setting up the javascript to do this
  5. In Topic: having a really hard time figuring something out

    Posted 5 Oct 2012

    I want to have a for loop first count by 3 and after that 3 count by 2 then by 3 then by 2 and so on untill it reaches 238

    and I cannot remember how to do this

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

jack13580 hasn't added any friends yet.

Comments

jack13580 has no profile comments yet. Why not say hello?