Tagged: javascript RSS Toggle Comment Threads | Keyboard Shortcuts

  • liduan 1:20 am on August 2, 2010 Permalink | Reply
    Tags: , javascript, , mind maps,   

    kap lab is a flex framework for data visualization, it can provide a mind maps solution. there are some online mind mapping in web2.0, js also can do mind mapping like wiseMapping, InfoVis is a js framework for data visualization. or using jQuery. Now, html5 is further solution for mind mapping.

     
  • liduan 1:00 pm on July 10, 2009 Permalink | Reply
    Tags: , html, javascript, , ,   

    enable javascript and other HTML element in wordpress MU. open wp-includes/kses.php find following line

    $allowedposttags = array(
    

    add following codes

    		'script' => array(
    'type' => array(),
    'src' => array(),
    'language' => array()
    ),
    'noscript' => array(
    ),
    'object' => array(
    'height' => array(),
    'width' => array(),
    'type' => array(),
    'data' => array(),
    'allowfullscreen' => array(),
    'id' => array()
    ),
    'param' => array(
    'name' => array(),
    'value' => array()
    ),
    'embed' => array(
    'width' => array(),
    'height' => array(),
    'type' => array(),
    'src' => array(),
    'allowfullscreen' => array()
    ),
    'coolcode' => array(
    'lang' => array()
    ),
    //over
    
     
  • liduan 10:55 am on July 1, 2009 Permalink | Reply
    Tags: , , javascript, ,   

    format ’12345′ to ’12,345′ javasc … 

    format ’12345′ to ’12,345′

    javascript:
    string.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, function(s){return s+","})

    ruby:
    string.gsub(/(\d)(?=(\d\d\d)+(?!\d))/) { |match| match + ',' }

    DecimalFormat class also can be used.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel