MediaWiki:Gadget-sidebarToggle.js: Difference between revisions

no edit summary
(Created page with "(function( $, undefined ) { "use strict"; →‎* * Whether the web browser is Internet Explorer before version 9.: var isOldIE = false; /** * The text direction of the...")
 
No edit summary
Line 189: Line 189:
// Show the toggle tab.
// Show the toggle tab.
$("<a class='sidebarbottons' id='collsidebar'></a>")
$("<a class='sidebarbottons' id='collsidebar'></a>")
.prop( "title", "تغییر وضعیت فهرست سمت راست" )
.prop( "title", "collapse sidebar" )
.click( toggle )
.click( toggle )
.insertAfter("#mw-panel");
.insertAfter("#mw-panel");
$("<a class='sidebarbottons' id='totop'></a>")
$("<a class='sidebarbottons' id='totop'></a>")
.prop( "title", "بازگشت به بالا" )
.prop( "title", "back to top" )
.click( totop )
.click( totop )
.insertAfter("#mw-panel");
.insertAfter("#mw-panel");
$("<a class='sidebarbottons' id='fontsizeup'></a>")
$("<a class='sidebarbottons' id='fontsizeup'></a>")
.prop( "title", "افزایش اندازه قلم" )
.prop( "title", "increase font size" )
.click( fontsizeup )
.click( fontsizeup )
.insertAfter("#mw-panel");
.insertAfter("#mw-panel");


$("<a class='sidebarbottons' id='fontsizedown'></a>")
$("<a class='sidebarbottons' id='fontsizedown'></a>")
.prop( "title", "کاهش اندازه قلم" )
.prop( "title", "decrease font size" )
.click( fontsizedown )
.click( fontsizedown )
.insertAfter("#mw-panel");
.insertAfter("#mw-panel");