You're not getting the point.

The mootab script uses 1.1.2 API, the "opacity on hover" snippet is using
1.2.4 API - you cannot use both on the same page. Port one or the other
script to use a single MooTools version. Preferable 1.2.4+ as 1.1.2 is
deprecated and not supported anymore.

http://mootools.net/shell/CDH3E/10/

Don't even dare to ask "why isn't the opacity animating" :-)

___

Oskar Krawczyk
http://nouincolor.com


On Fri, Mar 26, 2010 at 11:14 AM, Deepali <[email protected]> wrote:

> Thnaks for your reply oskar,
>
> I was using mootools.1.2.3.js but now  added 1.2.4. Mootabs is working
> fine but opacity on hover is still not working. :(
>
> what should i check now?
>
> On Mar 26, 3:41 pm, Oskar Krawczyk <[email protected]> wrote:
> > Because:
> >
> > 1. Your loading MooTools 1.1.2
> > 2. The "opacity on hover" uses 1.2.4 API
> >
> > Fix all JS errors and you'll find it working.
> >
> > ___
> >
> > Oskar Krawczykhttp://nouincolor.com
> >
> > On Fri, Mar 26, 2010 at 10:28 AM, Deepali <[email protected]> wrote:
> > > Hello,
> >
> > > I am using two mootool plugin on the same page
> > > 1)mootab
> >
> > > here is the demo for it
> >
> > >http://mootools.net/shell/CDH3E/8/
> >
> > > 2)opacity on hover-
> > > code is here-
> >
> > > <script type="text/javascript" src="js/mootools.1.2.3.js"></script>
> > > <script type="text/javascript">
> >
> > > (function($)
> > > {
> > >  window.addEvent('domready',function()
> > >  {
> > >        //element collection and settings
> > >        var opacity = 0.3, toOpacity = 0.9;
> >
> > >        //set opacity ASAP and events
> > >        $$('div.opacity').set('opacity',opacity).addEvents({
> > >                mouseenter: function() {
> > >                        this.tween('opacity',toOpacity);
> > >                },
> > >                mouseleave: function() {
> > >                        this.tween('opacity',opacity);
> > >                }
> > >         });
> > >  });
> > > })(document.id);
> > > </script>
> >
> > > Here is demo for it
> > >http://davidwalsh.name/dw-content/opacity-hover.php
> >
> > > Can anyone please tell me why my both the plugin are not working on
> > > the same page?
> >
> > > Thanks in advance.
> >
> > > To unsubscribe from this group, send email to mootools-users+
> > > unsubscribegooglegroups.com or reply to this email with the words
> "REMOVE
> > > ME" as the subject.
>
> To unsubscribe from this group, send email to mootools-users+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

To unsubscribe from this group, send email to 
mootools-users+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to