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

Standards: Difference between revisions

From MoodleDocs
Line 3: Line 3:


=== Lists ===
=== Lists ===
Lists are widely used all over Moodle. They appear in the sideblocks, they are used on the course pages. Many developers currently use lists for navigation as in the SCORM or the CMS module. I regularly use them for navigation lists in HTML blocks. If all lists would use the same XHTML and CSS it would be very easy to design Moodle themes consistent with few changes. Actually all lists are different. The consequences are that the special CSS for every list type lets the Moodle CSS files grow and that theme design gets more difficult and tedious.
Lists are widely used all over Moodle. They appear in the sideblocks, they are used on the course pages. Many Moodle developers currently use the up-to-date combination of XHTML lists and CSS styling for navigation as in the SCORM or the CMS module. I regularly use them for navigation lists in HTML blocks. When all lists use the same XHTML and CSS it is easy to design different Moodle themes consistent and with few changes. Actually all lists are different. The consequences are that the special CSS for every list type lets the Moodle CSS files grow and that theme design gets more difficult and tedious.


I took all following examples from the List-o-Matic Website [http://www.accessify.com/tools-and-wizards/list-o-matic/list-o-matic.asp] for easy reproduction. You find detailed descriptions in the Listutorial  
I took the following example from the List-o-Matic Website [http://www.accessify.com/tools-and-wizards/list-o-matic/list-o-matic.asp] for easy reproduction. You find detailed descriptions about XHTML/CSS lists in the Listutorial  
[http://css.maxdesign.com.au/listutorial/index.htm].
[http://css.maxdesign.com.au/listutorial/index.htm].



Revision as of 13:38, 30 August 2005

How to Style Moodle Standard Page Elements and and Page Parts

Similar functions or similar content should look and feel the same on all Moodle pages. The more consequent these principles are implemented the easer and less hindering the VLE will interfere the working/learning process. The Vision is that Moodle pages build on the same function patterns (PHP and JavaScript) and design patterns (XHTML and CSS).

Lists

Lists are widely used all over Moodle. They appear in the sideblocks, they are used on the course pages. Many Moodle developers currently use the up-to-date combination of XHTML lists and CSS styling for navigation as in the SCORM or the CMS module. I regularly use them for navigation lists in HTML blocks. When all lists use the same XHTML and CSS it is easy to design different Moodle themes consistent and with few changes. Actually all lists are different. The consequences are that the special CSS for every list type lets the Moodle CSS files grow and that theme design gets more difficult and tedious.

I took the following example from the List-o-Matic Website [1] for easy reproduction. You find detailed descriptions about XHTML/CSS lists in the Listutorial [2].

Resources about Lists on the Web

[1] List-o-Matic

[2] Listutorial