Insert JavaScripts into head of only one page I want to an SVGMap product that requires that I insert the following javascript into head but I only want to use this on one page of my website in a block. If I insert it into the html.tpl.php page, it will load for every page. Is this a drain on resources or is there a better way to do it for just the block that I need it?

Thanks

&lt;link href="/mapsvg/css/mapsvg.css" rel="stylesheet"&gt;
&lt;script src="/mapsvg/js/jquery.js"&gt;&lt;/script&gt;
&lt;script src="/mapsvg/js/jquery.mousewheel.min.js"&gt;&lt;/script&gt;
&lt;script src="/mapsvg/js/mapsvg.min.js"&gt;&lt;/script&gt;
Drupal provides theme suggestion for html.tpl.php

you can put html.tpl.php in templates folder inside you theme directory

html--node--id.tpl.php

id will be your page id
e.g. ID = 123, then file name will be html--node--123.tpl.php

Hope this will help.

===================================================================

For particular block you can use hook_block_view_MODULE_DELTA_alter

@see https://api.drupal.org/api/drupal/modules!block!block.api.php/function/hook_block_view_MODULE_DELTA_alter/7.x

like,

function module_name_hook_view_MODULE_DELTA_alter(&amp;$data, $block) {
  drupal_add_js();
}