Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15254 > unrolled thread

mootools 1.12: fx.slide doesn't show the div's content

Started bygnoirzox <gnoirzox@gmail.com>
First post2012-08-02 16:39 +0000
Last post2012-08-05 14:01 +0200
Articles 11 — 5 participants

Back to article view | Back to comp.lang.javascript


Contents

  mootools 1.12: fx.slide doesn't show the div's content gnoirzox <gnoirzox@gmail.com> - 2012-08-02 16:39 +0000
    Re: mootools 1.12: fx.slide doesn't show the div's content Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-02 20:02 +0200
    Re: mootools 1.12: fx.slide doesn't show the div's content Christoph Becker <cmbecker69@gmx.de> - 2012-08-02 21:19 +0200
      Re: mootools 1.12: fx.slide doesn't show the div's content Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-03 00:56 +0200
        Re: mootools 1.12: fx.slide doesn't show the div's content Gregor Kofler <usenet@gregorkofler.com> - 2012-08-03 12:12 +0200
          Re: mootools 1.12: fx.slide doesn't show the div's content Christoph Becker <cmbecker69@gmx.de> - 2012-08-03 12:49 +0200
            [OT] Re: mootools 1.12: fx.slide doesn't show the div's content Stanimir Stamenkov <s7an10@netscape.net> - 2012-08-04 21:49 +0300
              Re: [OT] Re: mootools 1.12: fx.slide doesn't show the div's content Christoph Becker <cmbecker69@gmx.de> - 2012-08-05 01:20 +0200
          [OT] Thunderbird duplicates leading dot (was: mootools 1.12: fx.slide doesn't show the div's content) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-04 20:25 +0200
            Re: [OT] Thunderbird duplicates leading dot Christoph Becker <cmbecker69@gmx.de> - 2012-08-05 01:15 +0200
              Re: [OT] Thunderbird duplicates leading dot Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-05 14:01 +0200

#15254 — mootools 1.12: fx.slide doesn't show the div's content

Fromgnoirzox <gnoirzox@gmail.com>
Date2012-08-02 16:39 +0000
Subjectmootools 1.12: fx.slide doesn't show the div's content
Message-ID<jveafe$rpu$1@dont-email.me>
Hello,

I've got a problem using fx.slide with mootools 1.12 (I can't use a newer version because of the CMS used). The SlideIn animation works but it doesn't show the text put in div selected. I know it's not due to my older version of that framework because it does what is expected here: http://jsbin.com/ewasa/1/edit

my code: 

js:

var descItems= $$('div.ja-slide-desc');

if($('activeDesc') !== null)
	$('activeDesc').unwrap();

$$('div.ja-slide-desc').removeProperty('id');
descItems[currentIndex].set({ id: 'activeDesc' });
var descItem = $('activeDesc');

var mySlide    = new Fx.Slide('activeDesc', {
	mode: 'vertical',
	duration: 1000,
});

var sliderHide = mySlide.hide();
var sliderIn   = mySlide.slideIn();

descItem.addEvent('load', sliderHide);
descItem.addEvent('complete', sliderIn);

css:

.ja-slidewrap_quartz2 .ja-slide-item div {
	background-color: #000;
	width: 200px;
	right: 29px;
	bottom: 70px;
	position: absolute;
	z-index: 2; 
}

.ja-slidewrap_quartz2 .ja-slide-item .ja-slide-desc { 
	width: 200px;
	height: 60px;
	right: 29px;
	bottom: 70px;
	float: right;
	position: absolute;
	z-index: 3;
	color: #fff;
	font-family: "GeoLight", serif;
	font-size: 22px;
}

html:

<div class="ja-slide-item" style="width: 995px; height: 330px; visibility: visible; zoom: 1; opacity: 0.3; ">
	<img src="http://2012.inextcom.fr/images/resized/images/stories/slideshow/3_stereoluxsite_995_330.jpg" alt="1 2 3 CHECK!!">
	<div class="ja-slide-desc" style="margin-right: 0px; margin-bottom: 0px; margin-left: 0px; margin-top: 0px; ">blablablabla
	</div>
</div>

Have you any idea why it doesn't work ?

Best Regards,

gnoirzox

[toc] | [next] | [standalone]


#15255

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-08-02 20:02 +0200
Message-ID<2358304.GCg2BFQBku@PointedEars.de>
In reply to#15254
gnoirzox wrote:
^^^^^^^^
Who?

[automatically wrapped to max. 80 characters per line]
> I've got a problem using fx.slide with mootools 1.12 (I can't use a newer
> version because of the CMS used). The SlideIn animation works but it
> doesn't show the text put in div selected. I know it's not due to my older
> version of that framework because it does what is expected here:
> http://jsbin.com/ewasa/1/edit
> 
> […]
> Have you any idea why it doesn't work ?

Yes; it is not supposed to work.  MooTools is junk, and so is your posting 
style.

<http://jibbering.com/faq/#posting>


