Difference between revisions of "User talk:Bea Linden"

From Second Life Wiki
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...')
 
 
(One intermediate revision by the same user not shown)
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 ) {
Line 13: Line 13:
return false; // Don't follow the link (IE)
return false; // Don't follow the link (IE)
}</javascript> -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 12:06, 16 November 2010 (UTC)
}</javascript> -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 12:06, 16 November 2010 (UTC)
Hey Strife, I added the code you requested to Mediawiki:Common.js (for the collapsible tables). Let me know if it doesn't work as expected. -[[User:Bea Linden|Bea Linden]]
Works perfectly. I'm using it to redesign the {{LSLGC|PrimitiveParams}} documentation (the most visited and notorious LSL article), the prototype has gotten nothing but good reviews ^_^ Thanks for making it possible. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 05:01, 18 November 2010 (UTC)

Latest revision as of 21:01, 17 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)

Hey Strife, I added the code you requested to Mediawiki:Common.js (for the collapsible tables). Let me know if it doesn't work as expected. -Bea Linden

Works perfectly. I'm using it to redesign the PrimitiveParams documentation (the most visited and notorious LSL article), the prototype has gotten nothing but good reviews ^_^ Thanks for making it possible. -- Strife (talk|contribs) 05:01, 18 November 2010 (UTC)