DHTML
  Home arrow DHTML arrow Page 8 - Filters And Transitions In IE5
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
OLM
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DHTML

Filters And Transitions In IE5
By: icarus, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2000-10-31

    Table of Contents:
  • Filters And Transitions In IE5
  • Filtering Out The Good Stuff
  • A Little Transparency
  • Shadow Boxing
  • Putting On Your Mask
  • Scripting Your Filters
  • Into The Blender
  • Revealing The Secret
  • Zig And Zag

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Filters And Transitions In IE5 - Revealing The Secret
    (Page 8 of 9 )

    Next on the list is the reveal transition, which allows you to add any one of 23 pre-defined page effects to your page. Usage is almost identical to the example above; however, note the addition of a new attribute named "transitions", which must be provided with a numeric value corresponding to the transition to be applied.

    <html>
    <head>
    <script language="JavaScript">
    // function to perform transition
    function playTransition()
    {
    // apply transition
    document.all.object.filters.revealTrans.Apply();
    // change image source
    document.all.object.src = "face.gif";
    // play transition
    document.all.object.filters.revealTrans.Play();
    }
    </script>
    </head>
    <body onLoad="playTransition()">
    <img id=object style="filter:revealTrans(duration=3, transition=2)"
    src="square.gif" border="0">
    </body>
    </html>
    
    This would create a "circle in" effect on the specified image.

    Available transitions, with their numeric codes, are as follows:
    Numeric Code Effect
    --------------------------------
    0 Box in
    1 Box out
    2 Circle in
    3 Circle out
    4 Wipe up
    5 Wipe down
    6 Wipe right
    7 Wipe left
    8 Vertical blinds
    9 Horizontal blinds
    10 Checkerboard across
    11 Checkerboard down
    12 Random dissolve
    13 Split vertical in
    14 Split vertical out
    15 Split horizontal in
    16 Split horizontal out
    17 Strips left down
    18 Strips left up
    19 Strips right down
    20 Strips right up
    21 Random bars horizontal
    22 Random bars vertical
    23 Random filter from list above
    


    This article copyright Melonfire 2000. All rights reserved.

    More DHTML Articles
    More By icarus, (c) Melonfire


     

       

    DHTML ARTICLES

    - Rough Guide To The DOM (part 2)
    - Rough Guide To The DOM (part 1)
    - Filters And Transitions In IE5
    - Understanding Embedded Fonts

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway