Empirisoft Home Page
Main | Register | Search | Today's Posts | | Empirisoft

Go Back   Empirisoft Support > MediaLab Questions > MediaLab: Sharing Area

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-15-2009, 02:38 PM
Cnslab Cnslab is offline
Junior Member
 
Join Date: Mar 2009
Posts: 1
Cnslab is on a distinguished road
Custom items

On the custom items, I am having a problem making the background look like the other items. Is there an html code I can use? I tried the one suggested but it didn’t work when I tried to do multiple variables.
Reply With Quote
  #2  
Old 04-16-2009, 01:53 PM
newell newell is offline
Lead Programmer, Empirisoft
 
Join Date: Mar 2009
Posts: 402
newell is on a distinguished road
Hi Cnslab,

Have you taken a look at the Custom Items section within the documentation?
http://www.empirisoft.com/medialab/h...stom_items.htm

Once you've read through the documentation, you may also want to try testing out and then manipulating the custom item sample files.

Regards,
Trevor
Reply With Quote
  #3  
Old 02-20-2010, 03:55 AM
jarvis24 jarvis24 is offline
Administrator
 
Join Date: Nov 2005
Posts: 2,749
jarvis24 has disabled reputation
Custom Items (e.g., multiple questions on one page) w/o changing colors and fonts

Also of note here--after some revisions of how custom items were initially handled in v2006, we created an insertable variable called <ml.styles>. If you add this to your HTML code then MediaLab will automatically insert the colors and fonts you are using at the time on regular items. It's a really easy way to have your custom items match the look and feel of regular items. Note the line to add is "<style><ml.styles></style>". The following is a custom item that asks multiple demographic items on one page, taken from the v2008 "Sample 5 Custom Items" folder. Note also the inclusion of the line "...saved from URL..."--this is included to prevent HTML security warnings.

Code:
<!-- saved from url=(0013)about:internet --> <style><ml.styles></style> <body onload="document.form.name.focus();"> <form name="form" method="post"> <ml.wording><br><br> <table> <tr><td> Name? </td><td> <input name="name"></td></tr> <tr><td> Age? </td><td> <input name="age"></td></tr> <tr><td> Sex? </td><td> <input name="sex"></td></tr> <tr><td> Ethnicity? </td><td> <input name="ethnicity"></td></tr> <tr><td> Marital Status? </td><td> <input name="marital"></td></tr> <tr><td> <br><input type="submit" value="Continue"></td></tr> </table> </form> </body>
This might look way harder than it actually is. Again as Trevor suggested above, be sure to check out the chapter on custom items in the users guide and try running and modifying the samples to suit your needs. Try also searching for "custom items" here in the forums to turn up some additional samples and issues that have been dealt with.

Last edited by jarvis24 : 02-20-2010 at 03:58 AM.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making custom instructions and items appearing twice Rene Kopietz MediaLab: Troubleshooting 10 03-24-2010 04:02 PM
Creating Custom items pallavi.chilappagari MediaLab: How Do I... 11 02-20-2010 04:19 AM
Problem with ü (umlaut) when using html-custom items Henrik MediaLab: Troubleshooting 1 11-17-2008 04:19 PM
Quickstyles & Custom Items ryalch MediaLab: How Do I... 1 01-17-2007 04:10 PM
Going to the next screen using Custom Items kristen.wwu MediaLab: General Questions 3 10-26-2006 02:12 PM


All times are GMT -4. The time now is 05:33 AM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 1997-Eternity+ Empirisoft Corporation. All rights reserved.