home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1999 September / Dpcb0999.iso / Web / Homesite / data1.cab / HS_Wizards / HTML / MultimediaSynchronization.wml < prev    next >
Text File  |  1999-04-12  |  1KB  |  43 lines

  1. <WIZSET Start = Delay>
  2.  
  3. <WIZLOOP index="i" from="1" to="$${EventCount}">
  4.  
  5. <WIZSET DurationParam = 'Duration' & i>
  6. <WIZSET URLParam = 'URL' & i>
  7. <WIZSET FrameParam = 'Frame' & i>
  8.  
  9. <WIZIF ParameterExists( DurationParam )>
  10.     <WIZSET Duration = Evaluate( DurationParam )>
  11. <WIZELSE>
  12.     <WIZSET Duration = 1>
  13. </WIZIF>
  14.  
  15. <WIZSET Time = Start>
  16. <WIZINCLUDE template="MultimediaSynchronization_ParseTime.wml">
  17. <WIZSET StartMin = Minutes>
  18. <WIZSET StartSec = Seconds>
  19.  
  20. <WIZSET End = Start + Duration - .1>
  21. <WIZSET Time = End>
  22. <WIZINCLUDE template="MultimediaSynchronization_ParseTime.wml">
  23. <WIZSET EndMin = Minutes>
  24. <WIZSET EndSec = Seconds>
  25.  
  26. <WIZSET Start = End + .1>
  27.  
  28. <WIZSET aFrame = ''>
  29. <WIZIF ParameterExists( FrameParam )>
  30.     <WIZSET Frame = Trim( Evaluate( FrameParam ) )>
  31.     <WIZIF Frame neq ''>
  32.         <WIZSET aFrame = "&&" & Frame & "&&">
  33.     </WIZIF>
  34. </WIZIF>
  35.  
  36. <WIZIF ParameterExists( URLParam )>
  37.     <WIZSET aURL = Evaluate( URLParam )>
  38. <WIZELSE>
  39.     <WIZSET aURL = ''>
  40. </WIZIF
  41. >
  42. u $${StartMin}:$${StartSec} $${EndMin}:$${EndSec} $${aFrame}$${aURL}</WIZLOOP>
  43.