The jQuery Ui homepage also hides the source by default.<br>I like this approach, because It doesn&#39;t show you to much information<br>at the same time, and I dont have to scroll up and down.<br><br>I know the usability and design should be improved, but<br>
I really don&#39;t care, if you dont like it remove it.<br><br>Gerhard<br><br><div class="gmail_quote">On Thu, Dec 24, 2009 at 3:53 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I don&#39;t like these changes.<br>
<br>
The goal of the tests is to demonstrate the concise implementation of<br>
some basic features. If the code and result is hidden by default this<br>
purpose is lost. Also the usability (clicking on the headings is not<br>
obvious) and the design (the boxes do not fit the existing css)<br>
doesn&#39;t look too nice in my eyes. What is the intent of your changes?<br>
<br>
Lukas<br>
<br>
2009/12/24  &lt;<a href="mailto:squeak-dev-noreply@lists.squeakfoundation.org">squeak-dev-noreply@lists.squeakfoundation.org</a>&gt;:<br>
&gt; Gerhard Obermann uploaded a new version of JQuery-Tests-Core to project Seaside 3.0:<br>
&gt; <a href="http://www.squeaksource.com/Seaside30/JQuery-Tests-Core-obi.97.mcz" target="_blank">http://www.squeaksource.com/Seaside30/JQuery-Tests-Core-obi.97.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: JQuery-Tests-Core-obi.97<br>
&gt; Author: obi<br>
&gt; Time: 24 December 2009, 3:26:11 pm<br>
&gt; UUID: fbba5893-20dc-1641-b897-07ede0b0f8c7<br>
&gt; Ancestors: JQuery-Tests-Core-lr.96, JQuery-Tests-Core-obi.95<br>
&gt;<br>
&gt; - merged with obi.95<br>
&gt;<br>
&gt; =============== Diff against JQuery-Tests-Core-lr.96 ===============<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;  ----- Method: JQAllTests&gt;&gt;renderSmalltalkOn: (in category &#39;rendering-browser&#39;) -----<br>
&gt;  renderSmalltalkOn: html<br>
&gt; +       | source id |<br>
&gt; +       id := html nextId.<br>
&gt; +       html heading level: 4;<br>
&gt; +               with: [html anchor<br>
&gt; +                                       onClick: ((html jQuery id: id) slideToggle: 0.5 seconds);<br>
&gt; +                                       with: &#39;Smalltalk&#39;].<br>
&gt; +       html div<br>
&gt; +               id: id;<br>
&gt; +               class: &#39;hide codeBox&#39;;<br>
&gt; +               with: [<br>
&gt; +                       contents selectors do: [ :selector |<br>
&gt; +                               source := ((contents class whichClassIncludesSelector: selector)<br>
&gt; +                                       sourceCodeAt: selector) greaseString readStream.<br>
&gt; +                               html div class: &#39;code&#39;; with: [<br>
&gt; +                                       html span<br>
&gt; +                                               class: &#39;signature&#39;;<br>
&gt; +                                               with: [ html text: contents class name; text: &#39;&gt;&gt;&#39;; text: source nextLine ].<br>
&gt; +                                       html break.<br>
&gt; +                                       [ source atEnd ] whileFalse: [<br>
&gt; +                                               [ source peek = Character tab ] whileTrue: [<br>
&gt; +                                                       html space; space; space.<br>
&gt; +                                                       source next ].<br>
&gt; +                                               html render: source nextLine; break ] ] ]<br>
&gt; +                               separatedBy: [ html break ] ]!<br>
&gt; -       | source |<br>
&gt; -       html heading level: 4; with: &#39;Smalltalk&#39;.<br>
&gt; -       contents selectors do: [ :selector |<br>
&gt; -               source := ((contents class whichClassIncludesSelector: selector)<br>
&gt; -                       sourceCodeAt: selector) greaseString readStream.<br>
&gt; -               html div class: &#39;code&#39;; with: [<br>
&gt; -                       html span<br>
&gt; -                               class: &#39;signature&#39;;<br>
&gt; -                               with: [ html text: contents class name; text: &#39;&gt;&gt;&#39;; text: source nextLine ].<br>
&gt; -                       html break.<br>
&gt; -                       [ source atEnd ] whileFalse: [<br>
&gt; -                               [ source peek = Character tab ] whileTrue: [<br>
&gt; -                                       html space; space; space.<br>
&gt; -                                       source next ].<br>
&gt; -                               html render: source nextLine; break ] ] ]<br>
&gt; -               separatedBy: [ html break ]!<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;  ----- Method: JQAllTestsLibrary&gt;&gt;defaultCss (in category &#39;styles&#39;) -----<br>
&gt;  defaultCss<br>
&gt;        ^ &#39;html { overflow-y: scroll; }<br>
&gt;  body { margin: 0; padding: 0; background: #434242 url(background.png) repeat-x; font-family: Helvetica,Arial,Verdana,sans-serif; font-size: 80%; line-height: 1.5; color: #222; }<br>
&gt;  a { text-decoration: none; color: #ff7200; outline: none; cursor: pointer; }<br>
&gt;  h1, h2, h3, h4, h5, h6 { border: 0; margin: 0; font-weight: normal; letter-spacing: 1px; }<br>
&gt;<br>
&gt;  #canvas { position: relative; margin: 0 auto; width: 1000px; }<br>
&gt;<br>
&gt;  #header h1.logo { float: left; margin: 50px 0; }<br>
&gt;  #header h1.logo a { display: block; width: 350px; height: 70px; background-image: url(logo.png); }<br>
&gt; + #header h1.logo a span, #content .hide { display: none; }<br>
&gt; - #header h1.logo a span { display: none; }<br>
&gt;<br>
&gt;  #menu { float: right; margin: 50px 0 10px 0; height: 50px; }<br>
&gt;  #menu .left, #menu .right { width: 15px; height: 50px; float: left; }<br>
&gt;  #menu .left { background-image: url(menuLeft.png); }<br>
&gt;  #menu .right { background-image: url(menuRight.png); }<br>
&gt;  #menu ul { background-image: url(menu.png); }<br>
&gt;  #menu ul, #menu ul li { float: left; margin: 0; padding: 0; height: 50px; list-style-type: none; }<br>
&gt;  #menu ul li a { padding: 0 15px; color: #bbb; line-height: 50px; font-size: 14px; }<br>
&gt;  #menu ul li a:hover { color: #fff; }<br>
&gt;<br>
&gt;  #content { position: relative; margin-bottom: 15px; }<br>
&gt;  #content { clear: both; background-color: white; }<br>
&gt; + #content .codeBox {border:1px solid #ccc; overflow:auto; width:100%; height:400px}<br>
&gt;  #content .top,<br>
&gt;  #content .bottom { height: 15px; background: url(frame.png); }<br>
&gt;  #content .head, .body { border: 1px solid #ddd; }<br>
&gt;  #content .head { height: 70px; border-bottom: none; }<br>
&gt;  #content .head h2 { float: left; margin: 10px; color: #ff7200; line-height: 50px; font-size: 30px; }<br>
&gt;  #content .head p { float: left; margin: 10px; padding-left: 20px; line-height: 50px; font-size: 20px; border-left: 1px solid #ddd; }<br>
&gt;  #content .head { padding: 10px; }<br>
&gt;<br>
&gt;  #content .tests { position: relative; padding: 20px; float: left; width: 180px; border-right: 1px solid #ddd; }<br>
&gt;  #content .tests h3 { font-size: 20px; margin-bottom: 6px; color: #ff7200; }<br>
&gt;  #content .tests ul, #content .tests ul li { padding: 0; margin: 0; list-style-type: none; }<br>
&gt;  #content .tests ul { margin-bottom: 20px; }<br>
&gt;  #content .tests ul li { line-height: 25px; border-bottom: 1px solid #eee; }<br>
&gt;  #content .tests ul li.active { background-color: #ddd; border-bottom: 1px solid #ccc; }<br>
&gt;  #content .tests ul li a { padding-left: 10px; color: #222; text-decoration: none; display: block; }<br>
&gt;  #content .tests ul li a:hover { background:#eee; }<br>
&gt;<br>
&gt;  #content .main { position: relative; padding: 20px; float: left; width: 735px; border-left: 1px solid #ddd; margin-left: -1px; }<br>
&gt;  #content .main h3 { font-size: 20px; margin-bottom: 10px; }<br>
&gt;  #content .main h4 { font-size: 16px; border-bottom: 1px solid #eee; margin-top: 20px; margin-bottom: 10px; }<br>
&gt;  #content .main .demo { position: relative; }<br>
&gt;  #content .main .code { font-family: &quot;Bitstream Vera Sans Mono&quot;, Courier, monospace; font-size: 1.2em; line-height: 1.2; overflow-x: hidden; overflow-y: auto; white-space: pre; width: 735px; }<br>
&gt;  #content .main .code .signature { font-weight: bold; }<br>
&gt;  #content .main .code .wa-tag { font-weight: bold; color: purple; }<br>
&gt;  #content .main .code .wa-attribute-key { font-weight: bold; color: black; }<br>
&gt;  #content .main .code .wa-attribute-value { color: blue; }<br>
&gt;  #content .main .code .wa-attribute-value a { color: blue; text-decoration: underline; }<br>
&gt;<br>
&gt;  .actions a { padding-right: 1em; }<br>
&gt;  #seastar { position: relative; }&#39;!<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;  ----- Method: JQAllTests&gt;&gt;renderJavascriptOn: (in category &#39;rendering-browser&#39;) -----<br>
&gt;  renderJavascriptOn: html<br>
&gt; +       | context id |<br>
&gt; +       id := html nextId.<br>
&gt; +       html heading level: 4;<br>
&gt; +               with: [ html anchor<br>
&gt; +                                       onClick: ((html jQuery id: id) slideToggle: 0.5 seconds);<br>
&gt; +                                       with: &#39;Source&#39;].<br>
&gt; +       html div id: id;<br>
&gt; +               class: &#39;code&#39;;<br>
&gt; +               class: &#39;hide&#39;;<br>
&gt; +               class: &#39;codeBox&#39;;<br>
&gt; +               with: [<br>
&gt; +                       context := html context copy.<br>
&gt; +                       context document: (WAPrettyPrintedDocument context: html context).<br>
&gt; +                       contents renderWithContext: context.<br>
&gt; +                       context document close ].!<br>
&gt; -       | context |<br>
&gt; -       html heading level: 4; with: &#39;Source&#39;.<br>
&gt; -       html div class: &#39;code&#39;; with: [<br>
&gt; -               context := html context copy.<br>
&gt; -               context document: (WAPrettyPrintedDocument context: html context).<br>
&gt; -               contents renderWithContext: context.<br>
&gt; -               context document close ].!<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; commits mailing list<br>
&gt; To unsubscribe, email <a href="mailto:commits-leave@lists.seaside.st">commits-leave@lists.seaside.st</a><br>
&gt; <a href="http://lists.seaside.st/listinfo/commits" target="_blank">http://lists.seaside.st/listinfo/commits</a><br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><br>
_______________________________________________<br>
seaside-dev mailing list<br>
<a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
</font></blockquote></div><br>