Malicious thinkTank Package Dev

the place to find packages developed by MTT

Simple Rotator Macro

replace this text

This package is a simple flash rotator [based on jw rotator] put in a macro format.

This macro is designed to be placed in a template - you can pass the height, width, transition, rotation time and the Media Folder ID in the insert macro dialog.

NOTE: i developed this package on v4 beta 2 and the macro insertion, even in a template was not functioning properly.

So here is what the hand-coded macro looks like...
<umbraco:Macro flashW="450" flashH="200" imageFolder="1068" playerTransition="fade" flashTime="4" Alias="InsertSimpleRotator" runat="server"></umbraco:Macro>


What get's installed:

  1. an swf file for the rotator
  2. an xslt and macro for inserting the flash file
  3. swfobject javascript for embedding the flash file
  4. an xslt and macro for rendering the xml output
  5. an altTemplate for rending the xml output


What you need to do to make it work...

  1. create a media folder and create some images in it
  2. insert the macro in a template


Here is a list of the acceptable transition types...
they are case sensitive...

  1. random
  2. fade
  3. bgfade
  4. blocks
  5. bubbles
  6. circles
  7. flash
  8. fluids
  9. lines
  10. slowfade


enjoy!