Diferencia entre revisiones de «Dataform CSSS JS»

De MoodleDocs
m (tidy up)
m (tidy up)
 
Línea 1: Línea 1:
{{Pendiente de traducir}}
{{Pendiente 2}}
{{Dataform}}
{{Dataform}}
==CSS==
==CSS==

Revisión actual - 16:39 20 abr 2014

Nota: Pendiente 2. ¡Corresponden a complementos (add-ons) y serán traducidas después de traducir la documentación del núcleo de Moodle!.     (otras páginas pendientes)

CSS

You can use CSS to manipulate the layout and styles of entries and content in any of the Dataform views. Any html element in the designated view, that has an id or a CSS class can be assigned specialized styles by including the style definitions in the CSS tab.

The Dataform allows you to add CSS in the CSS tab in three ways:

  • Include external CSS - You can specify a list of urls to external CSS files and these files will be loaded to the Dataform view page.
  • CSS code - You can enter CSS definitions directly.
  • Upload CSS files - You can upload CSS files into the Dataform files area in Moodle's file system. These files become part of the Dataform instance to which they are uploaded and are included in Dataform presets and backups.
The Dataform CSS tab

Javascript

You can use javascript to manipulate the way entries are displayed and behave in any of the Dataform views. Any html element in the designated view, that has an id or a css class can be accessed and manipulated by javascript.

The Dataform allows you to add javascript in three ways:

  • Include external javascript - You can specify a list of urls to external javascript files and these files will be loaded to the Dataform view page.
  • Javascript code - You can enter javascript code directly. This is usually required in addition to including javascript files so as to apply the desired effects to particular views or particular items in views.
  • Upload javascript files - You can upload javascript files into the Dataform files area in Moodle's file system. These files become part of the Dataform instance to which they are uploaded and are included in Dataform presets and backups.
The Dataform JS tab