chrisaiv


Member since 01/16/2007

Name: Chris Last Name

chrisaiv

Location: Los Angeles

Code

116 snippets

26727 profile views

39 Comment(s) Posted

View their favorites

Profile

Achievement

You have not received any achievements.

chrisaiv's Recent Snippets



0 1354 posted 16 years ago by chrisaiv
Don't forget to use require 'directory/name_of_class'
0 2034 posted 16 years ago by chrisaiv
Ruby provides a platform independent way of displaying file paths. Here are a few common ways to show absolute and relative paths.
0 1444 posted 16 years ago by chrisaiv
Lee Brimelow show's how to smooth an image that is loading from Flickr.
1 1356 posted 16 years ago by chrisaiv
This shows how we can find objects inside code blocks (aka data sets).
0 1962 posted 16 years ago by chrisaiv
I needed a way to show "US States" element whenever the user selected "United States" as their country. Here's a live demo: http://demo.chrisaiv.com/dropdown
0 1564 posted 16 years ago by chrisaiv
For those of us still using Flex Builder 3, every time we create a new project, we usually need to right-click the Project and add a parameter called -default-background-color=0xffffff into the compiler settings. An easier solution is to create an X...
1 1406 posted 16 years ago by chrisaiv
Here are a few examples on how to use Lists and Dictionaries in Python. It's by no means exhaustive, just a quick reference.
0 1275 posted 16 years ago by chrisaiv
0 1307 posted 16 years ago by chrisaiv
How to concatenate lists, add an item to a list, slice an item from a list.
0 1195 posted 16 years ago by chrisaiv
I was asked to add Recaptcha' to an already existing form. I didn't want to interfere with the code so I decided to search for some sort of AJAX solution. Here's my implementation of DarkSideOfTheCarton.com. This form needs to have a form with <fo...
1 2319 posted 16 years ago by chrisaiv
0 1107 posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2004/09/27/jquery-converting-all-the-items-in-a-select-element-into-a-string-array/
0 1733 posted 16 years ago by chrisaiv
The Drupal website will be updated every 45 minutes after the hour.
2 1269 posted 16 years ago by chrisaiv
There are 3 different ways to use Item Renderers.
0 3435 posted 16 years ago by chrisaiv
Simple Javascript that will get a feed and parse it using Ajax
2 1687 posted 16 years ago by chrisaiv
AJAX by default only lets you play within your own Domain.com but there are plenty of times where you want to use someone else's feed. Check out http://snipplr.com/view/12466/jquery-parse-rss-feed/ to understand the rest.
1 1394 posted 16 years ago by chrisaiv
Here's a simple example of how to parse RSS feeds using jQuery. You will need jFeed (http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin) and a bit of help from PHP (http://snipplr.com/view/12467/php-capture...
8 1654 posted 16 years ago by chrisaiv
Simply create a new index.php and place this code within.
1 1288 posted 16 years ago by chrisaiv
Here is a basic example as to how to set up an Ajax request.
4 1863 posted 16 years ago by chrisaiv
I find these Joomla snippets to be useful when constructing a new template.
4 1529 posted 16 years ago by chrisaiv
Here's how I was able to capture the HREF of a page using actionscript
3 1371 posted 17 years ago by chrisaiv
You will need to download a few things to easily create rounded corners. They are jQuery (http://jquery.com/) and the jQuery rounded corners plug-in (http://www.malsup.com/jquery/corner/).
14 1798 posted 17 years ago by chrisaiv
I needed a quick way to unescape a URL Encoded string. I found 2 chill ways
2 1308 posted 17 years ago by chrisaiv
http://www.sitepoint.com/forums/showthread.php?t=552741
1 1309 posted 17 years ago by chrisaiv
Simply open up terminal and run these commands one at a time. You may need sudo or root access.
0 1311 posted 17 years ago by chrisaiv