A Menu Rollover Effect with CSS

#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

$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; …

Enable remote Connection sql server 2008

Did you enable TCP/IP from Configuration manager? By default it is disabled and you need to enable it to connect from a remote client.   To enable TCP/IP: 1. run SQL Server Configuration manager 2. select SQL Server Network Configuration 3. select Protocols for ‘instancename’ 4. right click on TCP/IP and select ‘enable’   Do …

Tinymce pagebreak button

<script language=”javascript” type=”text/javascript” src=”Scripts/tiny_mce/tiny_mce.js”></script> <script language=”javascript” type=”text/javascript”> // Notice: The simple theme does not use all options some of them are limited to the advanced theme tinyMCE.init({ mode : “textareas”,   height : “380”, width : “380”, theme : “advanced”, valid_elements : “img[src|border|alt=|title|width|height|align|class],a[href|target=_blank],b/strong,div[align],br,ol,li,ul,p,blockquote”, entity_encoding : “utf-8″, plugins :”pagebreak”, theme_advanced_buttons3 : “pagebreak”, pagebreak_separator : “<!– my …

Page break with php-fckeditor

php code <?php if (stripos($row_latestnews[‘nws_text_gr’],”<div style=\”page-break-after: always;\”><span style=\”display: none;\”>&nbsp;</span></div>”)<1) echo substr($row_latestnews[‘nws_text_gr’],0,180); else { $str=split(“<div style=\”page-break-after: always;\”><span style=\”display: none;\”>&nbsp;</span></div>”,$row_latestnews[‘nws_text_gr’]); echo $str[0]; } ?>