Difference between revisions of "User talk:Bea Linden"
Jump to navigation
Jump to search
(Created page with '== Favorite == You are my favorite Linden ever, I've wanted collapsible tables for the longest time. But would you mind adding the following to MediaWiki:Common.js so that w...') |
m (→Favorite) |
||
Line 1: | Line 1: | ||
== Favorite == | == Favorite == | ||
You are my favorite Linden ever, I've wanted collapsible tables for the longest time. But would you mind adding the following to [[MediaWiki:Common.js]] so that when you toggle a collapsible table it won't jump to the top of the article? | You are my favorite Linden ever, I've wanted collapsible tables for the longest time ({{JIRA|WEB-235}}). But would you mind adding the following to [[MediaWiki:Common.js]] so that when you toggle a collapsible table it won't jump to the top of the article? | ||
<javascript>function killEvt( evt ) { | <javascript>function killEvt( evt ) { |
Revision as of 04:08, 16 November 2010
Favorite
You are my favorite Linden ever, I've wanted collapsible tables for the longest time (WEB-235). But would you mind adding the following to MediaWiki:Common.js so that when you toggle a collapsible table it won't jump to the top of the article?
<javascript>function killEvt( evt ) { evt = evt || window.event || window.Event; // W3C, IE, Netscape if ( typeof ( evt.preventDefault ) != 'undefined' ) { evt.preventDefault(); // Don't follow the link evt.stopPropagation(); } else { evt.cancelBubble = true; // IE } return false; // Don't follow the link (IE) }</javascript> -- Strife (talk|contribs) 12:06, 16 November 2010 (UTC)