GoMexSI / gomexsi-web

Explore Species Interactions in Gulf of Mexico with the GoMexSI webapp
http://gomexsi.tamucc.edu
3 stars 2 forks source link

Create tooltip on clicking on article reference with link to GAME #79

Closed jhpoelen closed 10 years ago

jhpoelen commented 10 years ago

See https://github.com/jhpoelen/gomexsi/issues/70 for details.

reedhewitt commented 10 years ago

I added the tooltip feature for reference tags. It seems to work well, displaying the link to FWC when it exists and giving a simple message if no FWC link is available.

I enabled the tooltip for the data reference table (http://gomexsi.tamucc.edu/fishes/), specifically targeting the column marked "Reference tag". Some of them have a link available, but most do not. I'm assuming that's because they don't have a GAME ID.

My script removes periods, commas, and extraneous white space from the reference tag before doing the lookup, but other formatting, wording, or spelling issues might prevent a reference tag from getting its link. If a particular reference tag is not working, but you know it should, the best thing to do would be to edit the data references table. Put the correct reference tag in there exactly as it appears in the database and it ought to work.

jhpoelen commented 10 years ago

nice!

On Oct 30, 2013, at 1:41 PM, Reed Hewitt notifications@github.com wrote:

Closed #79.

— Reply to this email directly or view it on GitHub.