February 2009 Entries
I will be talking about how to create jQuery plugins at DC ALT.NET next week. It will be held in the Motley Fool headquarters on February 25 @ 7PM
Posted On Friday, February 20, 2009 11:21 PM | Feedback (2)
Today I was faced with an unusual task: I needed to find a way to nullify an element's style attribute, i.e.: <br style="clear: both"> The style's clear:both was causing some unnecessary whitespace. I couldn't change the style attribute directly because it was on a Master page that I didn't have the permission to modify. I am not sure if there is a way to do this using CSS alone (element style takes precedence over any css class). My Solution Step 1: Hide the offending <br> element //...
Posted On Tuesday, February 10, 2009 11:43 PM | Feedback (6)
My current project involves integrating legacy Prototype code with jQuery. Normally the solution would be to just change all the $(object) references to jQuery(object). However, one of the constraints was I couldn't modify any of the jQuery code, and Prototype does NOT give you any way to rename the $ variable. I discovered this hack while trying to find a way around this: <script type="text/javascript" src="jquery-1.2.3.min.js"&g... <script type="text/javascript" src="prototype.js"></...
Posted On Sunday, February 01, 2009 10:28 AM | Feedback (3)