Spreadshirt Random Flash Teaser

Submitted by endorphinum on Fri, 08/06/2007 - 14:10.
Random Flash Teaser

This is a flash application based on the random product script by Marc Nilius that you can also download from the Spreadshirt developer network.

Files needed

  1. The Random RSS product script - http://dev.spreadshirt.net/node/76
  2. flashteaser.php
  3. flashteaser.swf
  4. flashteaser.html (optional)

HOW TO INSTALL

1. Download the Marc Nilius script and upload it to your server. 2. Open and adjust the lines 17-35 of flashteaser.php to your needs. 3. Copy the tree files (2) to (4) in the same folder as where Marc's script is. 4. Open http://www.yourdomain.com/examplefolder/flashteaser.html

FLASHTEASER.PHP Variables

$where2open = "_self";

Change this to the frame where you want the proper product to be shown.
If you hand this script out to a different Top-Level-Domain, then _blank should be the propriate link as frame-target.
If you work with frames or iframes, put the name of the proper frame in here.

$showslidetimer = "true";
Turn the timer on the upper right corner on or off (true or false)

$slidetime = 12;
The amount of seconds until the next product is shown. Due to slow internet connections i advise you to not go under 5 seconds, otherwise modem users may never ever see one of your products.

( categories: | | )