Perhaps you are inserting the <head> link _after_ exhibit loads its
data? Just to be sure, I suggest adding a button you can click to
initialize the exhibit _after_ you're sure the link has been inserted in
the head.
On 3/30/2011 8:54 PM, George Adams wrote:
I would like to include a Exhibit Map in a Google Apps web site. Data
for the map is supplied by a Google Spreadsheet. I have no access to
the<head> and I can’t include javascript directly in the web page. I
can create a Google Gadget and include Javascript but still have no
access to the<head>
I tried to implement the code in the web page below without success.
http://www.simile-widgets.org/wiki/How_to_include_the_Exhibit_API
The following page is a map that has the normal links in the<head>
http://hayriv.com/HRTI_Directory.html
The following page has the data and code to load the exhibit in the
body but the data is hard coded in the page and not linked to Google
spreadsheet. This uses some old code from a couple of years ago.
http://hayriv.com/HRTI_DirectoryInBody.html
This page has code added near the end to load the Google spreadsheet
data by inserting the link to the data in the<head>. Firefox Web
Developer>> View Generated Source shows that the link did get into
the head. The data displayed is just a single point from the JSON data
embeded in the body and not the Google spreadsheet data.
http://hayriv.com/HRTI_DirectoryInBodyGoogle.html
Can I get some pointers on how to make the last file work like the first file?
--
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.