1 (edited by burakoz 2012-12-19 23:33:16)

Topic: IE8 Problems

I use an AJAX Loader Script to have different galleries on one page. See the example


Classic embed codes are in /js/jquery.ajaxloading.js

Galleries work very well on IE9, Chrome and Firefox, but they are not visible on IE8.

I haven't set one of those galleries (second one on the second row - and the error message for this gallery can be seen on IE8, but not the galleries they had set up. I think there's a different thing about IE8 I had to consider, but I don't kow what.

Could you please help me on that?

Re: IE8 Problems

Your galleries display OK in IE8 (within IETester) on my PC.
Try clearing your browser's cache before reloading the galleries to ensure that your browser is not hanging onto and using older version of your gallery files.
Being that I am able to view your galleries in IE8 (within IETester) on my PC, the following suggestions should not make a difference but might be worth trying.
Try validating your web page's code with the W3C Markup Validation Service and fix any errors reported. Once your web page's code validates, it should be rendered with greater predictability and consistency across different browsers.
You could also try changing the Doctype of your page to HTML5 to see if this makes a difference.
For more information about Juicebox and Doctypes, please see here.

3 (edited by burakoz 2012-12-19 22:16:20)

Re: IE8 Problems

I was using IE10's own debug tool, but now installed IETester.

They work OK on this, but the problem is when you close the expanded div, it won't expand and display a gallery again - Except the error message for the one that I haven't set up yet. (you can close the gallery by clicking "< Tüm Koleksiyonlarımız" on the upper left corner of the gallery page)

Is my logic correct, or does it contain an error? I have a blank div named ajax-content-outer, and I'm always changing the baseUrl of the embed code for the same div. If this logic contains an error, it might be the cause.

By the way, my ajaxloading script does work OK on IE8 if I want it to load a page instead of executing juicebox's script.

4 (edited by burakoz 2012-12-20 07:08:26)

Re: IE8 Problems

OK, I have found. I had some lines that make the height of the container div 100% after it has been closed and opened again. I have changed it as a fixed value, and problem solved. But now I am experiencing a baseurl error because of something in my ajax script. Sometimes its hard to stay calm :D

Thank you for all your help

Re: IE8 Problems

But now I am experiencing a baseurl error because of something in my ajax script.

If using an absolute URL for your baseUrl, make sure that it matches the URL you use to view your web site.
For example, if your baseUrl is http://example.com but you view your web site using http://www.example.com (a subdomain of http://example.com), the gallery will fail due to the JavaScript same-origin policy security restriction. Please see here for details.
If this is the case, try using a relative baseUrl instead.

Re: IE8 Problems

But now I am experiencing a baseurl error

If using an absolute URL for your baseUrl, make sure that it matches the URL you use to view your web site.
For example, if your baseUrl is http://example.com but you view your web site using http://www.example.com (a subdomain of http://example.com), the gallery will fail due to the JavaScript same-origin policy security restriction. Please see here for details.
If this is the case, try using a relative baseUrl instead.