Tags

The following entries are tagged with “javascript”:

Facebook Style Multi Select

Facebook Style Multi SelectWe've got a couple of projects on the go right now where a Facebook style multi-select (with or without autocomplete) is a good fit for making the user interface more, err, useable.

As ever, searching around there are a number of options - especially given the number of Javascript frameworks around. For us, things are also complicated by the fact that not all our projects use the same Javascript libraries - we're not always responsible for the front-end code and as such some clients already have a dependency on, or a preference for a given library.

Read more of this entry

Prototype, emptyFunction and callbacks

Let’s say we have a JavaScript function that looks like this:

function plot(options) {
  options = options || {};
  this.onUpdate = options.onUpdate;

  //
  // more code to do something interesting
  //
}

Read more of this entry

Encode URL parameters in JavaScript

Last week I had the fun of trying to fix what appeared to be random InvalidAuthenticityToken exceptions coming from a page using Ajax requests. I eventually tracked the problem down to this snippet of JavaScript (and in my defence I didn't write the code, honest!):

Read more of this entry

Making a date with JavaScript and JSON

I’ve always enjoyed a kind of love/hate relationship with JavaScript, something which I think stems from my early exposure to using it on Microsoft platforms in the late 90’s, using half-baked debuggers, inconsistent browsers and a huge degree of trial and error. It’s not that I can’t write clever things in JavaScript, just that it’s not my most favourite job: if I can delegate to someone else I usually will!

Last week I was left with no choice but to roll up my sleeves and get coding: I was putting together a financial trading application prototype for one of our new clients and wanted to use JavaScript and JSON to periodically update pricing information.

Read more of this entry

Choosing a simple, lightweight WYSIWYG editor

So today I found myself in need of a WYSIWYG editor for the admin pages of the site I’m currently working on. I’ve used FCKEditor and Scott Rutherford’s Rails plugin before and Chris has recently been using TinyMCE for a few of our other projects but both of them seemed too heavy, especially when the project requirements only stated a need to apply simple formatting like bold, italic and headings.

Read more of this entry

Recent entries

Archives

  1. January 2010
  2. November 2009
  3. September 2009
  4. August 2009
  5. July 2009
  6. June 2009
  7. May 2009
  8. April 2009
  9. March 2009
  10. February 2009
  11. December 2008
  12. November 2008
  13. September 2008
  14. August 2008
  15. July 2008
  16. June 2008
  17. May 2008
  18. April 2008
  19. March 2008
  20. February 2008
  21. January 2008
  22. December 2007
  23. November 2007

Tags

  1. actioncontrollerdispatcher (nameerror)
  2. actionview
  3. active messaging
  4. activerecord
  5. activesupport
  6. actverecord
  7. aes
  8. aggregation
  9. ajax
  10. akismet
  11. amazon
  12. amazon sqs
  13. ami
  14. apache
  15. api
  16. apple
  17. apr
  18. apr-util
  19. async
  20. attachments
  21. attachment_fu
  22. attr_accessible
  23. auto scaling
  24. autotest
  25. availability
  26. aws
  27. backgroundrb
  28. beanstalkd
  29. bindings
  30. bj
  31. block
  32. branding
  33. buckets
  34. bug
  35. bugmash
  36. cache
  37. caching
  38. callbacks
  39. cancer research uk
  40. cdn
  41. centos
  42. charity
  43. cloud
  44. cloudfront
  45. clusters
  46. column information
  47. columns
  48. community
  49. company name
  50. compatibility
  51. compiler
  52. composed_of
  53. consultancy
  54. content
  55. content delivery
  56. controller
  57. convert
  58. cookies
  59. csrf
  60. css
  61. data warehouse
  62. database
  63. dates
  64. defensio
  65. deployment
  66. design
  67. development
  68. dhtml
  69. docrails
  70. documentation
  71. donations
  72. drdb
  73. duplicate key
  74. ebs
  75. ec2
  76. elastic
  77. elastic block store
  78. elastic load balancing
  79. encoding
  80. encryption
  81. erb
  82. error
  83. european
  84. events
  85. ezcrypto
  86. facebook
  87. fckeditor
  88. feedburner
  89. feeds
  90. ffmpeg
  91. filter
  92. fixes
  93. flash
  94. flickr
  95. flickr api
  96. flickr_fu
  97. fuse
  98. geekup
  99. gems
  100. geocode
  101. git
  102. github
  103. god
  104. great south run
  105. greenplum
  106. growl
  107. hacker
  108. haml
  109. haproxy
  110. helper
  111. hmac
  112. holiday
  113. hooks
  114. hosting
  115. howto
  116. hpricot
  117. html
  118. identity
  119. imagemagick
  120. imagescience
  121. infinidb
  122. infiniteftp
  123. infobright
  124. init.d
  125. insert
  126. invalid authenticity token
  127. italy
  128. javascript
  129. jquery
  130. json
  131. leeds media
  132. limit
  133. linux
  134. load balancing
  135. logo
  136. mac
  137. markaby
  138. mass-assignment
  139. memcached
  140. mephisto
  141. messaging
  142. middleware
  143. migrate
  144. migration
  145. model
  146. mod_rails
  147. mod_ruby
  148. monetdb
  149. mongrel
  150. mongrel_cluster
  151. monit
  152. monitoring
  153. mootools
  154. mp3
  155. mq
  156. multiple gems
  157. multiselect
  158. mysql
  159. neon
  160. new site
  161. nginx
  162. observer
  163. offset
  164. open source
  165. opensolaris
  166. openssl
  167. optimisation
  168. paperclip
  169. parameters
  170. passenger
  171. patch
  172. performance
  173. permanentredirect
  174. persistence
  175. persistent storage
  176. persistentfs
  177. php
  178. phusion
  179. plugin
  180. plugins
  181. post commit
  182. post-commit
  183. protomultiselect
  184. prototype
  185. query
  186. queues
  187. race for life
  188. rack
  189. rails
  190. rails development
  191. rails patch
  192. rails plugin
  193. rails-doc
  194. rake
  195. refresh
  196. renderer
  197. respond_to
  198. rich text editor
  199. rmagick
  200. ruby
  201. ruby on rails
  202. rubyinline
  203. running
  204. rvideo
  205. s3
  206. s3fs. elasticdrive
  207. scaling
  208. schema
  209. schwarzenegger
  210. scm
  211. security
  212. services
  213. session
  214. shorthand
  215. snarl
  216. social
  217. solaris
  218. spam filter
  219. sparrow
  220. specify
  221. sponsorship
  222. sql
  223. sqlite3
  224. sql_logging
  225. starling
  226. starter kit
  227. storage
  228. streaming
  229. subversion
  230. sue ryder care
  231. survey
  232. svn
  233. swfupload
  234. swig
  235. sysadmin
  236. tables
  237. tamper
  238. templates
  239. the webfellas
  240. thewebfellas
  241. thin
  242. thumbnail
  243. time zone
  244. tinymce
  245. tip
  246. tips
  247. to-done
  248. training
  249. transcoding
  250. twitter
  251. tzinfo
  252. uk
  253. uk rails
  254. unsigned
  255. update
  256. uploads
  257. url
  258. validation
  259. version
  260. video
  261. view
  262. vmdk
  263. vmware
  264. webfellas
  265. webfellows
  266. wedding
  267. welcome
  268. widgeditor
  269. will_paginate
  270. win32
  271. windows
  272. wysiwyg
  273. xen
  274. xhtml
  275. xvm
  276. youtube
  277. zenoss
  278. zentest
  279. zfs

Flickr snaps