Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #15254
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | gnoirzox <gnoirzox@gmail.com> |
| Newsgroups | comp.lang.javascript |
| Subject | mootools 1.12: fx.slide doesn't show the div's content |
| Date | Thu, 2 Aug 2012 16:39:10 +0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 65 |
| Sender | <gnoirzox@46474hpv103136.ikoula.com> |
| Message-ID | <jveafe$rpu$1@dont-email.me> (permalink) |
| Injection-Date | Thu, 2 Aug 2012 16:39:10 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="6931ec6bb18d5a9323cba31cf26ec676"; logging-data="28478"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+13b3sMnBtvr40W2o+ltIlNeyBxl12Des=" |
| Keywords | mootools, fx.slide, js |
| User-Agent | tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.6.32-131.21.1.el6.x86_64 (x86_64)) |
| Cancel-Lock | sha1:6bsBUmnljJjThn3TczprbpaJJIE= |
| Xref | csiph.com comp.lang.javascript:15254 |
Show key headers only | View raw
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
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web