I’ve a clickable map that makes use of js, css and xml to show. I beforehand was supplied options in a earlier thread How do I implement a clickable JavaScript map? utilizing drupal_add_css()
and drupal_add_js()
.
- Can I add a number of CSS information with
drupal_add_css()
utilizing an array? Or, do I must record these as separate instructions? -
Drupal Development Company different downside is I must have an XML file to feed Drupal Development Company knowledge into Drupal Development Company JavaScript file. I tried to edit Drupal Development Company JavaScript file by hardcoding Drupal Development Company XML file location, however that does not appear to work.
$.ajax({kind: 'GET',url: 'websites/default/information/repfinder/xml/usaMapSettings.xml'
What ought to I be doing in order that Drupal Development Company JavaScript code acknowledges Drupal Development Company XML file? With out it, no map is displayed.