element.getInlineOpacity is not a function

399 views
Skip to first unread message

infectedrhythms

unread,
Sep 29, 2009, 1:19:01 AM9/29/09
to Prototype & script.aculo.us
I can't seem to figure this out! It was working previously. I don't
think I have changed anything relevant.

http://www.inbeatstore.com try clciking one of the Categories on the
left hand side...

Error: element.getInlineOpacity is not a function
Source File: http://www.inbeatstore.com/js/effects.js
Line: 554

I'm using prototype 1.5.0 as I previously had no problems I never had
to upgrade.

Any ideas?

infectedrhythms

unread,
Sep 29, 2009, 4:14:09 PM9/29/09
to Prototype & script.aculo.us
Ok I gigured out the issue but not sure how to fix it.

I'm using Scriptaculous to do my Ajax calls and when I include JQuery
to add JCarousel to my page, the error is thrown...

Can Scriptaculous and JQuery coexist together?

On Sep 29, 1:19 am, infectedrhythms <voo...@videotron.ca> wrote:
> I can't seem to figure this out! It was working previously. I don't
> think I have changed anything relevant.
>
> http://www.inbeatstore.comtry clciking one of the Categories on the

Alex McAuley

unread,
Sep 29, 2009, 4:41:18 PM9/29/09
to prototype-s...@googlegroups.com
yes

jQuery.noConflict();

for example

$jq=jQuery.noConflict();

then every jquery call must use $jq() instead of the dollar $()

example to set innerHTML of foo

in prototypejs...
$('foo').innerHTML='Bar';
...
In jQuery.
$jq('#foo').innerHTML='Bar';

HTH

Alex Mcauley
http://www.thevacancymarket.com

infectedrhythms

unread,
Sep 29, 2009, 6:42:37 PM9/29/09
to Prototype & script.aculo.us
So the first like inside the JCarousel js file should be...

$jq=jQuery.noConflict();?

And then every function call in JCarousel should be

$jq?



On Sep 29, 4:41 pm, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:
> yes
>
> jQuery.noConflict();
>
> for example
>
> $jq=jQuery.noConflict();
>
> then every jquery call must use $jq() instead of the dollar $()
>
> example to set innerHTML of foo
>
> in prototypejs...
>  $('foo').innerHTML='Bar';
> ...
> In jQuery.
> $jq('#foo').innerHTML='Bar';
>
> HTH
>
> Alex Mcauleyhttp://www.thevacancymarket.com
>
> ----- Original Message -----
> From: "infectedrhythms" <voo...@videotron.ca>
> To: "Prototype & script.aculo.us" <prototype-s...@googlegroups.com>
> Sent: Tuesday, September 29, 2009 9:14 PM
> Subject: [Proto-Scripty] Re: element.getInlineOpacity is not a function
>
> Ok I gigured out the issue but not sure how to fix it.
>
> I'm using Scriptaculous to do my Ajax calls and when I include JQuery
> to add JCarousel to my page, the error is thrown...
>
> Can Scriptaculous and JQuery coexist together?
>
> On Sep 29, 1:19 am, infectedrhythms <voo...@videotron.ca> wrote:
> > I can't seem to figure this out! It was working previously. I don't
> > think I have changed anything relevant.
>
> >http://www.inbeatstore.comtryclciking one of the Categories on the

infectedrhythms

unread,
Sep 29, 2009, 6:49:23 PM9/29/09
to Prototype & script.aculo.us
Not sure I get it but all I did was add

$jq=jQuery.noConflict()

As the first line inside the jcarousel js file and all is good! I
guess cause it's wrapped or something?
> > >http://www.inbeatstore.comtryclcikingone of the Categories on the

Alex McAuley

unread,
Sep 30, 2009, 2:10:37 AM9/30/09
to prototype-s...@googlegroups.com
Anywhere before jcarosel is called is fine.. personaly i do it just after
jquery is included in my page
Alex Mcauley
Reply all
Reply to author
Forward
0 new messages