Talk:Space.menu: Difference between revisions

Wikispaces>FREEZE
No edit summary
 
Mike Battaglia (talk | contribs)
m 1 revision imported: Moving archived Wikispaces discussion to subpage
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= ARCHIVED WIKISPACES DISCUSSION BELOW =
{{WSArchiveLink}}
'''All discussion below is archived from the Wikispaces export in its original unaltered form.'''
----
 
== javascript ==
where is it stored?
 
- '''xenwolf''' September 20, 2011, 05:47:04 AM UTC-0700
----
At the moment, it is inside the widget.
 
But maybe a can make a scruipt object.
 
- '''hstraub''' September 20, 2011, 06:10:20 AM UTC-0700
----
Is this a built-in widget or did you write it?
 
Can you please point me to it?
 
- '''xenwolf''' September 20, 2011, 06:50:38 AM UTC-0700
----
I wrote it. When editing a page, you select "widget" -> "other", then you can paste the code into the edit field. The widget in quetsion I wrote is:
 
<style type="text/css">
</style><pre class="text">&lt;div&gt;&lt;script type="text/javascript"&gt;
//
//
//
//
//
    function ShowOrHide(chkident, divident) {
        var theChkv = document.getElementById(chkident);
        var theDiv = document.getElementById(divident);
 
        if (theChkv.checked == true)
            theDiv.style.display = "block";
        else
            theDiv.style.display = "none";
    }
//
//
//
//
//
&lt;/script&gt; &lt;input type="checkbox" id="chkPractice" onclick="ShowOrHide('chkPractice', 'divPractice')"&gt;&lt;/input&gt; &lt;label for="chkPractice"&gt;&lt;a class="wiki_link" href="/Practice" rel="nofollow"&gt;Practice&lt;/a&gt;&lt;/label&gt;
&lt;div id="divPractice" style="display: none"&gt;&lt;a class="wiki_link" href="/MicrotonalListeningList" rel="nofollow"&gt;Listen&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;a class="wiki_link" href="/People" rel="nofollow"&gt;People&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;a class="wiki_link" href="/Tools" rel="nofollow"&gt;Tools&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;a class="wiki_link" href="/MicrotonalInstruments" rel="nofollow"&gt;Instruments&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;a class="wiki_link" href="/Software" rel="nofollow"&gt;Software&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;a class="wiki_link" href="/Scores" rel="nofollow"&gt;Scores&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;a class="wiki_link" href="/Projects" rel="nofollow"&gt;Projects&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;a class="wiki_link" href="/MicroPedagogyCollective" rel="nofollow"&gt;Pedagogy&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
 
- '''hstraub''' September 20, 2011, 07:01:29 AM UTC-0700
----
That's *very* interesting. This means we could integrate javascript for instance for edo pitch calculations and similar tedious stuff.
 
- '''xenwolf''' September 20, 2011, 07:16:05 AM UTC-0700
----
I transformed it into an unordered list (&lt;ul&gt;).
 
- '''xenwolf''' September 20, 2011, 02:19:02 PM UTC-0700
----
Yes, looks much better now. (I had already tried ul, too, but for some reason, I could not bring it to work...)
 
- '''hstraub''' September 20, 2011, 11:51:22 PM UTC-0700
----
&lt;ul&gt;&lt;li&gt;ItemOne&lt;/li&gt;&lt;li&gt;ItemTwo&lt;/li&gt;&lt;/ul&gt;
 
...it's rather taggy ;) I missed the preview function, but on the second try it was ok:
 
Can everybody embed javascript?
 
- '''xenwolf''' September 21, 2011, 03:56:12 AM UTC-0700
----
Yes. Even guests can edit it (with CAPTCHA).
 
- '''xenwolf''' September 21, 2011, 04:02:38 AM UTC-0700
----
 
== Clearing the nav bar ==
If the nav bar is too crowded, for God's sake don't remove high-level collections of stuff! Put the lower levels into the higher levels.
 
- '''genewardsmith''' September 19, 2011, 12:11:47 PM UTC-0700
----
Getting used to. But not bad, I think.
 
- '''xenwolf''' September 19, 2011, 12:41:45 PM UTC-0700
----
It's better now- thanks.
 
- '''clumma''' September 20, 2011, 12:15:19 AM UTC-0700
----
I just did an experiment with an opening/closing subtree here. Seems to wrok, but involves some ugly Javascript tweaking.
 
(Just as proof of concept - feel free to remove it again...)
 
- '''hstraub''' September 20, 2011, 04:40:55 AM UTC-0700
----
If the CheckBox can be replaced by something like [+] and [-] than it seems good to me.
 
- '''xenwolf''' September 20, 2011, 05:39:59 AM UTC-0700
----
 
== ways to discuss it ==
I tagged it with "orphan page", because I find that it should be as easy accessible to the wiki community as other pages.
 
- '''xenwolf''' August 11, 2011, 07:04:16 AM UTC-0700
----
Return to "Space.menu" page.