Author |
Message |
zqmp987
New Member
Joined: Apr 04, 2006
Posts: 9
|
Posted:
Sat Dec 09, 2006 11:09 am |
|
I've tried beta, current and old versions of the sommaire block. In IE and Opera it displays closed or collapsed.
In Firefox, it always displays in the expanded mode to a long list, it won't collapse.
Any thoughts? |
|
|
|
|
hitwalker
Sells PC To Pay For Divorce
Joined:
Posts: 5661
|
Posted:
Sat Dec 09, 2006 12:29 pm |
|
so in firefox...
when you go here...http://marcoledingue.free.fr
does that work? |
|
|
|
|
zqmp987
|
Posted:
Sat Dec 09, 2006 10:15 pm |
|
good point....yes it does.
obviously it's something somewhere in my code.
I reloaded the sommaire block 3.01 beta, it expands completely in Opera, but 2.1 and 2.11 doesn't, they remain collapsed. All 3 expand completely in firefox.
anything? |
|
|
|
|
hitwalker
|
Posted:
Sun Dec 10, 2006 5:47 am |
|
only reason i can think of that it conflicts with some code on your site.. |
|
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sun Dec 10, 2006 8:20 am |
|
The approach used in earlier versions of Sommaire (e.g. 2.1 and 2.11) may have conflicted with Opera. I thought it had address issues with Firefox, too, but maybe not. Which version of FF are you using? |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
|
zqmp987
|
Posted:
Sun Dec 10, 2006 3:39 pm |
|
FF 2.0, Opera 9.02 & IE7
It's weird that Sommaire (2.1 & 2.11) behaves in Opera 9 & IE7, but not FF2. |
|
|
|
|
Guardian2003
Site Admin
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sun Dec 10, 2006 4:17 pm |
|
I don't think it would have been tested with FF2 as it was probably released after Sommaire but yes it is rather strange. |
|
|
|
|
kguske
|
Posted:
Mon Dec 11, 2006 11:49 am |
|
Sounds like FCKeditor... There were issues with FCKeditor 2.3.1 with FF 2.0, which hopefully were addressed in 2.3.2, which we are testing now. |
|
|
|
|
zqmp987
|
Posted:
Mon Dec 11, 2006 12:06 pm |
|
I finally got it to behave dynamically correct in all 3 browsers, using Sommaire v212beta6
Looking over the code it appears that this version has different mozilla references on about lines 34-36... starting with "detectMozilla" (2 lines)
Anyway mystery solved.
THANKS FOR ALL THE HELP. |
|
|
|
|
kguske
|
Posted:
Mon Dec 11, 2006 12:45 pm |
|
Interesting - so it had browser-specific code that caused this. If I remember correctly, FCKeditor had the same thing. At any rate, glad it is working now - thanks for the update. |
|
|
|
|
montego
Site Admin
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Dec 13, 2006 2:56 pm |
|
zqmp987, would you please post the code fixes here so that others may benefit? Thanks! |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
|
zqmp987
|
Posted:
Wed Dec 13, 2006 9:36 pm |
|
I use PSPad to compare text differences between 2 files. PSPad highlighted several code differences between v212beta6 and v211, but the one I keyed on was
line 34 $detectMozilla =0;
it started with "detectMozilla", so I figured browser!...I'm not a coder, but since v212beta6 had this reference and it worked in all 3 browsers and 2.1 and 2.11 didn't have it or was commented out, it was the line causing my problem.
Bottom line - use Sommaire v212beta6, if you're have similar problems with dynamic function not working in a collapsed state. |
|
|
|
|
montego
|
Posted:
Thu Dec 14, 2006 6:43 am |
|
Oh, I see. I missed the point earlier. I was thinking that you had to make a change to the beta code.
BTW, is "v212beta6" the same as "Sommaire Paramétrable v3.0 04 october 2005"? |
|
|
|
|
zqmp987
|
Posted:
Thu Dec 14, 2006 6:54 am |
|
if you mean v30b1, no v212beta6 has many code differences.
in particular (v30b1), line34 is commented out //$detectMozilla = (eregi("Mozilla",$_SERVER['H... |
|
|
|
|
montego
|
Posted:
Thu Dec 14, 2006 7:13 am |
|
Interesting. I'll have to look at that closer and see if 3.0b1 works or not, or have you already tested it. I vaguelly recall seeing some comments in the code around issues with some functions on some browsers and that he was yet to fix them... been too long ago, though, to remember, and I didn't take notes. |
|
|
|
|
|