Karl Wick saith:
> Hey I'm no real programmer although I have tinkered with
> code. I wanted to mess with that cool side note page to see
> if I could format it into two formal columns, one wide one
> on the left and a narrow one on the right. However I don't
> konw how to mess with it as there is no "edit" button in
> the page. (I could note that I have not messed with
> uploading files to the WP before ...) Is there a simple way
> that someone could explain how I can play with that code ?
> Or could someone do the edit into two columns, so that
> there is no text reflow when the note dialog opens ?
>
> Thanks,
> Karl
Like this?
http://www.wikipedia.org/upload/5/56/Sidenote-column.html
In IE, there's no space between the second and third paragraphs.
In Mozilla, there are two spaces. The reason for the strange
spacing is that a <tr> ends after the second paragraph. I'm
not sure how to fix this. In Opera, the notes stay open and
[hide] doesn't work. (Which is to be expected.) In Lynx, the
notes follow immediately after the text. Lynx's <table> handling
isn't too good (if it even recognizes the tag).
There's only one reflow problem: when you have a note that's
bigger than the associated text. Hmm....what if it changes
the .style.color to the background instead of the .style.display
to none? That would even make the table unnecessary...
To edit: save locally and reupload. HTML (obviously) won't be
an image format. And it's okay to reupload over existing
files because Wikipedia keeps old revisions. I just made a
new file because the interface changed.
=====
-Geoffrey Thomas
geoffreyerffoeg(a)yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Hey I'm no real programmer although I have tinkered with
code. I wanted to mess with that cool side note page to see
if I could format it into two formal columns, one wide one
on the left and a narrow one on the right. However I don't
konw how to mess with it as there is no "edit" button in
the page. (I could note that I have not messed with
uploading files to the WP before ...) Is there a simple way
that someone could explain how I can play with that code ?
Or could someone do the edit into two columns, so that
there is no text reflow when the note dialog opens ?
Thanks,
Karl
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Brion Vibber saith:
> Tomasz Wegrzanowski wrote:
> > On Fri, Aug 08, 2003 at 06:26:42PM -0700, Geoffrey Thomas wrote:
> > > ...and for the default to be hidden notes.
> > Hold on a second. Such a default makes sidenotes completely unavailable for
> > text browsers, not ?
> Or any browser that knows CSS but not JavaScript (or has JavaScript
> disabled!).
>
> Simplest way around that is to do the hiding in the page's onLoad event
> handler; the JavaScript-less or CSS-less will see the things always,
> which is probably better than never.
Only in CSS but not JS browsers; it shows in text (non-CSS) browsers.
(Currently in Mozilla 1.4 with JavaScript disabled, the sidenote is hidden as an
annoyingly tiny purple box. Currently in Lynx 2.8.4 (or whatever came
with Cygwin) the text appears and is not delimited as a sidenote at all - it
appears as another paragraph. How do you mark this up to be set off as a
sidenote in Lynx?)
Code changes:
Changed showNoteToggle() to make "show" the default, but immediately call
toggleNote(). We can't use onLoad because a single page can have many notes
on it. In Mozilla without JS this shows the note without the showlink;
with JS it works the same as before. Also moved width:300px to a class
(.notetext).
This means that the default for scripted browsers is hidden - this is
what we want, right?
tocWas is a single global, and I presume the purpose of it was to keep
display: list-item, inline, block, etc. info. It seems to work when both
notes have the same display, but for good measure there's now an array
notesWere, indexed by ID.
How to put this in Wikipedia:
In wikibits.js add the Note functions - or better yet replace the Toc
functions with them, passing "tocinside" as the ID. Add the note
classes to the style sheet. Parse <note>text</note> as
<table class="sidenote"><tr><td id="xx" class="notetext">
text
</td><td valign="top">
<script type="text/javascript">
showNoteToggle("Show sidenote", "Hide", "xx");
</script>
</td></tr></table>
where xx could be, say, note0, note1, note2... The valign-ment is
necessary to keep the [Hide] link from jumping from top to middle.
I made updates on my local copy,
http://geoffrey.homeip.net:8080/sidenote.html
The uploaded sample, [[Image:Sidenote.html]] or
http://www.wikipedia.org/upload/a/a2/Sidenote.html
was not intentionally updated yet, but it seems to be the new
version (I don't know how or why). The new version has two sidenotes.
=====
-Geoffrey Thomas
geoffreyerffoeg(a)yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Karl Wick saith:
> Here is a technical question: in the same way that the
> table of contents feature can be opened and collapsed with
> a click apparently wihout reloading the whole page (which
> IMHO is a very cool feature !), could we have collapseable
> notes for the edge of a document ?
We can easily use the same (or almost the same) code for hiding/showing
sidenotes as we already do for hiding/showing the table of contents.
I made a sample at
http://www.wikipedia.org/upload/a/a2/Sidenote.html
with JavaScript code based on the wikibits.js ToC code. The changes
are to allow the ToC/note functions to operate on any ID, not tocinside,
and for the default to be hidden notes. (Hmm...one could add another
feature that allows selectable default...another parameter...and
then showTocToggle(...) could be showNoteToggle(..., 'tocinside',
true)...)
The code requires a simple one-row floating table, with one cell being
display: hidden and having an ID, and the other cell calling
showNoteToggle() instead of showTocToggle() with parameters "Show",
"Hide", and the first cell's ID. I'm sure if one really wanted that
one could use a floating div within a floating div so the [hide]
link looks like a section [edit] link and doesn't take up vertical
space.
How to put this in Wikipedia code: maybe use a <sidenote> tag.
<sidenote id="x">text</sidenote> expands to <table class="sidenote">
<tr> <td id="x" style="display: none; width: 300px;">text</td>
<td><script>showTocToggle('Show', 'Hide', 'x'</script></td> </tr></table>.
I don't know PHP, else I would have helped add this to the Wikipedia source.
The sample page has been tested in Mozilla 1.4 and Internet Explorer 6.0.
It fails in Opera 6.0 - but so does the ToC.
=====
-Geoffrey Thomas
geoffreyerffoeg(a)yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Geoffrey Thomas wrote:
>We can easily use the same (or almost the same) code for
>hiding/showing sidenotes as we already do for hiding/showing
>the table of contents. I made a sample at
>
> http://www.wikipedia.org/upload/a/a2/Sidenote.html
Sweet! But please make "show" the default and the markup can simply be <note>
text</note>. Of course our more pressing need is to enable WikiGroup-type
functionality so that the same module can be used in several different books
and simply changing the Start/Index page changes the organization of the
book.
-- Daniel Mayer (aka mav)
http://www.cde.ca.gov/standards/history/
We're focussing on grades 9, 10, 11, and 12.
The titles of the content standards are:
Grade 9 -- no standards, schools are supposed to offer electives
Grade 10 -- World History, Culture, and Geography: The Modern World
Grade 11 -- United States History and Geography: Continuity and Change
in the Twentieth Century
Grade 12 -- Principles of American Democracy and Economics
I think it is pretty clear, and a conversation with LittleDan has
further convinced me, that our expertise lies best in Grade 10 --
World History, Culture, and Geography: The Modern World.
Here's the link:
http://www.cde.ca.gov/standards/history/grade10.html
and similar for Florida:
http://www.firn.edu/doe/curriculum/crscode/basic612/912/ss912/2109310.pdf
although the actual "Instructional Materials Specifications" for
Florida are apparently buried here:
http://www.firn.edu/doe/instmat/pdf/social_studies.pdf
(see page 189, which is Adobe page 198)
As you can see, these are detailed specifications, and we should
probably be able to write to it with a fair degree of success.
A "ToDo" list on this would include making sure that this is the right
document to work from, and also to look on the web to see if Texas
standards can be found as well.
And any other states or countries that anyone has a particular
interest in, of course.
(For example, are there published content standards for courses in
Australia and Great Britain, etc.?)
--Jimbo
LittleDan wrote:
>If this textbook is for 10th graders and I'm going
>into 9th grade this year, should I not participate?
Since you obviously are already smarter than most high school seniors, I see
no point in not allowing you to contribute. If you make a mistake then that
mistake will be corrected or reverted; same goes for college professors with
fancy PhDs around here.
--mav
Here is a technical question: in the same way that the
table of contents feature can be opened and collapsed with
a click apparently wihout reloading the whole page (which
IMHO is a very cool feature !), could we have collapseable
notes for the edge of a document ?
I am talking in reference to the idea put forth by Mav to
have two columns on some pages with a text on one side and
notes about that text next to it in a second column. Could
we have a tiny link nested right in the main text that
would expand a box on the side of the page, revealing a
note relevent to the text ?
This would be a great feature for Shakespeare plays with
tons of side notes and comments, or even in a textbook
where there are bunches of semi-relevent semi-tangental
comments that could add to the understanding of a subject
.. having the dialog boxes makes them easily available
without having to go to a whole new page and back while
still communicating that it is a secondary idea and giving
the reader the choice of skipping them. Having them open
and close means that 1. They are not cluttering up the
whole page and 2. you can fit a bunch of them in a small
space for those times when you need to.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Jimmy wrote:
>Have you sent this yet?
No, Jimmy, I have not sent it.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
I drafted this letter to RMS to seek his blessing on a
change to the terms of the GNU FDL which would allow some
sharing between the GNU FDL and other copyleft licenses.
Lets see if we can get a consensus on this so we can send
it out to him.
--Karl
To: "rms" at "stallman" period "org"
Dear Richard,
A quick question. I am writing on behalf of the Wikipedia
and Wikimedia Foundation with a licensing question. The
Wikipedia has grown to be the largest resource of open
content, copylefted material known. As you know, all of its
content is licensed under the terms of the GNU FDL.
Recently, other open content, copyleft licenses have come
into use, most notably some Creative Commons licenses.
I am interested in a level of intercompatibility between
the GNU FDL and these other copyleft licenses. The goals
are to preserve the copyleft nature of the material while
allowing material to be shared under certain circumstances
and conditions with other projects using these paralell
licenses.
My interest lies in adding a clause to the terms of the GNU
FDL license that would in some way allow the sharing of
materials exclusively with other copyleft licenses. You of
course would have to be in agreement with all end changes
as well as the process to get there.
Thank you very much for your attention,
Karl Wick
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com