Permalink
Browse files

added footnotes about using jQuery

  • Loading branch information...
1 parent 618217c commit 64b3c6b9a3e9bb230bfc0c237f7e8cd19b62f50c @DekusDenial committed Apr 2, 2012
Showing with 13 additions and 1 deletion.
  1. +4 −0 index.html
  2. +6 −0 sass/screen.scss
  3. +3 −1 stylesheets/screen.css
View
4 index.html
@@ -23,6 +23,10 @@
<p>
<label><input name="jslib" type="radio" value="jquery" checked="checked">jQuery</label>
</p>
+ <p >***if you want to run jQuery on the output view, you have to manually change the context to that output view, by adding "output_context" to any jQuery selector function !</p>
+ <pre class="prettyprint">// output_context is in global scope
+$('selector_from_the_output_view', output_context).hide();
+</pre>
</form>
</div>
<div class="output">
View
6 sass/screen.scss
@@ -5,9 +5,15 @@
body {
font: 12px / 1.5 Georgia, Helvetica, Arial, sans-serif;
background: url("../images/bg_dark.png");
+ color: white;
@include pie-clearfix;
}
+.prettyprint {
+ background: #232323;
+ font-weight: bold;
+}
+
fieldset {
border: 1px solid #ddd;
width: 100%;
View
4 stylesheets/screen.css
@@ -40,9 +40,11 @@ ol.linenums { margin: 0 0 0 33px; /* IE indents via margin-left */ }
ol.linenums li { padding-left: 12px; color: #bebec5; line-height: 18px; text-shadow: 0 1px 0 #fff; }
-body { font: 12px/1.5 Georgia, Helvetica, Arial, sans-serif; background: url("../images/bg_dark.png"); *zoom: 1; }
+body { font: 12px/1.5 Georgia, Helvetica, Arial, sans-serif; background: url("../images/bg_dark.png"); color: white; *zoom: 1; }
body:after { content: ""; display: table; clear: both; }
+.prettyprint { background: #232323; font-weight: bold; }
+
fieldset { border: 1px solid #ddd; width: 100%; }
fieldset legend { font-size: 2em; margin-left: 1em; padding: 0 0.5em; color: #e3e3e3; }
fieldset textarea { width: 100%; height: auto; outline: none; border: none; resize: vertical; max-height: 300px; overflow: auto; color: #999; font-size: 1em; background: url("../images/bg_dark.png"); }

0 comments on commit 64b3c6b

Please sign in to comment.