search
Carter Cole's LinkedInCarter's Twitter PageCarter Cole on FacebookCarter's YouTubeCarter Cole's RSS

Monday, September 7, 2009

virtual tarot cards | leveraging Scriptaculous and Prototype for web 2.0 style sites

So as i learn more ajax stuff and switch between jquery with theme roller and scriptaculous on prototype i happen to dabble in the tarot cards a little. I decided that i wanted to make a virtual tarot card dealer so i went about learning the definitions and positions of the most common spread the "Celtic Cross". This is what i came up with: Automatic Tarot Cards you can see the example below:


i did some stuff with the builder object so its easy to call and create the cards in any position. I use google awesome ajax api to host all my code for me (see page here) and load it on startup using 2 lines(way easy to implement) thanks again google. the api looks something like this

<script src="http://www.google.com/jsapi"></script> 
<script>
//your awesome google
google.load("prototype", "1.6");
google.load("scriptaculous", "1.8.2");
</script>

i use an array to keep track of all the words. if anyone wants more spreads or has better definitions of the cards or i have anything wrong please let me know

1 comment:

  1. Hi,it's a very great blog.
    I could tell how much efforts you've taken on it.
    Keep doing!

    ReplyDelete