Difference between revisions of "MediaWiki:Monaco-sidebar"
Jump to navigation
Jump to search
KOER admin (talk | contribs) |
KOER admin (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | /** | ||
+ | * Open external links in the sidebar in a new window | ||
+ | * | ||
+ | * @source mediawiki.org/wiki/Snippets/Open_external_sidebar_links_in_new_window | ||
+ | * @version 1 | ||
+ | */ | ||
+ | $( '#mw-panel, #panel' ) // #panel is for pre-1.17 compatibility | ||
+ | .find( 'li a' ) | ||
+ | .filter( '[href^=http://], [href^=https://]' ) | ||
+ | .attr( 'target' , '_blank' ); | ||
+ | |||
+ | |||
* navigation | * navigation | ||
** mainpage|Home Page | ** mainpage|Home Page |
Revision as of 05:19, 15 April 2014
/**
* Open external links in the sidebar in a new window * * @source mediawiki.org/wiki/Snippets/Open_external_sidebar_links_in_new_window * @version 1 */
$( '#mw-panel, #panel' ) // #panel is for pre-1.17 compatibility .find( 'li a' ) .filter( '[href^=http://], [href^=https://]' ) .attr( 'target' , '_blank' );
- navigation
- mainpage|Home Page
- About_us|About us
- helppage|help
- Community
- http://karnatakaeducation.org.in/?q=node/289%7CGroups
- http://karnatakaeducation.org.in/?q=forum%7CDiscussion Forum
- http://karnatakaeducation.org.in/?q=blog%7CBlogs
- http://karnatakaeducation.org.in/schoolwiki/index.php/Main_Page%7CSchool Wiki
- http://karnatakaeducation.org.in/DIETwiki/index.php/Main_Page%7CDiet Wiki
- On-line Courses
- Turtle_Art_Week_1|Turtle Art
- geogebra|Geogebra
- Subject Portals
- Portal:Art|Art
- Portal:English|English
- Portal:ICT_Literacy|ICT Literacy
- Portal:Science|Science
- Portal:Social_Science|Social Science
- Resources
- Geogebra_Applets|Geogebra Applets
- Photographs|Photographs
- Project_investigations|Projects and investigations
- Question_Papers|Question Papers
- Simulations|Simulations and website interactives
- Solved_problems|Solved problems
- Text_Books|Textbooks
- Videos|Videos
- Thematic Portals
- Portal:Education_Leadership_and_Management|Education Leadership and Management
- Portal:Curriculum and Syllabus|Curriculum and Syllabus
- Portal:Education_Policy|Education Policy