topical media & game development

talk show tell print

#js-cupid.cfg / cfg



  <script type="text/javascript" src="js-move-obj.cfg"> </script>
  <script type="text/javascript">
  
  
********************************************* Floating image script- By Virtual_Max (http://www.geocities.com/siliconvalley/lakes/8620) * Modified by Dynamic Drive for various improvements Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code *********************************************

  
  
  //Step 1: Define unique variable names depending on number of flying images (ie:3):
  var cupid_flyimage1, cupid_flyimage2, cupid_flyimage3
  
  function cupid_pagestart(){
  //Step 2: Using the same variable names as 1), add or delete more of the below lines (60=width, height=80 of image):
   cupid_flyimage1=new Chip("cupid_flyimage1",47,68);
   cupid_flyimage2=new Chip("cupid_flyimage2",47,68);
   cupid_flyimage3=new Chip("cupid_flyimage3",47,68);
  
  //Step 3: Using the same variable names as 1), add or delete more of the below lines:
  movechip("cupid_flyimage1");
  movechip("cupid_flyimage2");
  movechip("cupid_flyimage3");
  
  }
  
  // if (window.addEventListener)
  // window.addEventListener("load", pagestart, false)
  // else if (window.attachEvent)
  // window.attachEvent("onload", pagestart)
  // else if (document.getElementById)
  // window.onload=pagestart
  
  </script>
  
  <div ID="cupid_flyimage1" style="position:absolute; left: -500px; width:47; height:68;">
  <a href="index.html"><img src="local/assets/js/cute.gif" border=0></a>
  </div>
  
  <div ID="cupid_flyimage2" style="position:absolute; left: -500px; width:47; height:68;">
  <a href="index.html"><img src="local/assets/js/cute.gif" border=0></a>
  </div>
  
  <div ID="cupid_flyimage3" style="position:absolute; left: -500px; width:47; height:68;">
  <a href="index.html"><img src="local/assets/js/cute.gif" border=0></a>
  </div>
  
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.