Hi friend
I have this jsp page, which get jsonData from the session and load to
the page as shown below.
page contain map, which display data according to country data have.
display small balloons on the map for each country. This is work fine
with FireFox. When it come to display in IE6 or IE7, it collapse. It
display the map, but not display data balloons. I am using function
(), which populate data as shown below.
If I replaced this function with static jsonData file it work in both
FireFox and IE
like <link href="myData.js" type="application/json" rel="exhibit/
data" />.
But this is not my requirement, I need to create jsonData file
dynamically.
Please could some one help me where I am going wrong.
many thank
Ish
<HTML>
<HEAD>
<script type="text/javascript">
var myData = <%=session.getAttribute("jsonData")%>;
function populateData()
{
window.database = Exhibit.Database.create();
window.database.loadData(myData);
window.exhibit = Exhibit.create();
window.exhibit.configureFromDOM();
}
</script>
<link rel='stylesheet'
http://static.simile.mit.edu/exhibit/api-2.1.0/exhibit-bundle.css
type='text/css' />
<script src="http://static.simile.mit.edu/exhibit/api-2.1.0/exhibit-
api.js"></script>
<script src="http://static.simile.mit.edu/exhibit/extensions-2.1.0/
time/time-extension.js"type="text/javascript"></script>
<script src="http://static.simile.mit.edu/exhibit/api-2.1.0/exhibit-
api.js?autoCreate=false" type="text/javascr ipt"></script>
<script src="http://static.simile.mit.edu/exhibit/extensions-2.1.0/
map/map-extension.js?
gmapkey=ABQIAAAA5JLLfCE9c7HAtg25QM2KCRQtmVvwtG6TMOLiwecD59_rvdOkHxTAPhubLidYKS8G8qHrZGTBqAeJEg"></
script>
</HEAD>
<BODY onLoad="populateData();">
Here goes the display data............
</BODY>
</HTML>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---