I am using the album 0.9.3 with the lyteshow template. In FF it works fine however with IE 6 it only half works. In IE 6 when I click on a thumbnail opens up into the album and will move the through the images however there is no:
1. Background color
2. no close or pause links
3. can't see the next/prev links when the mouse is over the images (however if you click with the mouse is still works.)
Just wondering if anyone else has had this problem and if they have found a solution.
Thanks
Lyteshow template not working in IE
-
- New Member
- Posts: 4
- Joined: Tue Jan 22, 2008 1:00 am
-
- Forum Members
- Posts: 13
- Joined: Mon Apr 21, 2008 5:40 pm
Re: Lyteshow template not working in IE
Had the same problem. Here's what I did, and everything seems to work fine:
1) Replaced lytebox.js with the latest version from http://www.dolem.com/lytebox/ I'm not sure if this is strictly necessary or even advisable, but since the cmsms module specifies that it's simply a wrapper for lytebox, I'm assuming it is ok. By the way, the lytebox.js file is in the modules/Albums/templates/db directory. I also brought in the new lytebox.css file and the new images directory while I was at it.
2) Followed the directions in this post: http://www.dolem.com/forum/showthread.php?tid=669
Here are the relevant lines of code (in case post ever goes away):
Now lyteshow works fine in IE6, FF and IE7, with one exception: occasionally a particular picture will just open in a new browser window, without lyteshow kicking in at all. This seems to happen most often when the thumbnails page first opens, and before the page and the relevant scripts fully loads. This seems to be an issue with others who use lytebox/lyteshow, however, so I'm not sure there's a fix for it, and it is only a minor annoyance for the personal site I am using this on. Doesn't happen often enough to worry about for my application. If I were using this on a commercial site, I guess I'd dig a little deeper.
Hope this helps!
1) Replaced lytebox.js with the latest version from http://www.dolem.com/lytebox/ I'm not sure if this is strictly necessary or even advisable, but since the cmsms module specifies that it's simply a wrapper for lytebox, I'm assuming it is ok. By the way, the lytebox.js file is in the modules/Albums/templates/db directory. I also brought in the new lytebox.css file and the new images directory while I was at it.
2) Followed the directions in this post: http://www.dolem.com/forum/showthread.php?tid=669
Here are the relevant lines of code (in case post ever goes away):
To fix this problem I replaced the following piece of code
Code: Select all
/*@cc_on
/*@if (@_jscript)
this.ie = (document.all && !window.opera) ? true : false;
/*@else @*/
this.ie = false;
/*@end
@*/
this.ie7 = (this.ie && window.XMLHttpRequest);
By this one:
Code: Select all
this.ie = false;
this.ie7 = false;
// IE7 detection bug fix.
// Ahmed Djobby
// 2008.06.11
/*@cc_on
/*@if (@_jscript) {
this.ie = (document.all && !window.opera);
this.ie7 = (this.ie && (@_jscript_version == 5.7));
}
@end @*/
3) Cleared my browser cache....comments can be removed and feel free to rewrite or modify the fix.
Now lyteshow works fine in IE6, FF and IE7, with one exception: occasionally a particular picture will just open in a new browser window, without lyteshow kicking in at all. This seems to happen most often when the thumbnails page first opens, and before the page and the relevant scripts fully loads. This seems to be an issue with others who use lytebox/lyteshow, however, so I'm not sure there's a fix for it, and it is only a minor annoyance for the personal site I am using this on. Doesn't happen often enough to worry about for my application. If I were using this on a commercial site, I guess I'd dig a little deeper.
Hope this helps!