May 2010
13 posts
1 tag
Ajax.InPlaceEditor auto load textarea instead of...
Another interesting discovery in the new prototype (1.6.1) & scriptaculous (1.8.3). // Forces a textarea <div id="MakeThisAnInPlaceEditor"> Just a bit of text </div> // Makes a single line item <div id="MakeThisAnInPlaceEditor">Just a bit of text</div> More info here http://yazmedia.com/sandbox/inplaceeditor.php
May 25th
2 tags
May 21st
238 notes
1 tag
[tech] tinymce + IE + IE Developer Tools = FAIL
Seems like IE doesn’t recognize the cursor on the textbox, so it doesn’t let you click if the textbox is empty. Realized there was nothing wrong with tinymce or the javascript or the browser. Until I restarted the computer, started the browser without developer tools and realized: it worked all along. 3 wasted hours.
May 19th
2 tags
May 18th
1 tag
[tech] prototype & scriptaculous error:...
new Ajax.InPlaceEditor(node, 'items.aspx', { cancelControl: 'button' }); Doesn’t work. Has to be link. Source ps: maybe i should create a tech blog. should i?
May 14th
2 tags
No bike lanes in University Ave because someone... →
May 13th
1 tag
“I’m so heartbroken about this spill in the gulf situation. All those animals....”
– This is real ya’ll. Sarah The Palin (via vruz) (via abcsoupdot)
May 7th
2 tags
May 7th
1,050 notes
1 tag
May 6th
3 tags
RROD
1. 6:30pm get RROD 2. Google how to fix it. 3. Website (support.microsoft.com) tells me I need to accept cookies. WTF. I am letting you use cookies. But I get it, you don’t like Safari. 4. Switch to Firefox 5. Go trough how to fix it steps, realize I have to send it in for repair 5. Website tells me I might NOT be within warranty period 6. Google “how to check if console is under...
May 5th
2 tags
May 5th
3 tags
Prototype 1.5 to 1.6 upgrade nightmare.
The issue: in prototype 1.5, there are some Ajax.Request calls that return onComplete, the response, and then a second variable passed through with json from php. Prototype 1.5 handled this perfectly fine. But on the new prototype (1.6.1), Ajax.Request doesn’t handle that second variable. So the there are some chunks of code not executing because the variable is null. This has taken...
May 3rd
1 tag
Google Maps loads into the dom, doesn't display
Its because I had a z-index:-1 on the div that the maps get loaded. Changed it to 1, 2, 3, anything positive, and it started working. Random changes like that to the google maps api over the weekend, suck.
May 3rd