ualibraries / Guide-on-the-Side

The University of Arizona Libraries will no longer provide support for Guide on the Side. The code will remain openly available; however, UAL can no longer provide code fixes or upgrades.
https://ualibraries.github.io/Guide-on-the-Side/about.html
Other
66 stars 48 forks source link

Guide blocks Javascript from loading #140

Open ncbaratta opened 8 years ago

ncbaratta commented 8 years ago

If you see this page: http://demo.bywatersolutions.com you see there is a scrolling book image. If you go to http://gots.bywatersolutions.com/tutorial/koha-demo you see that the book bar isn't there.

Blake- commented 8 years ago

Is that from this error? Uncaught SecurityError: Blocked a frame with origin "http://demo.bywatersolutions.com" from accessing a frame with origin "http://gots.bywatersolutions.com". Protocols, domains, and ports must match. https://syndication.twitter.com/i/jot/syndication?dnt=1&l=%7B%22_category_%…w%22%2C%22page%22%3A%22timeline%22%2C%22action%22%3A%22impression%22%7D%7D Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

kidclamp commented 8 years ago

I was thinking the js error permisson denied to access property "document" from basket.js:44:9 might be stopping the rest of the script from loading, however, I get the same error just loading our site in an iframe on another page, so it may be an issue on our end

michaelhagedon commented 8 years ago

It look like the book bar is attempting to access the main document: str_cookie = parent.document.cookie; Because GotS runs on iframes, browser security restrictions are not going to allow that. We're open to hearing about other approaches, but at the moment your choices are to change your site, or to run that tutorial in popup mode.