Changeset 4383


Ignore:
Timestamp:
01/29/14 13:12:53 (11 years ago)
Author:
twagoo
Message:

mockup: link to select individual collection

Location:
vlo/branches/vlo-3.0/vlo-web-app/src/main/html
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/index.html

    r4382 r4383  
    7373                </form>
    7474                <p>
    75                     Searching in all collections (604056 records). Expand to select an individual collection.
     75                    Searching in all collections (604056 records). <a href="" id="showvalues">Select an individual collection.</a>
    7676                </p>
    7777                <div class="sbilinks">
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/js/vlo-facets.js

    r4382 r4383  
    3333    $("a.expandfacet, a#showvalues").click(function(event) {
    3434        event.preventDefault();
    35         var p = $(this).parent(".collapsedfacet");
     35        var p = $(this).parents(".collapsedfacet");
    3636        expandFacet(p);
    3737    });
    3838    $("a.collapsefacet").click(function(event) {
    3939        event.preventDefault();
    40         var p = $(this).parent(".expandedfacet");
     40        var p = $(this).parents(".expandedfacet");
    4141        collapseFacet(p);
    4242    });
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/style/vlo-facets.css

    r4382 r4383  
    7979}
    8080
    81 .facet.expandedfacet a.expandfacet {
     81.facet.expandedfacet a.expandfacet,  .facet.expandedfacet a#showvalues{
    8282    display:  none;
    8383}
Note: See TracChangeset for help on using the changeset viewer.