oarecare Report post Posted March 4, 2009 is there any way of creating an onclick handler without entering the data in the xml? like the fc_event, without creating separate xml for every map? example: document.getElementById('youClicked').innerHTML='You clicked on '+objParams.lName; rollOver and rollOut work fine, would like to use the same features onclick aswell. Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 6, 2009 Hi, I am afraid, it is not possible as of now. Share this post Link to post Share on other sites
oarecare Report post Posted March 6, 2009 patched it by inserting id-link pairs tried to do the following: onclick set a value in a div and a hidden element, onrollover change the div contents, onrollout revert to the value in the hidden div (last area clicked). i am running into 2 issues: 1. onrollout does not fire every time 2. cannot get the clicked area to change color w/o reloading the xml can we use js functions to change a certain area's color? like javascript:{for(i=0;i<50;i++) chart.unselectAreaId(i); chart.setSelectedAreaId=6; (even change to the rollover color). reloading the xml for every user click is such a pain in the a$$... Share this post Link to post Share on other sites