Archive for the ‘javascript’ Category

May 21

Using scriptaculous’ Sortable and InPlaceEditor at the same time

Posted by mtoledo
Filed under javascript, ruby | 1 Comment

For a couple of days I’ve been trying to implement a scriptaculous’ InPlaceEditor on one of my pet project’s scriptaculous’ Sortable list.
First I had no luck with the easy to find InPlaceEditor rails helpers that you easily find on google: The traditional in_place_editing plugin required controller changes and didn’t support rest too well. Nakajima’s “better_edit_in_place” [...]

April 7

Getting syntax highlighter to work on wordpress’s homepage (on some themes)

Posted by mtoledo
Filed under javascript | No Comments

Today I was trying to setup this blog with Syntax Highlighter Plus. Curiously, the syntax highlighting wouldn’t work on the home page where multiple posts are displayed, only when you clicked on a single post.
I’m adding this here because I couldn’t find anything about it anywhere except people suggesting to check the theme’s header and [...]