Re: New(er) Clojure cheatsheet hot off the presses

2012-04-16 Thread Rostislav Svoboda
I just checked the http://clojure.org/cheatsheet seing there just the old version without any tooltips. Would anyone put there a new one with tooltips? Thx Bost -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-29 Thread Greg Chapman
On Mar 22, 10:18 pm, Andy Fingerhut wrote: > If anyone has suggestions for what you would like to see added to the > cheatsheet, especially _specific_ suggestions, feel free to send me email. I was just looking at the clojure.org cheatsheet today and noticed that it lacks links for both the ty

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-28 Thread Andy Fingerhut
Just to follow up quickly, two possible ways have been suggested for doing this, but one way seems to require increasing the distance between words on the page, which I'd prefer not to do. The other I haven't looked into in enough detail to see whether it will work, but I may do that soon. As

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-28 Thread David Martin
There is a jquery plugin called "hoverintent" which accomplishes this. http://cherne.net/brian/resources/jquery.hoverIntent.html -Dave On Tue, Mar 27, 2012 at 3:41 PM, Andy Fingerhut wrote: > I would be happy to, if someone could teach me how to do it. I didn't > write the JavaScript that does

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread Pierre Mariani
You can do 2 things, together or separate depending on your choice: -increase the area that will respond to the mouse hover, so you don't have to be exactly on the link to see the tooltip -lengthen the fadeOut delay. I have implemented both at the URL below. http://pmariani.github.com/html-examp

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread John Gabriele
On Mar 26, 5:25 pm, Andy Fingerhut wrote: > > (3) tooltips using a modified TipTip jQuery plugin tool, for people like me > who like its look & feel better than (2). >    http://homepage.mac.com/jafingerhut/files/cheatsheet-clj-1.3.0-v1.4-t... > I like #3 as well, though would prefer a darkish g

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread Andrea Chiavazza
Would you consider removing the underlining from all links ? > > I think it would look much better, -- 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 Note that posts from new members are mode

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread Andy Fingerhut
I would be happy to, if someone could teach me how to do it. I didn't write the JavaScript that does the tooltips -- I just took the TipTip jQuery plugin and bashed away at it slightly until it did what I wanted. I've tried using "keepAlive: true" in the options it already implements to see if

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread Mark
Love the new cheatsheet! Because no good deed go unpunished: Can you make hiding the popup a little less sensitve? I find myself looking at a popup and then unconsciously moving the mouse into the popup text and that causes the popup to disappear. On Monday, March 26, 2012 2:25:17 PM UTC-7,

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread David Martin
"There can be only one." :-) I prefer #3 as well. On Mon, Mar 26, 2012 at 2:25 PM, Andy Fingerhut wrote: > Welcome, Pierre. > > Thanks for the info. My current thinking is to start publishing on > clojure.org two, or maybe even three versions of the cheatsheet: > > (1) no tooltips, just like the

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread Frank Siebenlist
Forgot to add that we only need one cheatsheet, and I vote for (3). On Mar 27, 2012, at 7:55 AM, Frank Siebenlist wrote: >> (3) tooltips using a modified TipTip jQuery plugin tool, for people like me >> who like its look & feel better than (2). >> >> http://homepage.mac.com/jafingerhut/file

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread Frank Siebenlist
> (3) tooltips using a modified TipTip jQuery plugin tool, for people like me > who like its look & feel better than (2). > > http://homepage.mac.com/jafingerhut/files/cheatsheet-clj-1.3.0-v1.4-tooltips/cheatsheet-full.html I like that one - looks cool - very helpful!! Thanks, Frank. On

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-26 Thread Andy Fingerhut
Welcome, Pierre. Thanks for the info. My current thinking is to start publishing on clojure.org two, or maybe even three versions of the cheatsheet: (1) no tooltips, just like the one published now, in case people find them annoying: http://clojure.org/cheatsheet (2) tooltips with the tit

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-26 Thread Pierre Mariani
On Saturday, March 24, 2012 11:59:49 PM UTC-7, Andy Fingerhut wrote: > > I've tried again using links with doc strings as the values of the title > attribute, but when the text in Firefox 11.0 it does not honor the line > breaks in my text, but reflows it. Try it out yourself at [1]: > > [1]

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-25 Thread Moritz Ulrich
On Sun, Mar 25, 2012 at 20:40, DHM wrote: > Um... I don't want this to devolve into an argument, but can I voice > my support for going with the full docstring tooltip? > Having tried it, it seems really useful to me, and I don't see the > reason to reduce the text to something shorter. I don't th

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-25 Thread DHM
> > > Remind me again: why do you want to put much of the docstring in > > there, and not just a quick precis that's enough to jog someone's > > memory and/or let them know whether they ought to click through or > > should skip that one based on what they're trying to find? > > I like that what I

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-25 Thread Andy Fingerhut
On Mar 25, 2012, at 12:15 AM, Cedric Greevey wrote: > On Sun, Mar 25, 2012 at 2:59 AM, Andy Fingerhut > wrote: >> I've tried again using links with doc strings as the values of the title >> attribute, but when the text in Firefox 11.0 it does not honor the line >> breaks in my text, but reflow

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-25 Thread DHM
On Mar 24, 6:32 pm, Cedric Greevey wrote: > On Fri, Mar 23, 2012 at 4:43 PM, David Martin wrote: > > I agree that title attribute is the way to go. You shouldn't use the alt > > attribute for tooltips though, as this violates accessibility standards. Alt > > should either contain a literal descr

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-25 Thread Cedric Greevey
On Sun, Mar 25, 2012 at 2:59 AM, Andy Fingerhut wrote: > I've tried again using links with doc strings as the values of the title > attribute, but when the text in Firefox 11.0 it does not honor the line > breaks in my text, but reflows it.  Try it out yourself at [1]: > > [1] > http://homepage

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-25 Thread Andy Fingerhut
I've tried again using links with doc strings as the values of the title attribute, but when the text in Firefox 11.0 it does not honor the line breaks in my text, but reflows it. Try it out yourself at [1]: [1] http://homepage.mac.com/jafingerhut/files/cheatsheet-clj-1.3.0-v1.4-tooltips/cheat

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-24 Thread Cedric Greevey
On Fri, Mar 23, 2012 at 4:43 PM, David Martin wrote: > I agree that title attribute is the way to go. You shouldn't use the alt > attribute for tooltips though, as this violates accessibility standards. Alt > should either contain a literal description of the image, or be left empty. Be sure to t

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-24 Thread David Martin
I agree that title attribute is the way to go. You shouldn't use the alt attribute for tooltips though, as this violates accessibility standards. Alt should either contain a literal description of the image, or be left empty. On Mar 23, 2012 1:11 PM, "Cedric Greevey" wrote: > On Fri, Mar 23, 2012

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Cedric Greevey
On Fri, Mar 23, 2012 at 4:49 PM, Andy Fingerhut wrote: > I'm not putting the Declaration of Independence in the tooltips, but the > Clojure doc strings, with the same text width as they appear in the original, > which is nearly 80 characters wide. I'd suggest not using the full docstring, but som

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Andy Fingerhut
I'm not putting the Declaration of Independence in the tooltips, but the Clojure doc strings, with the same text width as they appear in the original, which is nearly 80 characters wide. Those are easily wide enough to go partially out of the browser window unless the browser takes pains not to do

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Cedric Greevey
On Fri, Mar 23, 2012 at 3:57 PM, Andy Fingerhut wrote: > Thanks for the suggestions, folks. > > Cedric, have you tried your method before?  I'm not sure, but I think it was > the thing that I tried that led me to add (b) to my list of preference.  I > like anything that makes the development job e

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Andy Fingerhut
Thanks for the suggestions, folks. Cedric, have you tried your method before? I'm not sure, but I think it was the thing that I tried that led me to add (b) to my list of preference. I like anything that makes the development job easier, but not if it violates that preference. Thanks, Andy On

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Cedric Greevey
On Fri, Mar 23, 2012 at 10:58 AM, Andy Fingerhut wrote: > I definitely like the tooltip idea.  I like it so much that I've already > played with it a bit, looking at several web pages with instructions for how > to do it, but my knowledge of good ways to do this is zero except for the > results

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Jordan Berg
It would be straightforward in clojurescript as well. Google provides a bunch of different tooltips in the closure library: http://closure-library.googlecode.com/svn/docs/class_goog_ui_Tooltip.html http://closure-library.googlecode.com/svn/docs/class_goog_ui_AdvancedTooltip.html http://closure-

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread László Török
Hi, I think Twitter's Bootstrap toolkit is sg to consider. http://twitter.github.com/bootstrap/javascript.html#tooltips also http://twitter.github.com/bootstrap/javascript.html#popovers I already used them, they're easy and fun to implement. :) I think if the content already appers somewhere o

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Andy Fingerhut
I definitely like the tooltip idea. I like it so much that I've already played with it a bit, looking at several web pages with instructions for how to do it, but my knowledge of good ways to do this is zero except for the results of those Google searches. Has anyone implemented tooltips on a

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-23 Thread Rostislav Svoboda
Hi Andy > If anyone has suggestions for what you would like to see added to the > cheatsheet It'd be great to have a tooltip appearing at every function I go over with my mouse. Typically I click on a function just to realize "Oh, this is not the one I need" so I have to go back. And this back &

New(er) Clojure cheatsheet hot off the presses

2012-03-22 Thread Andy Fingerhut
Alex Miller not only organizes conferences that are a blast to attend (i.e. Clojure/West, and I'm inclined to believe Strange Loop would be cool, too), he also puts up new versions of the Clojure cheatsheet when I ask him nicely. Here it is, in the usual place: http://clojure.org/cheatsheet L