This feature is currently in BETA. Changes may occur before the final release.
Content Frames allow developers to change the visual and functional aspects of adornments around course content in the Content Player, ActivityPlayer, and CoursePlayer components. The image below shows the CoursePlayer rendering an assessment. The area of the content frame is between the red and green rectangles.
You can override the default content frame for one item, for all items in a course, or for all courses in your domain.
Set the contentframe element of the Item Data to the resource in the course for the content frame. You must call DLAP's PutItems command directly as there is currently no BrainHoney UI to set this value.
Add a contentframe element to the Course Data with the appropriate itemtype attribute and the content frame's course resource path. You must call DLAP's UpdateCourses command directly as there is currently no BrainHoney UI to set this value.
A content frame is a VHTML file with a couple of special replacement tags:
The ContentFrameContent replacement tag indicates the location of the course content. Because the content controls its own scrolling, this tag should be placed in a div with non-default positioning. See Components for a positioning example.
See ContentFrame API for a description of the properties and methods.
You can download BrainHoney's standard content frames for assessment and homework item types below:
This VHTML page generates a frame with header and footer areas surrounding the content.