Hello
I can't see gallery using Opera browser, it's work fine in IE 6 and 7 or Firefox 1.5. See here:
http://www.socio.ro/gallery.html
I found this thread but i don't understand german and babelfish doesnt give me a proper translation: http://forum.coppermine-gallery.net/index.php?topic=25877.msg170662#msg170662
Thanks
Changing
if (currentfr && !window.opera){
to
if (currentfr){
in Gallery.template.php
Seems to fix the problem.
Yes, that's it! Thank you
Quote from: mircesco on May 14, 2007, 09:29:46 AM
I found this thread but i don't understand german and babelfish doesnt give me a proper translation: http://forum.coppermine-gallery.net/index.php?topic=25877.msg170662#msg170662
:o The thread you refer to is not in German as far as I can see, but in English.
Sorry, this is the link: http://forum.coppermine-gallery.net/index.php?topic=28113.msg131333#msg131333. Thanks for your help
The posting you refered to is
Quote from: DirkM on February 24, 2006, 08:58:41 PM
Hallo,
es hängt mit dem Javascript zusammen.
Dieser Code verhindert das laden in Opera!
if (currentfr && !window.opera){
currentfr.style.display="block"
Wenn man für das .opera irgendwas anderes schreibt bsp. "!window.nix" wird die Galerie auch in Opera geladen.
Ist irgendwie nicht die feine englische ;) aber es funktioniert auch wenn mit nen kleinen Schönheitsfehler (Menü ist in Englisch)
Weiß jemand, ob CPG ohne iframe auf diese Art eingebunden werden kann?
Here's a rough translation:
Quote from: DirkM on February 24, 2006, 08:58:41 PM
Hello,
This is related to JavaScript
This code blocks loading in Opera!
if (currentfr && !window.opera){
currentfr.style.display="block"
If you replace ".opera" with something else, e.g. "!window.nothingParticular", the gallery will be loaded in Opera as well.
This is of course a crude hack, but at least it works (with a small disadvantage though: the menu is in English only).
Does anyone know wether Coppermine can be wrapped into SMF in this way without using an IFRAME?
This is a good question:
QuoteDoes anyone know wether Coppermine can be wrapped into SMF in this way without using an IFRAME?
Not without a lot of work.