Hi Ole, I can't see anything wrong with your code. Could you try to put in a few alert() statements and see how far the code gets in IE?
David Ole Solvang wrote: > Hi, > > My exhibit works very well in Firefox. However, the first time I try > to open it in Internet Explorer, it stops. Sometimes when I try to > reload the page, it then loads correctly, but not always. > > Because I do not have access to the <head> section of the website, I > had to make use of a workaround. I have included the code below. I > would be much grateful if anybody has any tips for how to solve this > problem. > > The exhibit is at www.srji.org/en/legal/cases. > > > > <table width="100%"> > <tr valign="top"> > <td> > <p>This page contains select cases from the North > Caucasus that have been decided or declared admissible by the European > Court of Human Rights. In addition, cases lodged by SRJI that have > been communicated to the Russian government has been included. In > total, SRJI has lodged 128 cases with the ECHR. </p> > <div id="exhibit-control-panel"></div> > <div id="exhibit-view-panel"> > <div ex:role="exhibit-view" > ex:viewClass="Exhibit.TileView" > ex:showAll="true" > ex:label="Summaries" > ex:orders=".status" > ex:possibleOrders=".status, .date, > .violation, .location"> > </div> > > <table ex:role="exhibit-lens" class="nobelist" > width="100%"> > > <td width=100%> > > <div > ex:if-exists=".label" class="name"> > <span > ex:content=".label"></span>, > (<span > ex:content=".courtnumber"></span>) > </div> <br> > <div > style="float:right" ex:if-exists=".imageurl"><img > height="100px" ex:src-content=".imageurl" /> > </div> > > <div > ex:if-exists=".judgmentdate" class="grey">Judgment: > <span > ex:content=".judgmentdate"></span> > </div> > > <div > ex:if-exists=".admissible" class="grey">Admissible: > <span > ex:content=".admissible"></span> > </div> > > <div > ex:if-exists=".communicated" > class="grey">Communicated: > <span > ex:content=".communicated"></span> > </div> > > <div > ex:if-exists=".lodged" class="grey">Lodged: > <span > ex:content=".lodged"></span> > </div> > > <div > ex:if-exists=".date" class="grey">Date of violation: > <span > ex:content=".date"></span> > </div> > > <div > ex:if-exists=".violation" class="grey">Violation: > <span > ex:content=".violation"></span> > </div> > > <div > ex:if-exists=".location" class="grey">Location: > <span > ex:content=".location"></span> > </div> > > <div > ex:if-exists=".representative" class="grey">Representative: > <span > ex:content=".representative"></span> > </div><br> > > <div > ex:if-exists=".description" class="co-winners"> > <span > ex:content=".description"></span> > </div> > > <a ex:href-content=".url1" > target="_blank"><span > ex:content=".labelurl1"></span></a> > <a ex:href-content=".url2" > target="_blank"><span > ex:content=".labelurl2"></span></a> > <a ex:href-content=".url3" > target="_blank"><span > ex:content=".labelurl3"></span></a> > <a ex:href-content=".url4" > target="_blank"><span > ex:content=".labelurl4"></span></a> > <a ex:href-content=".url5" > target="_blank"><span > ex:content=".labelurl5"></span></a> > > > </td> > > </table> > <div ex:role="exhibit-view" > > ex:viewClass="Exhibit.TimelineView" > ex:start=".date" > ex:marker=".violation" > ex:densityFactor="4" > > </div> > > </td> > <td width="30%"> > <table class="nobelist" width="88%" align="center"> > <td> > Use the categories below to limit the selection. The > timeline shows cases according to date of violation. > </td> > </table> > > <div id="exhibit-browse-panel" ex:facets=".status, > .violation, .location, .representative"></div> > > <table class="nobelist" width="88%" align="center"> > <td> > For more information about projects submitting cases from > the North Caucasus, see: Stichting Russian Justice Initiative, > European Human Rights Advocacy Center, and the Human Rights Centre > Memorial. > </td> > </table> > > <div style="display: none;"> > </td> > </tr> > </table> > > <script type="text/javascript"> > var SimileAjax_urlPrefix = "http://static.simile.mit.edu/ajax/api/"; > var Exhibit_urlPrefix = > "http://simile.mit.edu/repository/exhibit/trunk/src/webapp/api/"; > var SimileAjax_onLoad = null; > > var Exhibit_parameters = [ > { name: "views", > value: "timeline" > } > ]; > > window.setTimeout(function() { > var head = document.getElementsByTagName("head")[0]; > > var includeScript = function(url) { > var script = document.createElement("script"); > script.type = "text/javascript"; > script.language = "JavaScript"; > script.src = url; > head.appendChild(script); > } > var includeCSS = function(url) { > var link = document.createElement("link"); > link.setAttribute("rel", "stylesheet"); > link.setAttribute("type", "text/css"); > link.setAttribute("href", url); > head.appendChild(link); > } > > Exhibit_onLoad = function() { > > var exhibit = Exhibit.create(null, null); > exhibit.loadGoogleSpreadsheetsData('http://spreadsheets.google.com/feeds/list/o16333326846391329197.7249357143799886638/od6/public/basic'); > }; > > SimileAjax_onLoad = function() { > SimileAjax_onLoad = Exhibit_onLoad; > includeScript(Exhibit_urlPrefix + > "exhibit-api.js?views=timeline"); > } > includeScript(SimileAjax_urlPrefix + "simile-ajax-api.js"); > }, 100); > </script> > _______________________________________________ > General mailing list > [email protected] > http://simile.mit.edu/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
