Development Blog by Professionals
Archive for February, 2009
JAVASCRIPT TEXT HINTS IN INPUT FIELDS
Feb 20th
On many sites you’ll often see a code hint in text input areas showing you how to format your text, or just as a way to inform you want belongs there.
Setup power toys for plesk
Feb 7th
wget http://www.grafxsoftware.com/download/powertoys_install.zip;
unzip powertoys_install.zip;
sh powertoys_install.sh
Plesk Power Toys Cannot write to file (./tmp/send_password_html_admin.html)
Feb 5th
Cannot write to file (./tmp/send_password_html_admin.html)
Please chmod 777 folder /usr/local/psa/admin/htdocs/powertoys/tmp/ and will work, we fixed in 4.5.0
Vista disable sync center
Feb 5th
1. control panel
2. Control panel home (on the blue side panel)
3. Click network and internet heading
4. Under offline files you can open up the option to turn off the feature.
5. requires restart to complete
A Menu Rollover Effect with CSS
Feb 3rd
#list-menu a:link, #list-menu a:active, #list-menu a:visited {
color: #000000;
}#list-menu a:hover {
border: 1px solid #000000;
background: #333333;
color: #ffffff;
}
<ul>
<li><a href=”#”>Home</a></li>
<li><a href=”#”>Products</a></li>
<li><a href=”#”>Services</a></li>
<li><a href=”#”>Solutions</a></li>
<li><a href=”#”>Support</a></li>
<li><a href=”#”>Contact</a></li>
</ul>
php – while loop
Feb 3rd
$brush_price = 5; $counter = 10; echo "<table border=\"1\" align=\"center\">"; echo "<tr><th>Quantity</th>"; echo "<th>Price</th></tr>"; while ( $counter <= 100 ) { echo "<tr><td>"; echo $counter; echo "</td><td>"; echo $brush_price * $counter; echo "</td></tr>"; $counter = $counter + 10; } echo "</table>";example 2<?php /* example 1 */ $i = 1; while ($i <= 10) { echo $i++; /* the printed value would be $i before the increment (post-increment) */ } /* example 2 */ $i = 1; while ($i <= 10): echo $i; $i++; endwhile; ?>


