如何在新选项卡中打开选择超链接
How to have Selection hyperlink open in new tab
我的 MTurk 答案选择如下 XML:
<AnswerSpecification>
<SelectionAnswer>
<StyleSuggestion>radiobutton</StyleSuggestion>
<Selections>
<Selection>
<SelectionIdentifier>0</SelectionIdentifier>
<Text>No URL exists</Text>
</Selection>
<Selection>
<SelectionIdentifier>1</SelectionIdentifier>
<Text>http://www.imdb.com/name/nm2271332/</Text>
</Selection>
<Selection>
<SelectionIdentifier>2</SelectionIdentifier>
<Text>http://www.imdb.com/title/tt0460987/</Text>
</Selection>
<Selection>
<SelectionIdentifier>3</SelectionIdentifier>
<Text>http://www.imdb.com/title/tt1450653/</Text>
</Selection>
<Selection>
<SelectionIdentifier>4</SelectionIdentifier>
<Text>http://www.imdb.com/title/tt1438289/</Text>
</Selection>
</Selections>
</SelectionAnswer>
</AnswerSpecification>
但是,每当用户单击其中一个 link 时,它就会 离开 测试并转到 link。有没有办法在 MTurk 上的选择中添加 target="_blank"
之类的东西?
下面是为您的任务使用 FormattedContent 的示例:
<Selection>
<SelectionIdentifier>1</SelectionIdentifier>
<FormattedContent><![CDATA[<a href="http://www.imdb.com/name/nm2271332/" target="_blank">http://www.imdb.com/name/nm2271332/</a>]]></FormattedContent>
</Selection>
您可以在此处获得有关 QuestionForm 数据结构的更多详细信息,包括有用的示例:http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_QuestionFormDataStructureArticle.html
我的 MTurk 答案选择如下 XML:
<AnswerSpecification>
<SelectionAnswer>
<StyleSuggestion>radiobutton</StyleSuggestion>
<Selections>
<Selection>
<SelectionIdentifier>0</SelectionIdentifier>
<Text>No URL exists</Text>
</Selection>
<Selection>
<SelectionIdentifier>1</SelectionIdentifier>
<Text>http://www.imdb.com/name/nm2271332/</Text>
</Selection>
<Selection>
<SelectionIdentifier>2</SelectionIdentifier>
<Text>http://www.imdb.com/title/tt0460987/</Text>
</Selection>
<Selection>
<SelectionIdentifier>3</SelectionIdentifier>
<Text>http://www.imdb.com/title/tt1450653/</Text>
</Selection>
<Selection>
<SelectionIdentifier>4</SelectionIdentifier>
<Text>http://www.imdb.com/title/tt1438289/</Text>
</Selection>
</Selections>
</SelectionAnswer>
</AnswerSpecification>
但是,每当用户单击其中一个 link 时,它就会 离开 测试并转到 link。有没有办法在 MTurk 上的选择中添加 target="_blank"
之类的东西?
下面是为您的任务使用 FormattedContent 的示例:
<Selection>
<SelectionIdentifier>1</SelectionIdentifier>
<FormattedContent><![CDATA[<a href="http://www.imdb.com/name/nm2271332/" target="_blank">http://www.imdb.com/name/nm2271332/</a>]]></FormattedContent>
</Selection>
您可以在此处获得有关 QuestionForm 数据结构的更多详细信息,包括有用的示例:http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_QuestionFormDataStructureArticle.html