Drupal 7
Problem is our theme javascript is not working on overlay.
So we need include other js files into module.
Following are Steps
>>> create js file and place into module
>>> Add hook into your module
function modulename_overlay_child_initialize() {
// Add our custom JavaScript.
drupal_add_js(drupal_get_path('module', 'modulename') . '/overlay-child1.js');
}
Problem is our theme javascript is not working on overlay.
So we need include other js files into module.
Following are Steps
>>> create js file and place into module
>>> Add hook into your module
function modulename_overlay_child_initialize() {
// Add our custom JavaScript.
drupal_add_js(drupal_get_path('module', 'modulename') . '/overlay-child1.js');
}
No comments:
Post a Comment