Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/gregdingle/genetify
Browse files Browse the repository at this point in the history
  • Loading branch information
gregdingle committed Dec 11, 2008
2 parents 1714700 + 855fff4 commit 69fa5b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions genetify/demo/test-sections/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@


<p>Genetify works with CSS. <a href="#" onclick="genetify._cssSheetCount = 0; genetify.controls.reVary('additiveCSSRules'); return false;">Check it out</a>.</p>
<p>Try adding a new style rule.

<script type="text/javascript">
var msg = '';
if (navigator.userAgent.indexOf("Firefox") == -1){
msg = '<em>Sorry! Rewriting styles only works in Firefox.</em>';
msg = '<em>Rewriting the styles only works in Firefox.</em>';
}
document.write(msg);
else {
msg = 'Try adding a new style rule.';
}
document.write('<p>' + msg + '</p>');
</script>

</p>

<p><a href="?p=javascript">Next page</a></p>

<div class="corner top left">&nbsp;</div>
Expand All @@ -28,7 +28,7 @@
<div class="container">

<!-- user generated test -->
<textarea aid="sandbox_input_css" class="sandbox_input" onblur="insertHTML('sandbox_input_css', 'sandbox_output_css');">
<textarea id="sandbox_input_css" class="sandbox_input" onblur="insertHTML('sandbox_input_css', 'sandbox_output_css');">
&lt;style type=&quot;text/css&quot;&gt;
#mnbv { background-color: red;}
#mnbv.vBlue { background-color: blue;}
Expand Down

0 comments on commit 69fa5b5

Please sign in to comment.