This online tool assists in creating a custom arrow box using CSS and a few images:
http://cssarrowplease.com/
Snippets of code and tricks that would otherwise be forgotten. Useful for me, hopefully for you too.
Thursday, September 13, 2012
Wednesday, September 12, 2012
jQuery.syntax()
I've been researching automated syntax hi-lighters and jQuery.syntax() is starting to look like a good option. Heck, it would even make this blog look better! Check it out:
http://www.oriontransfer.co.nz/projects/jquery-syntax/index.en
http://www.oriontransfer.co.nz/projects/jquery-syntax/index.en
Tuesday, September 11, 2012
Send javascript variables from drupal module to js
drupal_add_js(array('mymodule' => array(
'username' => 'Anthony',
'uid' => 123,
'likes' => array('ice cream', 'peanuts', 'coffee'),
)), 'setting');
Subscribe to:
Posts (Atom)