|
|
Drupal example source code file (xmlsitemap.js)
The xmlsitemap.js Drupal example source code// $Id: xmlsitemap.js,v 1.4 2010/04/28 20:41:57 davereid Exp $ (function ($) { Drupal.behaviors.xmlsitemapFieldsetSummaries = { attach: function (context) { $('fieldset#edit-xmlsitemap', context).drupalSetSummary(function (context) { var vals = []; // Inclusion select field. var status = $('#edit-xmlsitemap-status option:selected').text(); vals.push(Drupal.t('Inclusion: @value', { '@value': status })); // Priority select field. var priority = $('#edit-xmlsitemap-priority option:selected').text(); vals.push(Drupal.t('Priority: @value', { '@value': priority })); return vals.join('<br />'); }); } }; })(jQuery); Other Drupal examples (source code examples)Here is a short list of links related to this Drupal xmlsitemap.js source code file: |
"Drupal" is a registered trademark of Dries Buytaert.
my drupal tutorials and examples
Copyright
1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.
Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.