codeforamerica / opencounter

NOTE: This codebase was adopted by OpenCounter Enterprises Inc. and is now maintained in a separate repository. Please see www.opencounter.us for more information. Set up shop in your city.
BSD 3-Clause "New" or "Revised" License
37 stars 28 forks source link

Tooltips for department locations #7

Open sapid opened 12 years ago

sapid commented 12 years ago

Any time a department is mentioned, it might be useful to provide a tooltip for the user reminding them where that office or department is located.

e.g. whenever the Planning Department is mentioned, let the user hover their mouse over the phrase "Planning Department" to see a tooltip that says something like

701 Ocean Street, 4th Floor, Santa Cruz, CA sccoplanning.com 831-454-3252

pkoht commented 12 years ago

also a great thought. right now we only have this under the "we're here to help" page.

-p

On Sun, Oct 21, 2012 at 10:51 AM, Will Crawford notifications@github.comwrote:

Any time a department is mentioned, it might be useful to provide a tooltip for the user reminding them where that office or department is located.

e.g. whenever the Planning Department is mentioned, let the user hover their mouse over the phrase "Planning Department" to see a tooltip that says something like

701 Ocean Street, 4th Floor, Santa Cruz, CA sccoplanning.com 831-454-3252

— Reply to this email directly or view it on GitHubhttps://github.com/codeforamerica/opencounter/issues/7.

-p

sapid commented 12 years ago

I saw Ruthie's presentation today at TechRaising, and I think I remember her saying that Bootstrap is being used on the front-end right now.

Bootstrap has JS widgets for tooltips that you may be interested in using.

http://twitter.github.com/bootstrap/javascript.html#tooltips http://twitter.github.com/bootstrap/javascript.html#popovers

The hard part, I'm sure, is getting a sort of directory going and ensuring that each instance of a department name has the correct tooltip. If it's only on the "We're here to help" page, I imagine something like that isn't in place yet.