You can display links to your resource materials in your questions, assignments, or
announcements.
- Prerequisites
- Upload Images, Media, or Documents to My Folders
Note Always use the file ID to reference a file uploaded to WebAssign. Using the ID ensures that WebAssign
can locate the file even if you rename or move it.
-
Open the question, assignment, or announcement in which you want to add a link
to your file.
-
Open the My Files window.
From this page: |
Do this: |
Question Editor |
Click My Files in the Page
Tools panel. |
Assignment Editor |
Click Include File for the Instructions. |
Communication Home |
Click My Files to the left of your
announcement text. |
-
Navigate to the file you want to use and select its
check box.
You can select more than one file.
-
For Paste location of file (selected below) as, select
Link.
-
Set the display text for the file.
To do this |
Do this |
Use the existing display attributes |
In Attributes, select use saved
attributes. |
Override the existing display attributes |
- In Attributes, select enter
new attributes.
- Type the link text
you want to be displayed.
- Optional:
Provide information for the title
attribute of the link.
Depending on the browser or screen
reader's behavior, this might be displayed as hover text in
the browser or read by a screen reader, but it also might
not be shown or read to students at all.
|
-
Select where you want your file to be included.
In a: |
Do this: |
Question |
For Destination Field, select
Question, Answer, or
Solution.
Note You can include files or
images in Answer only for multiple-choice or
multiple-select questions.
|
Assignment |
For Destination Field, select
Instructions. |
Announcement |
For Destination Field, select
Announcement. |
-
Click go.
For each file to be linked, a <userfile>
tag is added to
your content referencing the file ID and specifying any overrides to the
display attributes.
Examples:
<userfile(12345)>
<userfile(987654, link => "Syllabus", title => "Syllabus for BIO-201")>
- Optional:
If needed, cut and paste the
<userfile>
tag to the location
where your file link should be displayed.
- Optional:
Specify other attributes that are valid for the
<a>
tag in
HTML — for example, style or target — in the
same way that the title attribute is specified.
For example, the following code displays the link in bold and opens the
document in a new browser window or tab:
<userfile(103854, style => "font-weight: bold;", target => "_blank")>