[LON-CAPA-cvs] cvs: loncom /homework/templates ClickImageExample.problem ClickImageExample.problem.meta RandomLabelExample.problem man1.jpg
www
lon-capa-cvs@mail.lon-capa.org
Sat, 10 May 2003 23:03:02 -0000
www Sat May 10 19:03:02 2003 EDT
Added files:
/loncom/homework/templates ClickImageExample.problem
ClickImageExample.problem.meta man1.jpg
Modified files:
/loncom/homework/templates RandomLabelExample.problem
Log:
New and fixed templates for image-type problems.
Index: loncom/homework/templates/RandomLabelExample.problem
diff -u loncom/homework/templates/RandomLabelExample.problem:1.1 loncom/homework/templates/RandomLabelExample.problem:1.2
--- loncom/homework/templates/RandomLabelExample.problem:1.1 Thu Jun 6 04:56:43 2002
+++ loncom/homework/templates/RandomLabelExample.problem Sat May 10 19:03:01 2003
@@ -1,5 +1,5 @@
<problem>
-<randomlabel width="576" height="432" texwidth="60" bgimg="/res/msu/demo/man1.jpg">
+<randomlabel width="576" height="432" texwidth="60" bgimg="/res/adm/includes/templates/man1.jpg">
<labelgroup name="face" type="text">
<location x="73" y="60" value="">
</location>
Index: loncom/homework/templates/ClickImageExample.problem
+++ loncom/homework/templates/ClickImageExample.problem
<problem>
<displayduedate></displayduedate>
<p><displaytitle></displaytitle></p>
<startouttext />Consider the image below.
<endouttext />
<preduedate>
<imageresponse id="11" max="1">
<foilgroup>
<foil>
<image>/res/adm/includes/templates/man1.jpg</image>
<text>Click on an eye</text>
<rectangle>(127,139)-(186,178)</rectangle>
<rectangle>(242,139)-(306,183)</rectangle>
</foil>
<foil>
<image>/res/adm/includes/templates/man1.jpg</image>
<text>Click on the nose
</text>
<rectangle>(192,180)-(227,222)</rectangle>
</foil>
<foil>
<image>/res/adm/includes/templates/man1.jpg</image>
<text>Click on the mouth
</text>
<rectangle>(142,226)-(294,293)</rectangle>
</foil>
</foilgroup>
<notsolved>
<hintgroup>
<hintpart on="default"><startouttext />This is a hint.
<endouttext /></hintpart>
</hintgroup>
</notsolved>
</imageresponse>
</preduedate>
</problem>
Index: loncom/homework/templates/ClickImageExample.problem.meta
+++ loncom/homework/templates/ClickImageExample.problem.meta
<title>Example of a Click-On-Image Problem</title>