You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
607 B
23 lines
607 B
(function (Drupal) { |
|
//stuff goes here |
|
})(Drupal); |
|
(function ($) { |
|
|
|
Drupal.behaviors.ethnographyBehavior = { |
|
attach: function (context, settings) { |
|
$("#text-fr").hide(); |
|
|
|
$( "#show-text-en" , context).click(function(e) { |
|
e.preventDefault(); |
|
$("#text-en").show(); |
|
$("#text-fr").hide(); |
|
}); |
|
$( "#show-text-fr" , context).click(function(e) { |
|
e.preventDefault(); |
|
$("#text-en").hide(); |
|
$("#text-fr").show(); |
|
}); |
|
} |
|
}; |
|
|
|
}(jQuery));
|
|
|