Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Tests/Resource.

Tests/Resource

From MoodleDocs
Revision as of 06:00, 28 February 2006 by Christian Lebe (talk | contribs)

[RES001TA]


  1. Open ‘A Text Page’ Resource page and you should see the text box just like the following:Tests-resource-text.jpg
  2. Click the Update this Resource button on the top right corner page.
  3. You should get a setting page where you can modify the text resource. Play around with it, add some text (or smilies) in the Full Text box.
  4. Click Save Changes and you should get the updated page, with the last modified date has been changed to today’s date.


[RES002TA]

  1. Open A Text Page (markdown formatting) Resource page and you should see the text box below:Tests-resource-text-markdown.jpg
  2. Click the Update this Resource button on the top right corner page.
  3. You should get a setting page where you can modify the text resource. The difference with the previous resource is formatting of the text. The formatting of this resource is Markdown Format. Markdown format tries to make it easy as possible to type well-formatted XHTML pages using nothing but text written more or less like you would write an email. You can click the help button Help.gif to get more information about Markdown Format.
  4. Add the following text into the text box:

     
      # Emphasizing Text
      *italic* -> italic
      **bold** -> bold
      ***bold italic*** -> bold italic

      Emphasis can be added to single words, a sequence of words, or even parts of words:

      a *single* word -> a single word
      ***a sequence of words*** -> a sequence of words
      in**distinguish**able -> indistinguishable

      # Headings

      # section heading
      ## sub-section heading
      ### sub-sub-section heading

      section heading
      ===============

      subsection heading
      ------------------ 

      # Lists

      ## bullet point lists

      * first point
      * second point
      * third point 

      ## numbered lists

          * top level bullet one
            * sub-bullet  
            * sub-bullet 2 
          * top level bullet two  
          1. numbered point one
             1. nested numbered point  
          2. numbered point two

      # quoted paragraphs

      > This is a quoted paragraph
      > spread over two lines 

      # web links
      An [example link](http://example.com/ "Optional Title") in a sentence.

      # images
      ![Google logo](http://www.google.com/images/logo.gif "The Google logo" 
       

5. Click Save Changes and you should get the updated page, with the last modified date has been changed to today’s date with an added text as follows:Tests-resource-text-markdown2.jpg

6. Now, as the last test, click the Update this Resource button again. In the Window setting, choose the New Window Display this resource in a new popup window. Un-tick the allow window to be resized (only works in Internet Explorer)

7. Click Save Changes.

8. You should be directed to the resource page, and you should see a link A Text Page (markdown formatting) that will pop-up a new window when you click it, in case the pop-up did not appear automatically.

[RES003TA]

  1. Open the ‘A Web Page’ Resource page and you should see the text box below: Tests-resource-webpage.jpg
  2. Now, click the button Update this Resource. You should see a similar configuration-setting page.
  3. Add the following HTML and simple Javascript to the text box:

     
      <h1>Heading of your paragraph.</h1>

      <p>This is where you enter the text of your document.</p>

      This is how to write a link:
      <a href="http://www.moodle.org">Moodle.org Home Page</a><br /><br />

      If you can see the text below saying <b>'Hello world!' </b> then the javascript works.<br /><br />

      <!-- Javascript test -->
      <script>
          document.write (‘Hello, world!’)
      </script>
      

4. Click the Save Changes button 5. You should see the page gets updated as below: Tests-resource-webpage2.jpg 6. Now, as the last test, click the Update this Resource button again. In the Window setting, choose the New Window Display this resource in a new popup window. Un-tick the allow window to be resized (only works in Internet Explorer) 7. Click Save Changes. 8. You should be directed to the resource page, and you should see a link A Web Page that will pop-up a new window when you click it, in case the pop-up did not appear automatically.