Rosetta Code:Village Pump/Javascript Functionality Add: Difference between revisions

Undo revision 209698 by 188.143.232.11 (talk)
(Move discussion to this page.)
(Undo revision 209698 by 188.143.232.11 (talk))
 
(6 intermediate revisions by 3 users not shown)
Line 53:
 
For most languages this is rather simple, I think, since the anchor name on the task page is identical to the language's name (which is also the category name for that language). However, for a few languages, including C# and F#, this doesn't quite work, as their categories are named »C sharp« and »F sharp« and the anchors use »C.23« and »F.23« (apparently url-encoded and <code>%</code> replaced by <code>.</code>). The name used in the anchors appears to be nowhere to grab for JS on the language page, although this might be solvable with converting the infobox into a template which makes the intended/canonical name accessible via a <code>&lt;span class='intended-name'&gt;</code> or so. –[[User:Hypftier|Johannes Rössel]] 21:18, 21 May 2010 (UTC)
 
:See [[Rosetta_Code:Village_Pump/Language_Page_Links|language page links]] (includes code). [[User:BR|BR]] 01:38, 21 November 2010 (UTC)
 
== Per-code example buttonbar ==
Line 74 ⟶ 76:
 
Color picker for GeSHi highlighting CSS selectors. Save to cookies or HTML5 local datastore. (There's currently no serverside datastore for RC) --[[User:Short Circuit|Michael Mol]] 20:36, 26 June 2010 (UTC)
 
: Give this a try - [[Rosetta Code:Syntax Highlight Color Picker]]. --[[User:Tyrok1|Tyrok1]] 19:32, 3 July 2011 (UTC)
 
 
Anonymous user