Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-05-2012, 08:45 PM   PM User | #1
rrdesign
New Coder

 
Join Date: Sep 2011
Posts: 25
Thanks: 7
Thanked 0 Times in 0 Posts
rrdesign is an unknown quantity at this point
Javascript module not wokring

Hi All,

I'm not sure if this is the right place to ask but hope you can help me out. I'm building a new website in Joomla and created my template and menu with jquery. Now i installed a module called widgetkit that has a lot of javascript code. The module should display a rotating banner or tabs but it's not showing anything the problem is that it does show when i put the default template on.

I'm not a javascript expert but i think it has a conflict with another thing that is running.

http://rrdesign.nl/widget.html

Hope someone can help me out.

Kind Regards,

Rein
rrdesign is offline   Reply With Quote
Old 12-05-2012, 08:51 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,556
Thanks: 62
Thanked 4,055 Times in 4,024 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Use your debugger and look at the error console.

Chrome debugger, for example, shows these errors:
Code:
not found: resource://jid1-ryetb1dajacauw-at-jetpack-paypal_wishlist_and_notifier-data/stylesheets/notifications.css

Uncaught TypeError: Object [object Object] has no method 'slideshow'   widgetkit-5bdb987f.js:14
So your "notifications.css" does not exist, so far as the browser can find it.

And you have an error in the JS code, as noted. No idea why the JS error. You will probably have to ask the widgetkit people.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 12-05-2012, 09:14 PM   PM User | #3
rrdesign
New Coder

 
Join Date: Sep 2011
Posts: 25
Thanks: 7
Thanked 0 Times in 0 Posts
rrdesign is an unknown quantity at this point
Thank for your reply.
I checked my firebug but i can't really find what's wrong. I installed another slideshow module and it also doesn't appear.

Code:
TypeError: jQuery(...).show(...).nivoSlider is not a function
[Break On This Error] 	

afterLoad: function(){}		});

rrdesign.nl (line 162)

TypeError: a.slideshow is not a function
[Break On This Error] 	

...en"),d=a.find(".wk-slideset").css("visibility","hidden"),e=d.find("ul.set > li")...
I also don't know why he is searching for a notifications.css as i don't know where that line is coming from.
rrdesign is offline   Reply With Quote
Old 12-05-2012, 09:23 PM   PM User | #4
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,335
Thanks: 13
Thanked 207 Times in 207 Posts
DanInMa is on a distinguished road
you are using mootools and jquery on the same page, this can cause conflicts. read this sticky for more : http://www.codingforums.com/showthread.php?t=271898
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Users who have thanked DanInMa for this post:
rrdesign (12-05-2012)
Old 12-05-2012, 09:45 PM   PM User | #5
rrdesign
New Coder

 
Join Date: Sep 2011
Posts: 25
Thanks: 7
Thanked 0 Times in 0 Posts
rrdesign is an unknown quantity at this point
Thank you for that, removed some stuff have to find a way to make it work.

Solved:
had to remove:

Code:
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/includes/jquery.js"></script>
From the index2.php now everything is working.

Last edited by rrdesign; 12-05-2012 at 09:47 PM..
rrdesign is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:28 AM.


Advertisement
Log in to turn off these ads.