Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 6 of 6

Thread: Having a timed background picture disappear while on a scale item

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Nov 2005
    Posts
    3,328
    There is no built in function for this but I can offer a couple of work-arounds. First, you could convert the image to an animated gif file where the image turns to a blank image after the desired time.

    Second you could create and embed a simple HTML file that displays the image in the background of the scale item screen (see background in the users guide for more detail). The trick would be to add an automatic redirect command to the file such that it would proceed to a blank page after n seconds.

    The code to do that in an HTML file might look something like this:

    <head><meta http-equiv="refresh" content="2;url=blank.htm"></head>
    <img src="mypic.jpg">
    Say you save this as mypic.htm. Create another blank file called blank.htm and keep it in the same folder. With this code, the picture would disappear after 2 seconds but would leave the scale response in tact.

    In your scale response item, you would enter something like "mypic.htm (t100,l500,w300,h600)" in the background field. You would adjust the parameters for top, left, width and left according to the size of your image and where you want it to appear.

    You could also play with the html file adding code to remove any margins or to make it's background color match that of your MediaLab background.

    Would be happy to hear how it goes, or even to see a posted sample--or let me know if you need a hand in creating this.

    See also:
    http://www.empirisoft.com/support/showthread.php?t=1322
    http://www.empirisoft.com/support/showthread.php?t=702
    Last edited by jarvis24; 03-30-2010 at 01:25 AM.

Similar Threads

  1. Scroll question text for scale item
    By jzadra in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 03-23-2010, 02:44 PM
  2. How to control video within a scale response item?
    By sscielzo in forum MediaLab Older Versions: How Do I...
    Replies: 2
    Last Post: 11-06-2009, 12:20 AM
  3. Using top parameter value on scale response causes all but one buttons to disappear
    By mentokthemindtaker in forum MediaLab Older Versions: Troubleshooting
    Replies: 2
    Last Post: 09-10-2009, 07:35 AM
  4. How to set up the duration of background image (.jpg not htlm) with scale response
    By imruoxue in forum MediaLab Older Versions: General Questions
    Replies: 1
    Last Post: 06-10-2008, 03:27 PM
  5. custom item with background image
    By rkozink in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 05-04-2006, 01:10 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
  •