Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 16 of 16

Thread: Adding formatting to question wording?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2005
    Posts
    3,328
    You can use Word or any HTML editor to format question wording like this. Just make sure to save the file in HTML (web page) format and then enter the name of the HTML file in the background field of the given question item. See the zipped file wording.htm below for an example of an HTML formatted question wording.

    You can also open HTML files like this in notepad.exe for easy editing. For example, in the attached sample, you can add font tags around any text for which you like to change the color:

    HTML Code:
    this text is <font color="darkred">red</font>.
    will look like this:

    this text is red

    HTML Code:
    but <i>this text</i> is <b>blue!</b>.
    will look like this:

    but this text is blue!

    To display the attached sample, you would enter wording.htm in the background field for any given item in your questionnaire. For precise location, you can add parameters for height, width and positioning like this:
    Code:
     
    wording.htm (t.1,l.1,w.9,h.2)
    It's usually a good idea to add these parameters--it creates a defined space for the HTML which prevents text from running off the screen and prevents the HTML from covering up other stuff on your page (e.g., button labels and such).
    Attached Files Attached Files
    Last edited by jarvis24; 08-02-2006 at 12:08 PM.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Some notes about the HTML file attached in the previous post:

    HTML Code:
    <body bgcolor="#ccccff"><p style="font-family:verdana; font-size:24px; font-color:navy">
    Please indicate which of the following emotions you experienced <font color="darkred"><i>while</i> watching the movie.</font>
    </p></body>
    The color #ccccff is the default backgorund colour used by MediaLab. Using this as the background colour in your HTML file will make it blend in nicely. The default background for HTML is usually white.

    Note that a great intro tutorial on fomratting text via HTML and the tags you can use can be found here:
    http://www.w3schools.com/html/html_formatting.asp

    Hope that helps!
    Blair
    Last edited by jarvis24; 08-02-2006 at 12:14 PM.

  3. #3
    Join Date
    Apr 2007
    Posts
    4

    scroll bar

    with html files, how do I get rid of the scroll bar on the side if it is not needed?

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    You could define the HTML as a background to an Instruction Item rather than having it as an HTML Item. If you define the region where it's going to appear (see above), you can avoid the scroll bar, I believe. See background in the users guide for more detail.

  5. #5
    Join Date
    Apr 2007
    Posts
    4
    thanks for the info!

  6. #6
    Join Date
    Aug 2008
    Posts
    4
    I'm having a bit of trouble with this. I'm able to create the htm file (using Microsoft Word). I can even get it to display in MediaLab using the directions given. But when it displays, it displays the code, not how I want it to look. (I'm trying to italicize and bold different phrases in a questionnaire). I even copied the code straight from previous posts to be sure that it was written correctly. Is there a step that I'm missing?
    Last edited by jarvis24; 03-24-2010 at 03:09 PM.

  7. #7
    Join Date
    Nov 2005
    Posts
    3,328
    Can you zip and post a folder containing a simple .que file and your html file? Then I can try it out here and see if I can replicate the problem and identifiy the issue.

Similar Threads

  1. Insert <variable> in question wording not working
    By jarvis24 in forum MediaLab Older Versions: Troubleshooting
    Replies: 9
    Last Post: 02-07-2011, 07:14 AM
  2. Insert prior responses into subsequent question wording
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 18
    Last Post: 01-11-2011, 01:51 PM
  3. Adding an item in the middle of a questionnaire?
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 09-08-2006, 03:08 PM
  4. Voice overs for question wording (e.g., audio cati style)
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 05-30-2006, 06:30 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
  •