Project

General

Profile

« Previous | Next » 

Revision 614b1592

Added by Andreas Kohlbecker over 13 years ago

details on specimens

View differences:

modules/cdm_dataportal/js/cdm_dynabox.js
11 11

  
12 12
Drupal.cdm_dynaboxAutoAttach = function () {
13 13

  
14
  $('li.dynabox').find('.dynabox_content').hide().click(function(event){event.stopPropagation();});
15
  $('li.dynabox span.label').click(
14
  $('.dynabox').find('.dynabox_content').hide().click(function(event){event.stopPropagation();});
15
  $('.dynabox span.label').click(
16 16
    function () {
17
      var dynabox_content = $(this).toggleClass("dynabox_expanded").parent('li.dynabox').find('.dynabox_content').slideToggle("fast");
17
      var dynabox_content = $(this).toggleClass("dynabox_expanded").parent('.dynabox').find('.dynabox_content').slideToggle("fast");
18 18

  
19 19
      var url = dynabox_content.attr('title');
20 20
      

Also available in: Unified diff