Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is the beginning of my retrieval of twitter status class...just something im playing with right now. It retrieves the xml, saves it on your server, then you can either use javascript or php to traverse the xml tree.
0
1295
posted 15 years ago by alvincrespo
I use something similar to the example to get the difference between statuses in a status log table that I have. It comes in handy when determining the number of days between status changes. This works in MySQL 5.0.
0
1573
posted 15 years ago by bradless
This is assuming that you have SlideDeck loaded already.
http://www.slidedeck.com/
0
1117
posted 15 years ago by Jamie
Remove the doctype and any xml namespace declarations from your header and quirks mode will take care of the rendering, additionally this fix is not compatible with IE8 rendering so we need to put IE8 in emulation mode
1
1632
posted 15 years ago by jaff
Catches click, if element has nextUntil elements, triggers a slideDown of child elements and returns false (to stop the anchor), if there are no nextUntil elements, does nothing and allows the click through (the anchor works).
0
1086
posted 15 years ago by daulex
Just thought id put up a version of my form validation class. It will be expanded in the future but I thought Id let everyone have a look.
# Update 0.1 #
* Create Error List Function
* Validate Email Address Function
* Valida...
0
1406
posted 15 years ago by alvincrespo
This is a simple example of OOP in Javascript, based off the highly popular Javascript "The Definitive Guide" book by David Flanagan. I will be expanding this example in the future, let me know what you'd like to see. Thanks!
Note: You must have...
0
1317
posted 15 years ago by alvincrespo
A more useful version of `typeof` and functions to test if a parameter is of a specified type.
0
1009
posted 15 years ago by wizard04
I couldn't find anything like this in a quick search, so I thought I'd share it here.
1
1771
posted 15 years ago by alexpgates