Full FlashMX 2004 rule set: The following will validate that the page complies fully with the flashMX 2004 specification. valid_elements : “” +”a[href|target],” +”b,” +”br,” +”font[color|face|size],” +”img[src|id|width|height|align|hspace|vspace],” +”i,” +”li,” +”p[align|class],” +”h1,” +”h2,” +”h3,” +”h4,” +”h5,” +”h6,” +”span[class],” +”textformat[blockindent|indent|leading|leftmargin|rightmargin|tabstops],” +”u” add custom buttons http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/theme_advanced_buttons_1_n
Category Archives: HTML – XHTML
Install FCKeditor
Header <script type=”text/javascript” src=”Scripts/fckeditor/fckeditor.js”></script> Body <script type=”text/javascript”> window.onload = function() { var oFCKeditor = new FCKeditor( ‘n_message_<?php echo $cnt1; ?>’ ) ; oFCKeditor.BasePath = “Scripts/fckeditor/” ; oFCKeditor.Height = 600 ; oFCKeditor.Width = 800 ; oFCKeditor.ReplaceTextarea() ; } </script> Config \Scripts\editors\fckeditor\editor\filemanager\connectors\php end edit the config.php // Path to user files relative to the document root. …
PHP array Form Post
Form Code <label> <input type=”checkbox” name=”oik_stoxoi[]” id=”ergasia” value=”Me perisoteri ergasia” /> Με περισσότερη εργασία</br><br> </label> <label><input type=”checkbox” name=”oik_stoxoi[]” id=”ergasia” value=”Me perisotero Pragramatismo” /> Με περισσότερο προγραμματισμό</br><br> </label> <label> <input type=”checkbox” name=”oik_stoxoi[]” id=”ergasia” value=”Me perisoteri tolmi” />Mε περισσότερη τόλμη</label> PHP action Code <?php for ($i=0; $i<count($_POST[‘oik_stoxoi’]); $i++){ $assistivetech_req .= addslashes($_POST[‘oik_stoxoi’][$i].” – “); //do this //echo $assistivetech_req; …
Special Characters & Symbols in HTML
Alternatives The column on the left in the following table contains codes that do not work in all browsers. The codes in the column on the right do. So use the codes on the right for these symbols to avoid unpleasant surprises.
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>
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>