### Board mmajunke.de ###

Board zu Themen der Website www.mmajunke.de
Aktuelle Zeit: Fr 1. Aug 2014, 12:49

Alle Zeiten sind UTC + 1 Stunde




Ein neues Thema erstellen Auf das Thema antworten  [ 6 Beiträge ] 
Autor Nachricht
Ungelesener BeitragVerfasst: Di 20. Jul 2010, 14:16 
Offline
Beobachter
Beobachter

Registriert: Di 20. Jul 2010, 14:10
Beiträge: 3
Hello,

First of all great plugin works fine.. Thanks!
I have only one problem using active="1" for the first slider i cannot define e.g. closeDep="2;3". It works then only when i do active="1" closeDep="1". But then when i click on the first slider after i have clicked on the other sliders, it doesn't close the other slider. It keeps open together with the first one.

When i remove active="1" it works, but then the first slider is not automatically open when the page loads.

Thanks in advance for your support.

Best regards,
Efsane


Nach oben
 Profil  
 
Ungelesener BeitragVerfasst: Do 22. Jul 2010, 15:52 
Offline
Moderator
Moderator
Benutzeravatar

Registriert: Di 4. Mai 2010, 18:44
Beiträge: 590
Wohnort: Hennigsdorf
Hi,

i have done such a Test-Case successfully :

{slider id="1" title="Slider 1" direction="0" active="1"} Slider 1 {sliderEnd}
{slider id="2" title="Slider 2" direction="0" closeDep="3"} Slider 2 - Close 3 {sliderEnd}
{slider id="3" title="Slider 3" direction="0" closeDep="2"} Slider 3 - Close 2 {sliderEnd}

You mean that or another Situation ?

Greetings Michael

PS.:
Note that there is no space after active="1".
NOT OK: {slider id="1" ... active="1" }
OK: {slider id="1" ... active="1"}

NOT OK: {slider id="1" ... active="1" closdep="2;3" }
OK: {slider id="1" ... active="1" closdep="2;3"}

And: enter the code in HTML-Mode, not in WYSIWYG Mode ! Some Editors insert an   and others...


Nach oben
 Profil  
 
Ungelesener BeitragVerfasst: Mi 11. Aug 2010, 15:14 
Offline
Beobachter
Beobachter

Registriert: Di 20. Jul 2010, 14:10
Beiträge: 3
Hello Michael,

Thanks for your reply and sorry for my late reply because of my holiday :-)

The situation is:
{slider id="1" title="SLIDER1" direction="0" active="1" closeDep="2;3"}
<p>Test </p>
{sliderEnd}
{slider id="2" title="SLIDER2" direction="0" closeDep="1;3"}
<p>Test</p>
{sliderEnd}
{slider id="3" title="SLIDER3" direction="0" closeDep="1;2"}
<p>Test</p>
{sliderEnd}

In the situation above all three sliders start open and cannot be closed when i click on the title. None of them.

Next situation:

{slider id="1" title="SLIDER1" direction="0" active="1" closeDep="1"}
<p>Test </p>
{sliderEnd}
{slider id="2" title="SLIDER2" direction="0" closeDep="1;3"}
<p>Test</p>
{sliderEnd}
{slider id="3" title="SLIDER3" direction="0" closeDep="1;2"}
<p>Test</p>
{sliderEnd}

In this situation the slider starts with the first "SLIDER1" open and the rest is closed. Afterwards when i click on SLIDER2/SLIDER3, SLIDER1 is closing. So far it works OK. But when i click on SLIDER1 again when SLIDER2/SLIDER3 is open, it doesn't close SLIDER2/SLIDER3. Then SLIDER1 and SLIDER2/SLIDER3 is open.

I couldn't manage to get it work like first situation.

I hope i could explain the problem well, but in case of questions please let me know.

Best regards,
Efsane


Nach oben
 Profil  
 
Ungelesener BeitragVerfasst: Mi 11. Aug 2010, 17:11 
Offline
Moderator
Moderator
Benutzeravatar

Registriert: Di 4. Mai 2010, 18:44
Beiträge: 590
Wohnort: Hennigsdorf
efsane hat geschrieben:
Hello Michael,
The situation is: .......
Best regards,
Efsane


Hi Efsane,

for first Situation:
i think there is a little bug :cry: .. i will looking for a solution..

The Problem can be, that active=1 flag will toogle sliders there are uninitalised at this momemt. So, active="1" on Slider3 ( the last ) works fine because it is located 'after' all depend sliders in sourcecode.

the second Situation:
{slider id="1" title="SLIDER1" direction="0" active="1" closeDep="1"}

ähhm. never use closeDep for slider self ! ( never closeDep="X" slider-ID="X" )

I think what you mean is closeDep="2;3" - the first Situation ?. But there is the Bug ;)

So.. now, i must search the bug ;)

Greetings Michael


Nach oben
 Profil  
 
Ungelesener BeitragVerfasst: Mi 11. Aug 2010, 17:37 
Offline
Moderator
Moderator
Benutzeravatar

Registriert: Di 4. Mai 2010, 18:44
Beiträge: 590
Wohnort: Hennigsdorf
micha hat geschrieben:
So.. now, i must search the bug ;)


done :ugeek: :)

Now there is a check in code wheter an depend slider to toogle exists.

Because it takes a little time to build a completly version, i upload an fast patch for you.

Let me know wheter it works in your testcases also.

Greetings Michael


Dateianhänge:
Dateikommentar: slider.php Version 1.5.2pre for Efsane
slider.zip [2.83 KiB]
237-mal heruntergeladen
Nach oben
 Profil  
 
Ungelesener BeitragVerfasst: Do 12. Aug 2010, 20:23 
Offline
Beobachter
Beobachter

Registriert: Di 20. Jul 2010, 14:10
Beiträge: 3
Hello Michael,

Thanks for your quick replay and fix! The patch works!! Great support!

Thanks.

Greeting,
Efsane


Nach oben
 Profil  
 
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 6 Beiträge ] 

Alle Zeiten sind UTC + 1 Stunde


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
cron
Impressum
Powered by phpBB

Deutsche Übersetzung durch phpBB.de