> I think a problem with the current layout is that once you jump to one > of the library sections you have to manually scroll back up to the > index. There are a few different ways this could be solved. > > a) You could just add a "top" link to each library section banner. > > b) Only show the currently selected library, and hide the rest. > > c) Same as above, but also change the library navigation to a tree > view. > > -> clojure.contrib.duck-streams > -) *default-encoding* > -) file > -) pwd
I usually just hit "home", but I'm a keyboard kind of guy, and I realize that not everyone is. > I did a quick implementation of B, and I think it makes the page feel > less cluttered (but I still feel it could be better). However, I did > add jQuery as a dependency. I'm not sure how 'light' you were trying > to keep this, but jQuery could simplify your JS. Here is a diff: I don't have a problem with jQuery per se, but I was really going for something that would all live in one file, so that you can browse it when disconnected, so that it's easy to copy around without having to grab extra files, etc. etc. You'll notice there are no graphics, for the same reason. Although I've considered using SVG to get around that. > Do with my idea as you wish. I just wanted to to throw it out there. Appreciate the feedback. My current plan is to leave it as is. Not because I don't think your ideas have merit, but because this thing started out as something I was poking around with for half an hour...and then I spent a week working on it. So I'm sort of at the point where the quality ascended to the point where it met the decreasing trajectory of my interest. :) > I also think the code would be cleaner with the JS and CSS in their > own files, but I admit having everything in-lined makes it easy to > call. I would generally prefer things that way as well, but again I really wanted to have the file be self-contained. > Oh, almost forgot--if you do happen to try out my patch you will > notice all the links from 'miglayout.internal' on will not behave > correctly. If you look at the DOM with Firebug you'll notice that the > 'miglayout' DIV is not being closed and is capturing the others. I > didn't have a chance to track down the problem, but you might want to > take a look. Hmm. OK - that I'll have to check out. I have noticed that the docstring elision gets a little confused when there are quotes or backslashes in the docs. I haven't yet figured out if that's an issue with my code or prxml. This could be related. Thanks for the feedback! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---