Category talk:OoRexx: Difference between revisions
Content added Content deleted
(→Coloring / Highlighting Rexx code: custom js (temp) solution) |
m (→Coloring / Highlighting Rexx code: added comment and a thank you. -- ~~~~) |
||
Line 188: | Line 188: | ||
add_toggle_links(); |
add_toggle_links(); |
||
})();</lang> which will <s>format your hard drive</s> add a link before each code block to toggle highlights. I only tested it on Firefox, though it should work with other browsers. If you want to used it and find it lacking, let me know. --[[User:Ledrug|Ledrug]] 16:08, 12 June 2012 (UTC) |
})();</lang> which will <s>format your hard drive</s> add a link before each code block to toggle highlights. I only tested it on Firefox, though it should work with other browsers. If you want to used it and find it lacking, let me know. --[[User:Ledrug|Ledrug]] 16:08, 12 June 2012 (UTC) |
||
Thanks. When I uncommented that one line, it did exactly what I wanted, but still allowed me to use highlighting when I want it. |
|||
<br>It receives a nag message when using I.E., however, but I rarely use it [I use FireFox Aurora almost exclusively]. |
|||
<br>I would quote the script error, but I don't know nuttin' about nuttin' in Javascript, and it may just be something in my environment. |
|||
<br>I wish this code (as is) would be present without having to install in all my preferences, which would give the viewer a choice (and presumably, the default would be highlighting). As someone else said, I don't like to have highlighting forced on my viewing of source code, having the toggle allows me a choice. -- [[User:Gerard Schildberger|Gerard Schildberger]] 20:31, 12 June 2012 (UTC) |