labvanced logoLabVanced
Contact
    • Remote Physiological Measurements
    • Eye Tracking
    • Head & Face-Tracking
    • Emotion Detection
    • Heart Rate Detection (rPPG)
    • Generative AI
    • Audio Transcription
    • EEG & Hardware Integrations
    • Decision Making
    • Reaction Times
    • Keyboard Inputs
    • Mouse Tracking
    • Mobile / Touch
    • Questionnaires
    • Gamepad / Joystick Integration
    • Audio Recordings
    • Audio Transcription
    • Video Recordings
    • Screen Recordings
    • Photos / Snapshots
    • Video Conferencing
    • Canvas Drawings
    • Build with AI
    • Build with Spreadsheets
    • Using the Experiment Editor
    • Coding
    • Creating Questionnaires
    • Balancing & Randomization
    • UX & Website Testing
    • Single Session Studies
    • Factorial Designs
    • Longitudinal & Multi-session Studies
    • Individual & Case Studies
    • Real-time Multi-user Studies
    • Interviews & Video Calls
    • Surveys & Questionnaires
    • Experience Sampling & Diaries
    • Classroom & Group Testing
    • Interventions & Clinical Trials
    • In the Browser
    • Mobile App
    • Desktop App
    • WebBridge Chrome Extension
    • Stroop Test
    • Flanker Task
    • N-back Task
    • Implicit Association Test
    • Trail Making Test
    • Digit Span
    • Corsi Block Tapping
    • Tower of London
    • Balloon Analog Risk Task
    • Preferential Looking
    • Browse more →
    • DASS-21
    • GAD-7
    • Rosenberg Self-Esteem Scale
    • PHQ-9
    • Ten-Item Personality Inventory
    • Big Five Personality Test
    • Adult ADHD Self-Report Scale
    • Browse more →
    • Building a Multi-user Study
    • Webcam Eye Tracking with AOIs
    • Website Frame Eye Tracking
    • Conditional Eye Tracking Opt-in
    • ChatGPT Study
    • Desktop App Study with EEG
    • Between-subjects Group Balancing
    • Building a Reading Study
    • Stroop Task
    • Lexical Decision Task
    • Browse more →
    Public Experiment Library
    • Arts Research
    • Clinical Psychology & Neuropsychology Medicine
    • Cognitive Psychology
    • Developmental Psychology
    • Behavioral Economics & Decision Science
    • Educational Research & Psychology
    • HCI & Human Factors
    • Linguistics & Language Sciences
    • Consumer & Marketing Research
    • Social & Personality Psychology
    • Sport & Movement Science
    • UX & Website Testing
    • Executive Functions
    • Language & Reading
    • Decision-Making & Reasoning
    • Attention
    • Overview
    • HCI & Human Factors
    • UX & Website Testing
    • Consumer & Marketing Research
    • White-Label App
    • PageGazer
    • Webcam vs. Lab Eye Tracking in InfantsAnna Banki & Gabriela Markova
    • Eye Tracking for Influencer MarketingDr. Alexander Edeling
    • Eye Tracking Infant Word ComprehensionDr. Giulia Calignano
    • Sentence Reading and Grammar JudgmentsDr. Jonathan Mirault
    • Regulating Emotions with MusicDr. Katrin Starcke
    • Game-Based Grammar Learning in ChildrenDr. Mireia Marimon
    • Gaze Cueing and AutismMax Soares Miehstein
    • Personality and Hearing in NoiseDr. Malte Wöstmann
    • All interviews →
    • Lab Notes
    • How to Cite Labvanced
    • Labvanced Platform Paper (2017)
    • Webcam Eye Tracking Validation (2024)
    • Webcam Eye Tracking Studies
    • Cognitive Psychology Studies
    • Developmental Psychology Studies
    • Linguistics Studies
    • See all publications →
    • Getting Started
    • Guide
    • Video Tutorials
    • Walkthroughs
    • Live Chat
    • Webinars & Onboarding Calls
    • AI Assistant
    • FAQ
    • Importing Templates Guide
    • Test Templates
    • Live Eye Tracking Metrics
    • Mouse Tracking Demo
    • ChatGPT Demo
    • Audio Recording Object Demo
    • Adding Image Stimuli Demo
    • Score & Feedback Demo
    • Browse all technical demos →
    • Timing Precision
    • Stimuli Presentation
    • Headphone Checks
    • Bot Checks
    • Participant Management
    • Comparisons
    • Research Blog
    • Prolific Integration
    • CloudResearch Integration
    • Sona Systems Integration
    • BeSample Integration
    • Panelabs Integration
    • Clickworker Integration
    • Labvanced Webhook API
    • Labvanced REST API
    • About Us
    • Newsletter Archive
    • Terms & Conditions
    • Data Security & Data Privacy
    • Technical & Organisational Measures
    • Accessibility
    • W-8BEN-E Form
    • Data Processing Agreement Template
    LinkedInYouTubeDiscord
    • Individual
    • Lab
    • Department / Consortium
    • Teaching
    • Campus
    • Commercial
    • Browse recording top-ups →
    • Browse AI token top-ups →
    • Overview
    • Study Building
    • Subject Recruitment
    • Dedicated Support
    Checkout
  • Contact
    • ZH
      • 中國人
      • Deutsch
      • Français
      • Español
      • English
      • 日本語
    • Logout
    • Loginlogin icon
    Platform
    Labvanced makes it easy to implement the most advanced study design and reliably collect your data.
    Biosignals & AI
    Remote Physiological MeasurementsEye TrackingHead & Face-TrackingEmotion DetectionHeart Rate Detection (rPPG)Generative AIAudio TranscriptionEEG & Hardware Integrations
    Behavioral Recordings
    Decision MakingReaction TimesKeyboard InputsMouse TrackingMobile / TouchQuestionnairesGamepad / Joystick Integration
    Media Recordings
    Audio RecordingsAudio TranscriptionVideo RecordingsScreen RecordingsPhotos / SnapshotsVideo ConferencingCanvas Drawings
    Implementation Techniques
    Build with AIBuild with SpreadsheetsUsing the Experiment EditorCodingCreating QuestionnairesBalancing & RandomizationUX & Website Testing
    Study Formats

    Your study can take whatever format your research needs. Here are a few popular examples.

    Single Session StudiesFactorial DesignsLongitudinal & Multi-session StudiesIndividual & Case StudiesReal-time Multi-user StudiesInterviews & Video CallsSurveys & QuestionnairesExperience Sampling & DiariesClassroom & Group TestingInterventions & Clinical Trials
    Where Studies Run

    Run your study online in the browser, on mobile or tablet with the mobile app, or in-lab with the desktop app.

    In the BrowserMobile AppDesktop AppWebBridge Chrome Extension
    Tests
    Explore cognitive tests, questionnaires, walkthroughs, and our public experiment library: a starting point for your next study.
    Popular Cognitive Tests
    Stroop TestFlanker TaskN-back TaskImplicit Association TestTrail Making TestDigit SpanCorsi Block TappingTower of LondonBalloon Analog Risk TaskPreferential Looking
    Browse more →
    Questionnaires & Scales
    DASS-21GAD-7Rosenberg Self-Esteem ScalePHQ-9Ten-Item Personality InventoryBig Five Personality TestAdult ADHD Self-Report Scale
    Browse more →
    Public Experiment Library

    Take a look at what other researchers in the community are doing through our extensive, open catalog of shared studies.

    Open the public library →
    Walkthroughs

    Step-by-step builds of complete studies, from a blank project to a running experiment, that you can follow along or adapt.

    Building a Multi-user StudyWebcam Eye Tracking with AOIsWebsite Frame Eye TrackingConditional Eye Tracking Opt-inChatGPT StudyDesktop App Study with EEGBetween-subjects Group BalancingBuilding a Reading StudyStroop TaskLexical Decision Task
    Browse more →
    Research
    One platform for students, academics, and industry researchers studying human behavior.
    Harvard UniversityStanford UniversityCambridge UniversityUCLNYUMax Planck InstituteUCLATU Munich

    Trusted by researchers at 1,500+ universities worldwide

    Academic Research
    Arts ResearchClinical Psychology & Neuropsychology MedicineCognitive PsychologyDevelopmental PsychologyBehavioral Economics & Decision ScienceEducational Research & PsychologyHCI & Human FactorsLinguistics & Language SciencesConsumer & Marketing ResearchSocial & Personality PsychologySport & Movement ScienceUX & Website Testing
    Research Areas
    Executive FunctionsLanguage & ReadingDecision-Making & ReasoningAttention
    Industry / Commercial
    OverviewHCI & Human FactorsUX & Website TestingConsumer & Marketing ResearchWhite-Label AppPageGazer
    Researcher Interviews

    Conversations with researchers about the studies they ran with Labvanced, what worked, and what they learned.

    Webcam vs. Lab Eye Tracking in InfantsAnna Banki & Gabriela MarkovaEye Tracking for Influencer MarketingDr. Alexander EdelingEye Tracking Infant Word ComprehensionDr. Giulia CalignanoSentence Reading and Grammar JudgmentsDr. Jonathan MiraultRegulating Emotions with MusicDr. Katrin StarckeGame-Based Grammar Learning in ChildrenDr. Mireia MarimonGaze Cueing and AutismMax Soares MiehsteinPersonality and Hearing in NoiseDr. Malte Wöstmann
    All interviews →
    Our Research
    Lab NotesHow to Cite Labvanced
    Peer Reviewed Studies

    A selection of peer-reviewed work built on Labvanced: our own platform and validation papers, and studies by the research community grouped by area. Hundreds more are listed on the full publications page.

    Labvanced Platform Paper (2017)Webcam Eye Tracking Validation (2024)Webcam Eye Tracking StudiesCognitive Psychology StudiesDevelopmental Psychology StudiesLinguistics Studies
    See all publications →
    Resources
    Valuable resources to help you learn the platform, stay updated, and more.
    Documentation
    Getting StartedGuideVideo TutorialsWalkthroughs
    Support
    Live ChatWebinars & Onboarding CallsAI AssistantFAQ
    Templates & Demos

    These are a few popular examples. Browse our guide and a selection of technical demos to get started with implementation.

    Importing Templates GuideTest TemplatesLive Eye Tracking MetricsMouse Tracking DemoChatGPT DemoAudio Recording Object DemoAdding Image Stimuli DemoScore & Feedback Demo
    Browse all technical demos →
    Methodology
    Timing PrecisionStimuli PresentationHeadphone ChecksBot ChecksParticipant ManagementComparisonsResearch Blog
    Integrations & APIs
    Prolific IntegrationCloudResearch IntegrationSona Systems IntegrationBeSample IntegrationPanelabs IntegrationClickworker IntegrationLabvanced Webhook APILabvanced REST API
    Company & Legal
    About UsNewsletter ArchiveTerms & ConditionsData Security & Data PrivacyTechnical & Organisational MeasuresAccessibilityW-8BEN-E FormData Processing Agreement Template
    LinkedInYouTubeDiscord
    Pricing
    Our licenses and additional services at a glance.
    Licenses
    IndividualLabDepartment / ConsortiumTeachingCampusCommercial
    Top-Ups

    Need more recordings for your lab or your own research? Simply use one of these recording top-up packages.

    Browse recording top-ups →

    Need more AI tokens for the AI assistant and study translations? Simply use one of these AI token top-up packages.

    Browse AI token top-ups →
    Additional Services

    Hire Labvanced’s expert team to quickly bring your project to the level of rigor it needs.

    OverviewStudy BuildingSubject RecruitmentDedicated Support
    Checkout

    Ready to purchase a license or top-up? Head straight to checkout.

    Go to checkout →
    • 中國人
    • Deutsch
    • Français
    • Español
    • English
    • 日本語
    • 入门
    • 指南
      • 入门

        • 任务编辑器
        • 框架
          • 画布框架
          • 页面框架
          • 网站框架
          • 溢出层与对话框 | Labvanced
        • 试验时间线
        • 刺激呈现
        • 反应的正确性
        • 对象
        • 事件
        • 变量
        • 任务向导
        • AI助手
        • 试验系统
        • 实验设计
          • 创建研究
          • 在 Labvanced 中导入模板
          • 数据框模式
          • 多用户实验设计
          • 纵向实验设计
      • 特色主题

        • 随机化与平衡
        • 眼动追踪
          • 在眼动追踪任务中呈现刺激
          • 如何选择眼动追踪校准设置
          • 在任务中设置眼动追踪
          • 记录和导出注视数据
          • 使用形状作为兴趣区域 (AOI) 进行眼动跟踪
          • 参与者校准体验
        • 网络桥接
          • 选择网站 AOI | 锚点、调整和验证 AOI 跟踪
          • 在网站区域(AOI)上跟踪鼠标行为 | Web Bridge指南
        • 问卷
        • 桌面应用
        • 示例研究
        • 参与者招募
        • API访问
          • REST API
          • Webhook API
          • WebSocket API
        • 其他主题

          • 精确的刺激时间
          • 多用户研究
          • 头部追踪在 Labvanced 中 | 指南
      • 主应用标签

        • 概览:主标签
        • 仪表板
        • 我的研究
        • 共享研究
        • 我的文件
        • 实验库
        • 我的账户
        • 许可证与服务
      • 研究标签

        • 概览:研究特定标签
        • 研究设计
          • 任务
          • 区块
          • 会话
          • 组
        • 任务编辑器
          • 任务控制
          • 试验系统
          • 框架类型
          • 对象
          • 对象属性表
          • 变量
          • 系统变量表
          • 事件系统
          • 文本编辑器功能
          • 任务编辑器中的眼动追踪选项
          • 任务中的头部追踪
          • 多用户研究
        • 设置
        • 变量
        • 媒体
        • 文本与翻译
        • 启动与参与
        • 受试者管理
        • 数据视图和导出
    • 视频教程
      • 视频概述
      • 在 Labvanced 中入门
      • 创建任务
      • 元素视频
      • 事件与变量
      • 高级主题
    • 演练
      • 介绍
      • 斯特鲁普任务
      • 词汇决策任务
      • 波斯纳注视提示任务
      • 注意盲点闪烁范式
      • 眼动追踪示例研究
      • 婴儿眼动追踪研究
      • 使用鼠标追踪的注意捕获研究
      • 快速串行视觉呈现
      • ChatGPT 研究
      • 眼动追踪演示:将 SVG 作为关注区域
      • 多用户演示:显示参与者的光标
      • 游戏手柄/操纵杆控制器 - 基本设置
      • 带有 EEG 集成的桌面应用研究
      • 被试间组平衡和变量设置
      • 构建多用户研究
      • 网站框架眼动追踪演练
      • 条件网络摄像头眼动追踪
      • 文本分段研究构建
      • 构建一个与 AI 的研究
    • 常见问题
      • 功能
      • 支持政策与指南
      • 安全与数据隐私
      • 许可
      • Labvanced 的精确度
      • 编程使用与 API
      • 离线使用 Labvanced
      • 故障排除
      • 研究创建问题

    溢出层与对话框

    溢出层和对话框是置于实验之上的框架,它们在底下的框架和试验变化时仍然保持在屏幕上。正常框架位于试验时间轴中:它在试验到达时出现,并在试验继续时消失。溢出层或对话框则位于时间轴之外。只要其范围持续(一次试验、一次任务或整个会话),它就会被安装,事件可以随时显示或隐藏它。

    目录

    • 添加溢出层或对话框
    • 打开设置
    • 类型、范围和初始状态
    • 覆盖样式
    • 对话框样式和交互
    • 范围
    • 溢出层和对话框上的事件
    • 使用控制框架显示和隐藏
    • 常见用例

    有两种类型:

    • 溢出层: 表现为置于实验之上的层。参与者继续使用底下的实验,只有溢出层上的对象会响应点击。将其用于计时器、分数或进度显示、帮助按钮或任何在试验间保持可见的元素。
    • 对话框: 一个位于实验上方的弹出窗口。默认情况下,它会阻挡并暗淡其后面的实验,直到关闭为止。将其用于帮助文本、任务中的指令、确认或条件消息。

    创建溢出层和对话框需要Overlays & Dialogs许可功能,从基本许可级别开始包含。使用免费许可证时,点击Canvas或Page在Overlays & Dialogs选项卡中打开许可升级对话框。

    添加溢出层或对话框

    1. 在任务编辑器中打开一个任务。
    2. 在框架下方的面板中,点击Overlays & Dialogs选项卡(位于Trial Timeline旁边)。
    3. 点击Canvas或Page。

    这两个按钮的默认设置不同。你可以在之后更改它们的所有设置。

    添加方式类型初始状态其他默认设置默认名称
    Canvas溢出层ShownMatch task display 尺寸, Transparent (see-through) 填充Overlay_1, Overlay_2, 等等
    Page对话框HiddenCentered 位置,阻挡并暗淡其后面的实验,可以拖动,带有关闭按钮Dialog_1, Dialog_2, 等等

    两者都以范围This task开始。新的框架被选中,您可以像任何画布框架或页面框架一样进行编辑:从工具栏添加对象,排列它们,并添加框架事件。该选项卡仅提供Canvas和Page,因此不能将网站框架作为溢出层添加。

    要删除溢出层或对话框,请使用Delete Frame图标,在Overlays & Dialogs面板中的条目上。

    打开设置

    在Overlays & Dialogs面板中选择溢出层或对话框。然后Frame Settings面板(页面的Page Settings面板)会显示一个摘要栏,例如Overlay · task · match task,带有齿轮图标。点击它打开设置弹出窗口。通过点击弹出窗口的标题中的✕或点击外部来关闭弹出窗口。

    对于溢出层和对话框,不显示框架设置Duration、Color和Hide Mouse。它们从不自动推进,其背景颜色在弹出窗口中设置,鼠标光标由底下的框架控制。

    类型、范围和初始状态

    弹出窗口的Type组:

    设置选项备注
    TypeOverlay (layered on top), Dialog (popup window)可以随时更改。Style组会随之变化。
    ScopeThis trial, This task, Whole session框架保持安装的时间。请参见范围。每个任务的Whole session溢出层列在Overlays & Dialogs面板中。
    Initial stateShown, Hidden当框架安装时是否可见。如果事件稍后要显示它,请选择Hidden。
    Also run trial events on it复选框,默认关闭除非需要,否则保持关闭。当它开启时,任务的试验事件将在底下的框架和溢出层上运行,因此可以触发两次。切换则会立即返回。

    溢出层样式

    当Type为Overlay (layered on top)时,这些设置会出现。

    设置选项备注
    SizingMatch task display (sits on the frames), Floating (place it yourself)Match task display 完全按任务框架渲染溢出层,因此当两个框架的大小相同时,框架下的对象与其对齐。Floating 自己放置溢出层框。
    Anchor(仅浮动)Top left, Top center, Top right, Middle left, Center, Middle right, Bottom left, Bottom center, Bottom right框附着的角落、边缘或中心。默认值Top left。
    Offset X / Y(仅浮动)两个数字,单位为像素距离锚点的距离。默认20和20。
    FillTransparent (see-through), Solid color, Semi-transparent溢出层的背景。默认值Transparent (see-through)。
    Color(实心和半透明)颜色选择器填充颜色。
    Opacity(仅半透明)滑块从5%到100%默认50%。

    浮动画布溢出层的大小来自框架自身的Width和Height在框架设置中。由页面构建的浮动溢出层使用500x350像素的框。

    溢出层从不阻挡实验。空的、透明的区域允许点击通过到底下的框架,只有溢出层上的对象捕捉到它们。

    对话框样式和交互

    当Type为Dialog (popup window)时,这些设置会出现。

    样式

    设置选项备注
    PlacementCentered, Pinned to a spotCentered 将对话框放置在屏幕的中间。
    Anchor(仅固定)与溢出层相同的九个位置对话框与所选角落或边缘保持20像素的距离。
    Size W / H(页面对话框)两个数字,单位为像素默认500和350。页面没有设计大小,所以对话框需要一个。
    Size(画布对话框)显示为“使用框架的宽度和高度”对话框使用框架的Width和Height,如果不合适,则按相同比例缩放。
    Background颜色选择器对话框背景。
    BorderNone, Solid默认Solid。
    Rounded corners复选框,默认开启
    Drop shadow复选框,默认开启
    Title bar复选框,默认关闭在对话框顶部添加一条横杆。
    Title(带标题栏)文本标题栏中的文字。
    Close button复选框,默认开启参与者可以点击以关闭对话框的✕。它位于标题栏中,或在没有标题栏的对话框的右上角。

    交互

    设置默认值备注
    Block the experiment behind开启参与者在对话框打开时无法点击实验。
    Dim the experiment behind开启使实验在对话框后面变暗。
    Participant can drag it开启允许参与者移动对话框。
    Close when clicking outside关闭当参与者单击对话框以外的区域时关闭对话框。
    Close on Esc key关闭当参与者按下Esc时关闭对话框。

    关闭对话框会将其隐藏并保持安装,因此其状态将在下次显示时持续存在。

    范围

    Scope 决定何时安装溢出层或对话框以及何时将其删除。

    范围安装删除用于
    This trial当任务开始时,然后在每个试验开始时重新安装当任务结束时每个试验应从头开始的反馈或帮助
    This task当任务开始时当任务结束时一项任务的计时器、分数或进度显示,以及属于一个任务的帮助
    Whole session当第一个任务开始时当会话结束时应该在所有任务中保持的元素,如帮助或暂停按钮

    每个This trial溢出层在每个试验开始时重置,因此其对象及其状态从头开始。This task和Whole session溢出层在试验和任务之间保持其状态。变量在每个范围内与实验的其余部分共享,因此在溢出层上显示的分数变量保持其值。

    溢出层和对话框始终使用默认试验的值。它们不随条件变化。

    溢出层和对话框上的事件

    溢出层或对话框运行其自己的框架事件,就像任何框架一样。它们每次显示时开始并在隐藏时停止。在溢出层上的键盘触发器也可以在底下的框架运行时工作。

    任务的试验事件(Trial Event (on each frame))不会在溢出层上运行,也不会列在它们的事件面板中,除非勾选Also run trial events on it。

    使用控制框架显示和隐藏

    使用Control Frame操作来显示、隐藏或切换溢出层或对话框。你可以在Control Actions下的添加操作菜单中找到它。

    1. 在你的试验时间轴中的框架上,或在溢出层本身上打开事件编辑器。
    2. 添加一个带有任何触发器的事件。
    3. 添加操作Control Frame。
    4. 在Frame:中选择溢出层或对话框。列表显示所有任务的溢出层和对话框,以及具有Whole session范围的。
    5. 在Command:中,选择Show、Hide或Toggle。

    如果尚未存在溢出层或对话框,操作会在Overlays & Dialogs选项卡中显示添加一个的提示。目标为另一个任务的This task或This trial溢出层的操作没有效果,因为该溢出层仅在其任务运行时安装。两次在四分之一秒内触发的Toggle命令算作一次,因此触发器火两次不会立即打开和关闭对话框。

    示例:单击按钮时显示隐藏的帮助对话框

    触发器: Mouse → Set Target: 你的帮助按钮 → Click
    操作: Control Frame → Frame: 你的帮助对话框 → Command: Show

    示例:从其内部的按钮关闭对话框

    在对话框框架上:
    触发器: Mouse → Set Target: 它的继续按钮 → Click
    操作: Control Frame → Frame: 同一对话框 → Command: Hide

    常见用例

    跨试验的计时器: 添加一个范围为This task的Canvas溢出层,将Sizing设置为Floating (place it yourself),将Anchor设置为Top right,并在其上放置一个计时器对象。通过在溢出层上的On Frame Start事件启动计时器。它会在框架和试验间跳跃时持续运行,直到任务结束。

    分数或进度显示: 添加一个范围为Match task display的Canvas溢出层,以及一个显示你的分数变量的Variable对象(工具栏组Text & Code)。变量是共享的,因此每当底下的框架上的事件改变分数时,显示就会更新。

    帮助对话框: 添加一个默认隐藏的Page对话框,包含你的指令,并在This task溢出层或框架本身上放置一个帮助按钮。用命令Show的Control Frame操作打开对话框,参与者通过关闭按钮关闭它。

    跨任务的暂停消息: 添加一个范围为Whole session的Page对话框,并将Initial state设置为Hidden。在任务结束时用Control Frame显示它,并用对话框内部的继续按钮隐藏它。对于块之间的常规休息,试验时间轴中的正常页面框架通常简单得多。

    进一步阅读

    试验时间轴

    试验时间轴

    如何在试验中添加和排列框架,以及框架设置的工作原理。

    事件系统

    事件系统

    触发器和操作,包括显示和隐藏溢出层和对话框的控制框架操作。

    变量的操作

    变量的操作

    变量在溢出层和底下框架之间共享,这就是分数或状态如何在它们之间流动的方式。

    Prev
    网站框架