PointedEars
-- 
When all you know is jQuery, every problem looks $(olvable).

[toc] | [prev] | [next] | [standalone]


#15256

FromChristoph Becker <cmbecker69@gmx.de>
Date2012-08-02 21:19 +0200
Message-ID<jvejqp$ua8$1@speranza.aioe.org>
In reply to#15254
gnoirzox wrote:
> ..ja-slidewrap_quartz2 .ja-slide-item div {

Shouldn't that be just

.ja-slidewrap_quartz2 .ja-slide-item div {

Analogous for the 2nd selector.

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#15257

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-08-03 00:56 +0200
Message-ID<335991659.NUn6IBkH9z@PointedEars.de>
In reply to#15256
Christoph Becker wrote:

> gnoirzox wrote:
>> ..ja-slidewrap_quartz2 .ja-slide-item div {
> 
> Shouldn't that be just
> 
> .ja-slidewrap_quartz2 .ja-slide-item div {
> 
> Analogous for the 2nd selector.

Yes, it should.  However, a long-standing bug in your Thunderbird prevents 
you from seeing the code as posted (at least upon quoting it), which is 
syntactically correct as it has only one dot at the front.


PointedEars
-- 
    realism:    HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness:    XHTML 1.1 as application/xhtml+xml
                                                    -- Bjoern Hoehrmann

[toc] | [prev] | [next] | [standalone]


#15259

FromGregor Kofler <usenet@gregorkofler.com>
Date2012-08-03 12:12 +0200
Message-ID<jvg878$5r1$1@dont-email.me>
In reply to#15257
Am 2012-08-03 00:56, Thomas 'PointedEars' Lahn meinte:
> Christoph Becker wrote:
>
>> gnoirzox wrote:
>>> ..ja-slidewrap_quartz2 .ja-slide-item div {
>>
>> Shouldn't that be just
>>
>> .ja-slidewrap_quartz2 .ja-slide-item div {
>>
>> Analogous for the 2nd selector.
>
> Yes, it should.  However, a long-standing bug in your Thunderbird prevents
> you from seeing the code as posted (at least upon quoting it), which is
> syntactically correct as it has only one dot at the front.

Interesting. My TB (also 14.0 on Ubuntu 12.04) doesn't show this bug. 
Both the OP and a quoted OP don't display an erroneous second dot.

Gregor

[toc] | [prev] | [next] | [standalone]


#15260

FromChristoph Becker <cmbecker69@gmx.de>
Date2012-08-03 12:49 +0200
Message-ID<jvgabm$md7$1@speranza.aioe.org>
In reply to#15259
Gregor Kofler wrote:
> Am 2012-08-03 00:56, Thomas 'PointedEars' Lahn meinte:
>> Christoph Becker wrote:
>>
>>> gnoirzox wrote:
>>>> ..ja-slidewrap_quartz2 .ja-slide-item div {
>>>
>>> Shouldn't that be just
>>>
>>> .ja-slidewrap_quartz2 .ja-slide-item div {
>>>
>>> Analogous for the 2nd selector.
>>
>> Yes, it should.  However, a long-standing bug in your Thunderbird
>> prevents
>> you from seeing the code as posted (at least upon quoting it), which is
>> syntactically correct as it has only one dot at the front.

Thanks for pointing this out -- I wasn't aware of this bug.

> Interesting. My TB (also 14.0 on Ubuntu 12.04) doesn't show this bug.
> Both the OP and a quoted OP don't display an erroneous second dot.

I'm using TB 14.0 on WinXP, and the duplicated dot shows up in the OP's
source code already. I'll further investigate, if there's any solution
-- otherwise I'll have to switch to another newsreader.

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#15263 — [OT] Re: mootools 1.12: fx.slide doesn't show the div's content

FromStanimir Stamenkov <s7an10@netscape.net>
Date2012-08-04 21:49 +0300
Subject[OT] Re: mootools 1.12: fx.slide doesn't show the div's content
Message-ID<jvjqqu$epo$1@dont-email.me>
In reply to#15260
Fri, 03 Aug 2012 12:49:38 +0200, /Christoph Becker/:

> I'm using TB 14.0 on WinXP, and the duplicated dot shows up in the OP's
> source code already. I'll further investigate, if there's any solution
> -- otherwise I'll have to switch to another newsreader.

Seems like you've disabled sending format=flowed messages, but seems 
you've also disabled reading such messages properly - just make sure 
you have:

mailnews.display.disable_format_flowed_support = false (the default)

-- 
Stanimir

[toc] | [prev] | [next] | [standalone]


#15267 — Re: [OT] Re: mootools 1.12: fx.slide doesn't show the div's content

FromChristoph Becker <cmbecker69@gmx.de>
Date2012-08-05 01:20 +0200
SubjectRe: [OT] Re: mootools 1.12: fx.slide doesn't show the div's content
Message-ID<jvkanv$4n3$1@speranza.aioe.org>
In reply to#15263
Stanimir Stamenkov wrote:
> Fri, 03 Aug 2012 12:49:38 +0200, /Christoph Becker/:
> 
>> I'm using TB 14.0 on WinXP, and the duplicated dot shows up in the OP's
>> source code already. I'll further investigate, if there's any solution
>> -- otherwise I'll have to switch to another newsreader.
> 
> Seems like you've disabled sending format=flowed messages, but seems
> you've also disabled reading such messages properly - just make sure you
> have:
> 
> mailnews.display.disable_format_flowed_support = false (the default)
> 
Thanks for the hint. But I've never touched that setting, so it was and
is "false".

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#15262 — [OT] Thunderbird duplicates leading dot (was: mootools 1.12: fx.slide doesn't show the div's content)

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-08-04 20:25 +0200
Subject[OT] Thunderbird duplicates leading dot (was: mootools 1.12: fx.slide doesn't show the div's content)
Message-ID<5256202.NPEmj8xyvr@PointedEars.de>
In reply to#15259
Gregor Kofler wrote:

> Am 2012-08-03 00:56, Thomas 'PointedEars' Lahn meinte:
>> […] a long-standing bug in your Thunderbird prevents you from seeing the
>> code as posted (at least upon quoting it), which is syntactically correct
>> as it has only one dot at the front.
> 
> Interesting. My TB (also 14.0 on Ubuntu 12.04) doesn't show this bug.
> Both the OP and a quoted OP don't display an erroneous second dot.

Apparently it is a heisenbug; I could neither reproduce it with Icedove 
10.0.5 nor find anything about it in Bugzilla.  It may have to do with 
settings, in particular with format=flowed.  I have encountered this bug 
years ago, before I stopped using Thunderbird as newsreader, so I do not 
remember if I fixed it and, if yes, how.


PointedEars
-- 
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
  -- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)

[toc] | [prev] | [next] | [standalone]


#15266 — Re: [OT] Thunderbird duplicates leading dot

FromChristoph Becker <cmbecker69@gmx.de>
Date2012-08-05 01:15 +0200
SubjectRe: [OT] Thunderbird duplicates leading dot
Message-ID<jvkaec$42q$1@speranza.aioe.org>
In reply to#15262
Thomas 'PointedEars' Lahn wrote:
> Gregor Kofler wrote:
> 
>> Am 2012-08-03 00:56, Thomas 'PointedEars' Lahn meinte:
>>> […] a long-standing bug in your Thunderbird prevents you from seeing the
>>> code as posted (at least upon quoting it), which is syntactically correct
>>> as it has only one dot at the front.
>>
>> Interesting. My TB (also 14.0 on Ubuntu 12.04) doesn't show this bug.
>> Both the OP and a quoted OP don't display an erroneous second dot.
> 
> Apparently it is a heisenbug; I could neither reproduce it with Icedove 
> 10.0.5 nor find anything about it in Bugzilla.  It may have to do with 
> settings, in particular with format=flowed.  I have encountered this bug 
> years ago, before I stopped using Thunderbird as newsreader, so I do not 
> remember if I fixed it and, if yes, how.
> 
If I'm not mistaken, it is the bug reported in
<https://bugzilla.mozilla.org/show_bug.cgi?id=170727> (see Comment 1 and
5). A leading dot is only duplicated in messages downloaded for offline
reading. So I switched to online reading, what works fine.

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#15275 — Re: [OT] Thunderbird duplicates leading dot

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-08-05 14:01 +0200
SubjectRe: [OT] Thunderbird duplicates leading dot
Message-ID<11925291.SBs2v9yu44@PointedEars.de>
In reply to#15266
Christoph Becker wrote:

> Thomas 'PointedEars' Lahn wrote:
>> Gregor Kofler wrote:
>>> Am 2012-08-03 00:56, Thomas 'PointedEars' Lahn meinte:
>>>> […] a long-standing bug in your Thunderbird prevents you from seeing
>>>> [the
>>>> code as posted (at least upon quoting it), which is syntactically
>>>> correct as it has only one dot at the front.
>>> Interesting. My TB (also 14.0 on Ubuntu 12.04) doesn't show this bug.
>>> Both the OP and a quoted OP don't display an erroneous second dot.
>> Apparently it is a heisenbug; I could neither reproduce it with Icedove
>> 10.0.5 nor find anything about it in Bugzilla.  It may have to do with
>> settings, in particular with format=flowed.  I have encountered this bug
>> years ago, before I stopped using Thunderbird as newsreader, so I do not
>> remember if I fixed it and, if yes, how.
>> 
> If I'm not mistaken, it is the bug reported in
> <https://bugzilla.mozilla.org/show_bug.cgi?id=170727> (see Comment 1 and
> 5). A leading dot is only duplicated in messages downloaded for offline
> reading. So I switched to online reading, what works fine.

I have added your case and observations to that bug, and voted on it.  
Thanks for your feedback.


PointedEars
-- 
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
  -- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web