The idea is to use the apache server on trixbox to host a home page on port 80 other than trixbox’s default home page, but being able to access the latter via an alternate port. I have a static ip address, and without purchasing an additional domain name I wanted to set something like …
Monthly Archives: November 2008
Feature Codes for Trixbox
Handset Feature Code Action *30 Blacklist a number *31 Remove a number from the blacklist *32 Blacklist the last caller *52 Call Forward No Answer/Unavailable Activate *53 Call Forward No Answer/Unavailable Deactivate *72 Call Forward All Activate *73 Call Forward All Deactivate *74 Call Forward All Prompting Deactivate *90 Call Forward Busy Activate *91 Call …
Making scrolling text with the use of the marquee tag on DIV
Scrolling upward text or vertical text. <div align=”center”> <marquee bgcolor=”#000080″ scrollamount=”2″ direction=”up” loop=”true” width=”35%”> <center> <font color=”#ffffff” size=”+1″><strong> THIS IS A COOL WAY<br> TO MAKE YOUR TEXT<br> SCROLL UPWARDS<br> <br> IT IS EASY AND FAST LOADING </strong></font> </center> </marquee></div>
CSS Alternate Colors Table Loop
CSS .rol_1{ background-color:#FFFFFF} .rol_2{ background-color:#CCCCCC} .rol_Hover{ background-color:#FFFF99} PHP Script On <TR> <?php do { ?> <tr class=”<?php echo ($ac_sw1++%2==0)?”rol_1″:”rol_2″; ?>” onmouseover=”this.oldClassName = this.className; this.className=’rol_Hover’;” onmouseout=”this.className = this.oldClassName;”> <td>loop</td> </tr> <?php } while ($row_travel_schedule = mysql_fetch_assoc($schedule)); ?>
CSS default Link Styles
<style type=”text/css”> <!– body,td,th { color: #FFFFFF; } a { font-size: 10px; color: #FFFFFF; } a:link { text-decoration: none; } a:visited { text-decoration: none; color: #FFFFFF; } a:hover { text-decoration: none; color: #CCCCCC; } a:active { text-decoration: none; color: #FFFFFF; } –> </style>
Tiny MCE HTML editor Set Height / Width
<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 : “a[href|target=_blank],b/strong,div[align],br,ol,li,ul,p,blockquote”, entity_encoding : “utf-8” }); </script>