tinyMCE.init({ mode : “exact”, elements : “elementID1,elementID2…” });
Monthly Archives: November 2009
Display correctly Greek characters at subject of an email
You can use this function when the subject at an email is not displayed correctly. The idea is to base64_encode the subject header. Something like
Ajax – dynamic content with link history
Use this script to update content dynamicaly. Original source from http://www.unfocus.com/projects/historykeeper/
How to Load In and Animate Content with jQuery
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/ Author: James Padolsey I’m a freelance web developer based in Hampton, UK. I write about and enjoy front-end web development. Most of what I write focuses on my favorite topic, JavaScript! To read my blog or find out more about me please visit my site!
Paper size
ISO paper sizes (plus rounded inch values) Format A series B series C series Size mm × mm in × in mm × mm in × in mm × mm in × in 0 841 × 1189 33.1 × 46.8 1000 × 1414 39.4 × 55.7 917 × 1297 36.1 × 51.1 1 594 × …
Clean Word HTML using Regular Expressions
function cleanHTML($html) { /// /// Removes all FONT and SPAN tags, and all Class and Style attributes. /// Designed to get rid of non-standard Microsoft Word HTML tags. /// // start by completely removing all unwanted tags $html = ereg_replace(“<(/)?(font|span|del|ins)[^>]*>”,””,$html); // then run another pass over the html (twice), removing unwanted attributes $html = ereg_replace(“<([^>]*)(class|lang|style|size|face)=(\”[^\”]*\”|'[^’]*’|[^>]+)([^>]*)>”,”<\\1>”,$html); …
Continue reading “Clean Word HTML using Regular Expressions”