Mudanças entre as edições de "TESTE"

(Página substituída por ' ==TESTE ==')
(TESTE)
Linha 1: Linha 1:
  
  
 +
.ol{counter-reset:item;padding-left:10px;}LI{display:block}LI:before{content:counters(item,".") " ";counter-increment:item}
 +
 +
$wgResourceModules['ext.Example.styles'] = array(
 +
'position' => 'top',
 +
'styles' => array(
 +
{{
 +
var $doc = $('html, body');
 +
$('a').click(function() {
 +
    $doc.animate({
 +
        scrollTop: $( $.attr(this, 'href') ).offset().top
 +
    }, 500);
 +
    return false;
 +
});
 +
}}
 
==TESTE ==
 
==TESTE ==
 +
 +
<ol>
 +
  <li>one</li>
 +
  <li>two
 +
  <ol>
 +
  <li class="toclevel-2 tocsection-2"><span class="tocnumber">12.5.1</span>two.one</li>
 +
  <li>two.two</li>
 +
  <li>two.three</li>
 +
  </ol>
 +
  </li>
 +
  <li>three
 +
  <ol>
 +
  <li>three.one</li>
 +
  <li>three.two
 +
    <ol>
 +
    <li>three.two.one</li>
 +
 +
----

Edição das 14h37min de 15 de fevereiro de 2019


.ol{counter-reset:item;padding-left:10px;}LI{display:block}LI:before{content:counters(item,".") " ";counter-increment:item}

$wgResourceModules['ext.Example.styles'] = array( 'position' => 'top', 'styles' => array( {{ var $doc = $('html, body'); $('a').click(function() {

   $doc.animate({
       scrollTop: $( $.attr(this, 'href') ).offset().top
   }, 500);
   return false;

}); }}

TESTE

  1. one
  2. two
    1. 12.5.1two.one
    2. two.two
    3. two.three
  3. three
    1. three.one
    2. three.two
      1. three.two.one