Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 4 of 4

Thread: Custom Objects Frame Support?

  1. #1

    Custom Objects Frame Support?

    I am trying to create a custom object with two buttons that, when clicked, will reveal a) another person's estimate and b) the last estimate of the current subject. I attempted to do this by switching an iframe from a blank one to one with data, and it failed (I think the blank frame ended up filling the screen). I've gotten around the issue by starting with text in the HTML as display:hidden, then used the JS command for the button:

    document.getElementById("blank1").style.display = "block"

    which reveals the text. I'm not sure how I would be able to track a previous response for display on a current screen in a custom object without using an iframe from a separate HTM file. Any ideas anyone? Thanks.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Can you get the item to work in Internet Explorer? If you zip and post the files, I'll take a look.

  3. #3
    Here are all the files.
    Attached Files Attached Files

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Here is a modification. Note that the way I changed it, you can click one of the buttons and the text in the text boxes will change accordingly--without requiring a reference to an external file. Right now the javascript has explicit text included, e.g., "this is good advice". You could change it so that MediaLab could insert the value of any variable from the current session including one from responses.xls.

    i.e., instead of
    Code:
    document.getElementById("blank1").value="This is good advice."
    You could use:
    Code:
     
    document.getElementById("blank1").value="<advice>"
    Hope that helps. If you get it working I'd love to see it along with the que file that calls it!

    For more detail on inserting variables in your custom items, see:
    http://www.empirisoft.com/medialab/h..._reference.htm
    Attached Files Attached Files

Similar Threads

  1. DOS / Linux Support / Windows Boot-Time support
    By JEC in forum Hardware: Troubleshooting
    Replies: 2
    Last Post: 08-30-2011, 06:36 PM
  2. Foreign language and font support for MediaLab?
    By jarvis24 in forum MediaLab Older Versions: General Questions
    Replies: 9
    Last Post: 12-01-2009, 06:15 AM
  3. Internet Explorer goes to support site automatically
    By jarvis24 in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 11-15-2006, 12:33 PM
  4. Open-Source Spreadsheet Support?
    By joshfoster in forum MediaLab Older Versions: General Questions
    Replies: 1
    Last Post: 07-12-2006, 04:27 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
  •