Open Weiwei82 opened 10 years ago
Hi Yiwei, can you share a screenshot so we can better address the problem? (also, welcome to DataONE!)
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
@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!
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.
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.
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.
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.
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.