Thursday, September 24, 2009

gmail is not working

Again, at the time I need it...

Monday, September 21, 2009

redskin won

I just can NOT believe it.

Wednesday, September 24, 2008

javascript speed test

Thursday, August 07, 2008

Deferred javascript in firefox

With closing of this bug, the javascript with "defer='defer'" setting finally functions as what it should.

Labels:

Best javascript chart generator

Here is a list of best chart generating javascript tools.

Labels: , , , ,

Online Olympics program stream

This one is still broadcasting Olympics games.

Labels: ,

Monday, July 14, 2008

Dynamically generate select options in xhtml

This example shows how to generate options for select tag in HTML or XHTML.

<?xml version="1.0" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
    lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Solvent</title>
<script type="text/javascript">
<![CDATA[
var xhtmlNS = "http://www.w3.org/1999/xhtml";
function generateOptions( ){
//Get the select via DOM
 var vSelect1 = document.getElementById("Select1");

 var i;
 for( i = 0 ; i < 10; i ++ ){
  //Created the option element 
  var vOption = document.createElementNS(xhtmlNS, "option");
  //Set the value
  vOption.setAttributeNS( null, "value", "value" + i );
  //Create the textnode for the option
  var vText = document.createTextNode( "text"+ i );
  //Append the textnode to the option element
  vOption.appendChild( vText );
  //Append the option element to the select element
  vSelect1.appendChild( vOption );
 }
}
]]>
</script>
</head>
<body onload="generateOptions()">
<form id="selectForm">
<select id="Select1"></select>
</form>
</body>
</html>

1 million iphone 3G in 3 days

News about 1 million iphone 3G sold in 3 days. This is hilarious, I am waiting to see some iphone visit to my blog.

Thursday, July 10, 2008

inard of an iphone 3G

From ifixit.com with love.

Tuesday, July 08, 2008

firefox 3.1 bug evolution chart

Link.