This FREE web site is hosted by BaPpY.cOm - Newest sites hosting with BaPpY.cOm
Related Services: Free web spaceBuild a web pageMake a web siteWeb Design and GamesPromote your siteLearn about hosting
Google
PNG Animated Banner Example | Alternative to GIF

Introducing...

This is a PNG animated banner.
Featuring: PNG, the lossless, limitless, lasting alternative to the GIF graphics format.

<!-- The BANNER --> <!-- Description: PNG Animated Banner, Author: Thomas Ballard, Copyright 2001 E.S.Q. Software, Questions, Comment, Work? Email me at thomas@esqsoft.com or visit http://esqsoft.com --> <a href="http://esqsoft.com"><img name="image1" src="p1.png"></a>
<script>i1=new Image(); i1.src="p1.png"; i2=new Image(); i2.src="p2.png"; i3=new Image(); i3.src="p3.png"; i4=new Image(); i4.src="p4.png"; i5=new Image(); i5.src="p5.png"; index=1; timetolive=100; function cycle(){if(--timetolive<0)return;if(++index>5)index=1; eval("document.image1.src=i"+index+".src;"); delaytime=300; if(index==5)delaytime=3000; setTimeout("cycle();",delaytime); return;} document.onload=cycle();</script> <!-- The BANNER -->

Pros

  • PNG is an open standard (GIF is not)
  • Efficient lossless compression (better than GIF)
  • Single image size comparison (0.98K PNG vs. 1.19K GIF)
  • MNG format support is coming (built it animation support)
  • Supports palette based and non-palette based color schemes
  • Animation files kept separate (easier to access for modifications)
  • Animation characteristics can be changed at the source code level

Cons
  • Transparency not supported in some browsers
  • Animation files kept separate (more files to handle and transport)

Detailed File Size Comparison


Want more information or help


Questions, comments, work? Email me at thomas@esqsoft.com or visit http://esqsoft.com.