Slider theme modified: needs help in Internet Explorer

justpeachy

Joined: 2007-01-18
Posts: 6
Posted: Mon, 2009-01-05 20:30

Most of my gallery uses Matrix, but I’ve modified the slider theme in a subalbum (http://www.westernhillsband.org/main.php?g2_itemId=5944)
using tips from the Forum (many thanks to corbosman http://gallery.menalto.com/node/56845 and mindless http://gallery.menalto.com/node/29273), and it looks exactly as I want it to in Firefox, Opera and Chrome, but not in Internet Explorer 7. All of the issues seem to result from placement of the image area in IE7: The vertical slider runs off the bottom of the page (my temp fix is to add a blank background color image at the bottom of the thumbnail list), some wide images run off the right edge of screen and the magnification icon runs off the right edge of the screen (unless I add hspace=20 to the icon image in /local/theme.tpl, which then funks the alignment with the image in Firefox et al). The image area has been shifted right and down because I added a 48px-tall banner at the top and set default thumb slider for vertical with 150px thumbs, but I can’t figure out how to resize the image area in IE to compensate for those changes. I’ve concentrated on the slider.js file. I tried resizing the image area to 65%, 75%, 45% rather than 100% in /local/slider.js as suggested in http://gallery.menalto.com/node/62770, but this had no effect (and I did clear the template cache and browser cookies).

Quote:
if (app_is_ie) {
image_area.style.width = title_div.style.width = '100%';
thumb_div.style.overflow = 'scroll';
document.body.parentNode.style.overflow = 'hidden';
document.onkeydown = app_onkeydown;
}

I’ve monkeyed around with any sizing component I can find in local/slider.js, but nothing seems to help. I’m willing to try just about any possible solution. This problem is keeping me from applying this theme to all albums.
My /local/slider.js: http://www.westernhillsband.org/themes/slider/local/slider.js
PHP Info: http://www.westernhillsband.org/phpinfo.php

Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.2.1 cgi-fcgi
Webserver = Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.1 mod_python/3.1.3 Python/2.3.5 mod_ssl/2.0.54 OpenSSL/0.9.7e
Database = mysqlt 4.1.11-Debian_4sarge8-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux supremecenter35.com 2.6.24.2-smp-AM #12 SMP Fri Feb 15 22:08:31 GMT 2008 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Rows in GalleryAccessMap table = 17
Rows in GalleryAccessSubscriberMap table = 1215
Rows in GalleryUser table = 3
Rows in GalleryItem table = 1213
Rows in GalleryAlbumItem table = 8
Rows in GalleryCacheMap table = 0