ေသးငယ္တဲ့ ျပဳလုပ္ေဆာင္ရြက္ခ်က္က ႀကီးမားတဲ့အေျပာသက္သက္ကို ေအာင္ႏိုင္တယ္။
အလုပ္အကိုင္ရွိမွ ႀကိဳးစားရေကာင္းမွန္းသိတဲ့ အခ်ိန္ထိ မေစာင့္နဲ႔
က်ရႈံးမွ သူတစ္ပါးရဲ႕ အသိေပးစကားကို သတိရေကာင္းမွန္းသိတဲ့ အခ်ိန္ထိ မေစာင့္နဲ႔
ဖ်ားနာမွ အသက္တစ္ေခ်ာင္းဟာ က်ဳိးပဲ့လြယ္တယ္လို႔ အသိရေကာင္းမွန္းသိတဲ့ အခ်ိန္ထိ မေစာင့္နဲ႔
ခ်မ္းသာၾကြယ္ဝမွ သူတစ္ပါးကိုကူညီရေကာင္းမွန္းသိတဲ့ အခ်ိန္ထိ မေစာင့္နဲ႔
Sunday, 20 February 2011
Wednesday, 4 August 2010
Wednesday, 28 July 2010
Tuesday, 6 July 2010
Exmple - Generate External XML file
// generate caption/subtitle xml file
$doc = new DOMDocument('1.0');
$tt = $doc->appendChild($doc->createElement("tt"));
$head = $tt->appendChild($doc->createElement("head"));
$styling = $head->appendChild($doc->createElement("styling"));
$styling->setAttribute("xmlns:tts", "http://www.w3.org/2006/10/ttaf1#style");
$style = $styling->appendChild($doc->createElement("style"));
$style->setAttribute("xml:id", "s1");
$style->setAttribute("tts:color", "white");
$style->setAttribute("tts:fontFamily", "proportionalSansSerif");
$style->setAttribute("tts:fontSize", "20px");
$style->setAttribute("tts:textAlign", "center");
$body = $tt->appendChild($doc->createElement('body'));
$div = $body->appendChild($doc->createElement('div'));
// save begin, end, style and text
$para = $div->appendChild($doc->createElement('p'));
$para->setAttribute("begin", "1");
$para->setAttribute("end", "5");
$para->setAttribute("style", "s1");
$para->appendChild($doc->createTextNode("Testing par"));
$doc->save($finalDest);
Labels:
XML
Friday, 2 July 2010
get url parameter (by specific para name)
get url parameter (For example if the current URL is "...?delete=1&id=testid" then calling getURLParam("id") will return "testid")
http://mattwhite.me/11tmr.nsf/D6Plinks/MWHE-695L9Z
http://mattwhite.me/11tmr.nsf/D6Plinks/MWHE-695L9Z
Labels:
Javascript
Subscribe to:
Posts (Atom)