Profile
Achievement
lamebollock's Recent Snippets
- All /
« Prev 1 Next »
Is there a command like cat in linux which can return a specified quantity of characters from a file?
0
765
posted 13 years ago by lamebollock
Better way to hide content whilst still making it available to
0
784
posted 13 years ago by lamebollock
Cache control when pulling in scripts, redefined "getScript" function
0
959
posted 13 years ago by lamebollock
$('li.current_sub').prevAll("li.par_cat:first");
Tested it with your markup:
$('li.current_sub').prevAll("li.par_cat:first").text("woohoo");
will fill up the closest previous li.par_cat with "woohoo".
1
907
posted 13 years ago by lamebollock
When a float is contained within a container box that has a visible border or background, that float does not automatically force the container's bottom edge down as the float is made taller. Instead the float is ignored by the container and will han...
0
687
posted 13 years ago by lamebollock
Description: If this method is called, the default action of the event will not be triggered.
For example, clicked anchors will not take the browser to a new URL. We can use event.isDefaultPrevented() to determine if this method has been called by...
1
900
posted 14 years ago by lamebollock