Extension:TOCslider

What can this extension do?
Create nice pop-up slider with TOC of the page in the right part of browser window. May be useful for fast access to the any parts of content if page are larger then  comfortable scrolling size.

Usage
Install this extension as described below and just put  tag in the end of any page where you want to have pop-up slider with TOC. Slider are pop-up after put cursor to the upper-right corner of the browser window. It will work after some screen scrolling only, for prevent conflicts with wiki links in that corner.

Download instructions
').' ';      $html_output  .=$toc_table.'   ';       if (strpos( $text,'aka "Shual"'))  $text=str_replace($toc_table,'',$text);            $text = $css_style . $js_scripts .  $html_output . $text;   }     return true; }
 * Please copy and paste the code found below and place it in.

function toclogo( $input, $argv, $parser ) { $localParser = new Parser; $outputObj = $localParser->parse($input, $parser->mTitle, $parser->mOptions); $logo=($argv["text"]==="notoc") ? 'TOCslider Extension from Vadim Yanik aka "Shual" ' :'TOCslider Extension from Vadim Yanik '; return $logo; } function cut_str($x,$a,$b){ if (($a=="") or ($b=="") or ($x=="")) {return "";} $x=" ".$x; $p=strpos($x,$a); if($p){ $x= substr($x, $p + strlen($a)-1);} else {return "";} $p=strpos($x,$b); if($p){$x= substr($x, 0, $p);} else {return "";} return substr($x,1);} ?>


 * Please copy and paste the code found below and place it in.

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php: