CDLUC3 / dash

General repository for documents and communication for UC Dash project.
http://cdluc3.github.io/dash
MIT License
11 stars 4 forks source link

"show abstract" only partially works #59

Open Weiwei82 opened 10 years ago

Weiwei82 commented 10 years ago

From Yiwei, DataONE: After i search and look at results. Abstract does not display when i click on the left hand side of the link "show abstract". I only see the abstract if i click on the word abstract.

strasser commented 10 years ago

Hi Yiwei, can you share a screenshot so we can better address the problem? (also, welcome to DataONE!)

Weiwei82 commented 10 years ago

Carly - here's a screenshot. Pretty much anywhere you see the arrow and "show abstract". Clicking on the arrow (which seems natural) or show doesn't display the abstract.

does that make sense? I look forward to meeting you hopefully!

On Wed, Nov 5, 2014 at 8:55 AM, Carly Strasser notifications@github.com wrote:

Hi Yiwei, can you share a screenshot so we can better address the problem? (also, welcome to DataONE!)

— Reply to this email directly or view it on GitHub https://github.com/CDLUC3/dash/issues/59#issuecomment-61841459.

Yiwei Wang

strasser commented 10 years ago

@Weiwei82 the screenshot didn't make it into the github ticket - can you either email it to me (carlystrasser at gmail) or try again?

also, what browser/operating system were you using?

Thanks!

strasser commented 10 years ago

From Yiwei: Using Chrome.

here's the screenshot. basically - it seems like when you click anywhere on "show abstract", it should show the abstract, but it only works if you click on the abstract part of the link. dash

pcruse commented 10 years ago

Oh I understand now what you are saying -- rather than clicking on the little arrow you should be able to click on the tag too. There are some "show abstract" tags that display that have no abstract and I thought this is what you were referring to.

ghost commented 9 years ago

I can confirm this is happening for both 'Show abstract' in browse/search results and for 'Show methods' on the data record page--clicking 'abstract' or 'methods' expands properly, but clicking 'Show' in either case reloads the browser to the top of the page. Tested in Chrome and Firefox.

cpwillett commented 9 years ago

This is a "feature" of jquery.collapse.js that we use, along with css to include "Show" or "Hide" depending on the state: .collapsible .collapse-control .indicator:after{content:"▹ Show";} .collapsible .collapse-control.active .indicator:after{content:"▿ Hide";}

Removing the text just leaves the very small arrows. I don't know if there's another way to do this using the jQuery js, or if there's another script to do this more elegantly.