errors in Explorer

CameronMcL

Joined: 2009-05-26
Posts: 14
Posted: Thu, 2009-07-02 10:26


Gallery version: 2.3
Operating system: Windows XP
Browser: Explorer

link to slideshow: http://www.theartworksgalleries.com/slideshow/main.php?g2_itemId=71
my slideshow works okay with firefox but does not display correctly in Explorer and returns this error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; FDM)
Timestamp: Thu, 2 Jul 2009 09:13:32 UTC

Message: Object required
Line: 507
Char: 13
Code: 0
URI: http://www.theartworksgalleries.com/slideshow/themes/hybrid/hybrid.js

line 507 is this:
for (i=0; i < obj.options.length; i++) {

taken from this block of code:

//UI Util
function ui_vis(id,vis,inline) {
var obj = document.getElementById(id);
obj.style.display = vis ? (inline ? 'inline' : 'block') : 'none';
}
function ui_sethtml(id,html) {
document.getElementById(id).innerHTML = html;
}
function ui_select(id,val) {
var obj = document.getElementById(id), i;
for (i=0; i < obj.options.length; i++) {
if (obj.options[i].value == val) {
obj.options[i].selected = 1; break;
}
}
}

any ideas anyone?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16501
Posted: Fri, 2009-07-03 17:52

First, you're using IE6. Upgrade, period. Don't know if that will fix the problem, but there is NO reason you should be running IE 6 on any machine you use. IE 7 or better yet IE8 if you must run IE as IE8 is actually much improved for standards compliance.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16501
Posted: Fri, 2009-07-03 18:01

Actually IE 8 seems to be fubarred with the Hybrid theme too. I'd use a different them if you want IE users to view your gallery as expected.

Scratch that, IE 8 works fine on the demo for Hybrid:
http://themes.gallery2.hu/index.php?g2_theme=hybrid&g2_colorpack=none&g2_frame=none

Have you done anything to your theme?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
CameronMcL

Joined: 2009-05-26
Posts: 14
Posted: Mon, 2009-07-06 10:53

I do keep my computers at home up to date with the latest software and patches, but the computers at work are a different story. I think I'm the only one that bothers to update them, and theres 6 computers here so its a bit difficult to keep them all up to date.

As to the theme I have made quite a few changes to it, its took me a while to get it looking just right so I don't really want to start from scratch again with a different theme. The changes I made were removing the sidebar with the various options and the text area at the bottom. I also added some html to the top and bottom to make it look more like our website.
Perhaps I should just put a "Best viewed in Firefox" banner on the webpage lol!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16501
Posted: Mon, 2009-07-06 12:54
Quote:
theres 6 computers here so its a bit difficult to keep them all up to date.

Really? We have 150 workstations and 12 servers that 2 guys keep up to date at my work.

But really, the more I looked at it, the more I realized that theme probably wasn't tested heavily with IE, period. It doesn't function as nicely or as smooth as it does with standards compliant browsers.

Or you could try a different theme, if you look at my link above you can demo tons of different themes that have been made for G2.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
CameronMcL

Joined: 2009-05-26
Posts: 14
Posted: Mon, 2009-07-06 13:26
Quote:
Really? We have 150 workstations and 12 servers that 2 guys keep up to date at my work.

Well if its their job to do that then they would have the time (especially if they update the workstations with ghost images). I'm working on the website so don't have the time, and I don't think ppl would appreciate me going around kicking them off their computers to update them when they are busy trying to work.

I've been thinking of adding a frame to the logo and links bar to keep them at the top of the page, and thinking about this, it might help solve the problem anyway. Maybe that part is stuck in a frame, which is why it stays on the page? I've have a look at the code when I've got the time.

 
CameronMcL

Joined: 2009-05-26
Posts: 14
Posted: Mon, 2009-07-06 14:23
Quote:
But really, the more I looked at it, the more I realized that theme probably wasn't tested heavily with IE, period.

Maybe I should put in a bug report?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16501
Posted: Mon, 2009-07-06 15:12

You can, but since development on G2 is pretty much dead I doubt anything will happen with it. The only thing you might see on the G2 front is security updates if any. But you never know.

The developers are working on G3 and that's where all future development is planned right now. IIRC, I believe the Hybrid theme was really developed as a "Hey look at some of the possibilities you can do with Gallery" It's slick, but relies on a ton of JavaScript and I think CSS that IE (at the time of it's development) really just couldn't handle.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here