Difference between revisions of "Ethics"

From EITBOK
Jump to: navigation, search
Line 1: Line 1:
 
<p>This chapter is under construction and will be included in a 2016 update to the EITBOK.</p>
 
<p>This chapter is under construction and will be included in a 2016 update to the EITBOK.</p>
  
 +
<script>
  
 
// This example illustrates a simple popup. Width and height are specified in pixels. By default, the width is 320 pixels and the height is the automatic height. If 'padded' is set to 'true', padding will be added to the popup body. Content is appended to the popup body using the $content config.
 
// This example illustrates a simple popup. Width and height are specified in pixels. By default, the width is 320 pixels and the height is the automatic height. If 'padded' is set to 'true', padding will be added to the popup body. Content is appended to the popup body using the $content config.
Line 14: Line 15:
 
// To display the popup, toggle the visibility to 'true'.
 
// To display the popup, toggle the visibility to 'true'.
 
popup.toggle( true );
 
popup.toggle( true );
 +
</script>

Revision as of 00:56, 10 May 2016

This chapter is under construction and will be included in a 2016 update to the EITBOK.

<script>

// This example illustrates a simple popup. Width and height are specified in pixels. By default, the width is 320 pixels and the height is the automatic height. If 'padded' is set to 'true', padding will be added to the popup body. Content is appended to the popup body using the $content config.

var popup = new OO.ui.PopupWidget( {

$content: $( '

Hi there!

' ),
 padded: true,
 width: 300 

} );

$( 'body' ).append( popup.$element );

// To display the popup, toggle the visibility to 'true'. popup.toggle( true ); </script>