Latest posts to the library

What the heck is.. uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.appendChild]” nsresult: “0×80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)” location: “JS frame :: PATH_TO_MY_JAVASCRIPT_FILE :: THE_METHOD_NAME :: line #” data: no] For me it was just an appendChild() that was causing the problems. You can always try the innerHTML+= way if all else fails

So you received an error 406 while trying to upload a file and you have no idea to fix it! Create a “.htaccess” file in the root of your local website and add the following into it: <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>

I often have to show a shortened version of a news item and then a link to show the entire news article or whatever. Here’s a way to get that short text! function shortText($text, $length){ if( strlen($text) &gt; $length ) return substr(preg_replace(‘/(&lt;\/?)(\w+)([^&gt;]*&gt;)/’, ”, $text), 0, $length)."…"; return preg_replace(‘/(&lt;\/?)(\w+)([^&gt;]*&gt;)/’, ”, $text); }

www.andrewodendaal.com/ak/ ran a webscan today returning results of online sites and has retrieved a list of a few thousand items every half hour. The test will run until a softcap is reached at 52K.

I came across this site today: http://www.adidas.com/campaigns/adidasdfb/content/locale/com/?strcountry_adidascom=uk It is a game made and run on the adidas site.. Play it, it’s quite cool. Nice flash site to whoever made it!



back to top