spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column34


The Code and HTML for the Nested Animation

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

<DIV ID="balls" STYLE="position: absolute; left: 200; top: 50; width: 150; height: 150;">
<DIV ID="ball1" STYLE="position: absolute; left: 50; top: 50; width: 50;">
<IMG SRC="ball1.gif" WIDTH="50" HEIGHT="50"></DIV>
<DIV ID="ball2" STYLE="position: absolute; left: 125; top: 62; width: 25;">
<IMG SRC="ball2.gif" WIDTH="25" HEIGHT="25"></DIV>
</DIV>
<SCRIPT LANGUAGE="JavaScript1.2">
<!--

document.write("<SCRIPT SRC='animate.js'></SCRIPT>");
onload = start;

function start() {
  anim1 = new animation_nested("balls");
  if (!anim1.element) return;
  anim2 = new animation_nested("balls", "ball2");

  anim1.circle(100, 90, 90, 3, -2, 100);
  anim2.circle(62, 0, null, 0, 3, 25);
}

// -->
</SCRIPT>

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint


Created: January 18, 1999
Revised: January 18, 1999

URL: http://www.webreference.com/js/column34/code2.html