[jQuery] Re: animated robot cartoon with jquery

2008-11-09 Thread CodingCyborg
> > > JK > > > > -Original Message----- > > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > > > Behalf Of CodingCyborg > > > Sent: Friday, November 07, 2008 9:04 PM > > > To: jQuery (English) > > > Subject

[jQuery] Re: animated robot cartoon with jquery

2008-11-08 Thread CodingCyborg
JK > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > > Behalf Of CodingCyborg > > Sent: Friday, November 07, 2008 9:04 PM > > To: jQuery (English) > > Subject: [jQuery] Re: animated robot cartoon with

[jQuery] Re: animated robot cartoon with jquery

2008-11-08 Thread CodingCyborg
file')[0].playSound(); > > JK > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of CodingCyborg > Sent: Friday, November 07, 2008 9:04 PM > To: jQuery (English) > Subject: [jQuery] Re: animated robot cartoon w

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread Jeffrey Kretz
method on it directly. $('#swffile')[0].playSound(); JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of CodingCyborg Sent: Friday, November 07, 2008 9:04 PM To: jQuery (English) Subject: [jQuery] Re: animated robot cartoon with jquery

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
I am sad to report that finding cross browser audio playing javascript is pretty tough stuff... I found one plug-in that used flash, but couldn't get it implemented correctly. I may try again tomorrow, but don't count on it too much, if somebody else could implement some squeaky wheel sounds for w

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
I found the "edge of the cliff" while allowing the robot to roll multiple times without resetting the backgrounds. From there I thought it would be fun to have him fall :) Now I'm looking into adding some fun sound effects :) I'll let ya know how that goes in a couple hours... On Nov 7, 8:58 pm,

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread anthony.calzadilla
Thats incredible! How did you do that?! I'm going to dig into your code and try to figure it out... AWESOME! -A On Nov 7, 8:50 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > Well, I decided to add some more fun stuff :) > > http://codingcyborg.com/jQueryFun/Robot/robotHumor.html > > There are n

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
Well, I decided to add some more fun stuff :) http://codingcyborg.com/jQueryFun/Robot/robotHumor.html There are now some "movement" images on the wheels. And I added an old school off the cliff cartoon style ending :) On Nov 7, 11:58 am, "anthony.calzadilla" <[EMAIL PROTECTED]> wrote: > Hi, > I

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread Rick Faircloth
Unfortunately, I only get to dabble with jQuery. Just enough to get done what I need for the moment. Too many projects and too much ColdFusion programming to do. So, mostly, I contribute by asking the most basic questions that others are embarrassed to ask! :-) Mike Alsup wrote: Unfortuna

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread Rick Faircloth
so he can get out of responsibility. :) -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Alsup Sent: Friday, November 07, 2008 12:04 PM To: jQuery (English) Subject: [jQuery] Re: animated robot cartoon with jquery Unfortunately, I'm new

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread Andy Matthews
He's only saying that so he can get out of responsibility. :) -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Alsup Sent: Friday, November 07, 2008 12:04 PM To: jQuery (English) Subject: [jQuery] Re: animated robot cartoon with j

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread Andy Matthews
show this to my daughter once it's done. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anthony.calzadilla Sent: Friday, November 07, 2008 11:58 AM To: jQuery (English) Subject: [jQuery] Re: animated robot cartoon with jquery Hi, I ch

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread Mike Alsup
> Unfortunately, I'm new to jQuery and Javascript, too, so I'm of no use to > you on the code. Say what? Rick, you've been contributing to the mailing list for over two years. I think the honeymoon phase is over for you! :-)

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread anthony.calzadilla
Hi, I changed the 'bounceHim' function a bit so that the different pieces of the robot look like they are separated and bouncing individually: function bounceHim(){ $("#sec-content,#branding").animate({top:"-=5px"}, 150).animate({top:"+=5px"},150); $("#content").animate({

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
I just noticed, after looking over the code again, that since you have all three pieces of the robot that are bouncing bounce at the same time the line of code can be condensed into one. As well as the two that bounce together at the beginning. This: $("#content").animate({top:"-="+num+"p

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread anthony.calzadilla
Wow! Thank you CodingCyborg! Thank You! I'm going to study and learn from your code example and implement it into mine. -Anthony On Nov 7, 12:24 am, CodingCyborg <[EMAIL PROTECTED]> wrote: > I made a few more modifications such that the robot doesn't keep > bouncing and the sky keep moving when

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread anthony.calzadilla
Hi Adrian, Please feel free to use whatever you like, nothing could please me more. Education is taking such a hit these days I think we all have to pitch in a little... -Anthony On Nov 6, 9:38 pm, "Adrian Gould" <[EMAIL PROTECTED]> wrote: > Anthony > That is a great bit of work - now the questi

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread CodingCyborg
I made a few more modifications such that the robot doesn't keep bouncing and the sky keep moving when the ground has stopped. Though I did the cheap way, in the sense that I just made it a short clip rather than a full length repeat. http://codingcyborg.com/jQueryFun/Robot/robot.html That has t

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread CodingCyborg
This is Beautiful! To save yourself from the copy/paste to create the repeated bounce, and to make the file smaller, you can simply replace the three lines that were enormously long with this: startHim(); And then add this at the bottom of the js file: var num = 1; function startHim(){

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread Adrian Gould
Anthony That is a great bit of work - now the question, educator to educator, would you mind me taking your code apart and showing my students? Adrian

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread Rick Faircloth
Great job, Anthony! Unfortunately, I'm new to jQuery and Javascript, too, so I'm of no use to you on the code. Hope you presentation goes well! Rick anthony.calzadilla wrote: Hi all, I occasionally volunteer as a guest speaker for the web design class at my child's elementary school. I wa

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread Ariel Flesler
Pretty cool! -- Ariel Flesler http://flesler.blogspot.com On Nov 6, 2:56 am, "anthony.calzadilla" <[EMAIL PROTECTED]> wrote: > Hi all, > I occasionally volunteer as a guest speaker for the web design class > at my child's  elementary school. I wanted to introduce them to jquery > and html in a f