Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 5 of 5

Thread: Setting duration of HTML file

  1. #1

    Setting duration of HTML file

    I'm trying to present participants with an HTML screen for 1 minute before the "Continue" button appears and they're allowed to move on. I tried setting the paramater to (d-60) to test it, thinking that would make the "Continue" button be hidden for 60 seconds. But the "Continue" button never appeared. Is there an easy way to set how long the HTML screen will appear before participants can move on?

    At a different point in the experiment (separate questionnaire file), I also want to show participants a series of statements, 1 at a time, and present each statement for 10 seconds before they are allowed to move on. Right now, each statement is set up as a scale response, with a button in the middle of the screen that they click to move on. I'd like that button to be hidden for the first 10 seconds, then pop up so they can click when they're ready to move on. Will the duration function (e.g., "(d-10)") work for this type of item? Or should I format them as instruction items instead?


  2. #2
    Join Date
    Nov 2005
    The negative duration value option is reserved for instruction items, but you can embed your html file within an instruction item by placing its filename as the background. I would take care of the other issue the same way. Hope that helps!

  3. #3
    I tried your suggestion--putting the HTML file as the background image on an instructions item. That seems to make the duration work, but it messed up the appearance of the HTML. Now all the text is running off the right side of the page.

    How do I make the HTML file look like it did before (with line breaks in the appropriate places)?

  4. #4
    Also, putting it as an instructions item seems to have messed up the BG randomization I had set up. Now it's showing the 5 instructions pages (w/HTML background) in the order they appear in the MediaLab file every time.

    Any suggestions?

  5. #5
    Join Date
    Nov 2005
    Try defining a limiting width (and optionally, height) parameter to the background like this:

    myhtmlfile.htm (w.95,h.95)

    You can substitutue any value you like eithyer in pixels (1-any value) or a percentage of the screen width (from .01 to .99).

    See if that helps. Note that a style line in the HTML file like the following will help it blend in with the default colours that MediaLab uses:

    <body style="font: 12pt arial; color: navy; background: #ccccff; margin: 0px">

    With regard to randomization, there is no reason why that should be affected. I'd have to see the files.

Similar Threads

  1. Duration countdown parameter for scale items
    By JWellman in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 04-14-2008, 07:37 PM
  2. Duration Parameter Not working with Custom Item
    By sehill in forum MediaLab Older Versions: General Questions
    Replies: 3
    Last Post: 02-19-2008, 03:29 PM
  3. DirectRT exposure presentation duration
    By cthurgood in forum DirectRT Older Versions: General Questions
    Replies: 1
    Last Post: 10-22-2007, 03:21 PM
  4. Reaction Time + Duration
    By mbeatriz in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 01-22-2007, 03:29 PM
  5. Empty experiment file and HTML problem
    By Sonia in forum MediaLab Older Versions: Troubleshooting
    Replies: 3
    Last Post: 07-12-2006, 04:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts