Menu Content

Shopping Cart

£15.00


1 Product
£15.00



Currencies Accepted


Newsletter

Subscribe to our newsletter


Name:

Email:

Like it? Share it!

Find Us Elsewhere

Follow us on Twitter

Home Support Forum Featured Items Modules Featured Item Carousel error on script w...

 Spiral Scripts Support Forum :: Featured Items Modules
Welcome Guest   [Register]  [Login]
 Subject :Featured Item Carousel error on script when not show buttons.. 27-11-2010 15:33:26 
ngarasan
Fresher
Joined: 18-11-2010 13:44:10
Posts: 5
Location
Hi,

I have installed Featured Item Carousel. And when I set the show buttons to NO this error occurred in script.

---
this.backButton is undefined
[Break on this error] if(this.backButton.hasClass('backButton_disabled'))
scrollpane.js (line 112)
---

It makes the auto scroll running not properly.
What's wrong?

Please help..

Thanks
IP Logged
Last Edited On: 27-11-2010 15:34:40 By ngarasan for the Reason
 Subject :Re:Featured Item Carousel error on script when not show buttons.. 29-11-2010 12:46:23 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
Can you tell me which web browser you are using? We have tested the script on a variety of browsers and we don't find that this line of code causes problems.
IP Logged
susan subway boggler
 Subject :Re:Featured Item Carousel error on script when not show buttons.. 29-11-2010 13:58:41 
ngarasan
Fresher
Joined: 18-11-2010 13:44:10
Posts: 5
Location
Hi,

thanks for the reply..

I have tried to Firefox, IE8 and Chrome. All give me the same output..

Check this snapshot:

Firefox:



IE8:



Chrome:



And when I set the show button "Yes", the script error disappear..

Here is the setting:



I really like this module, especially when it support Mighty Resources.. But I prefer not to show the button.

Please help..
IP Logged
 Subject :Re:Featured Item Carousel error on script when not show buttons.. 29-11-2010 14:27:01 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
OK, its wierd because none of these browsers flag this as an error for us.

But it should be possible to fix without great difficulty, all it requires is an extra test to check that the buttons exist, I will add this to the code, I should be able to do this today or tomorrow, you will be able to download the update when it is ready.
IP Logged
susan subway boggler
 Subject :Re:Featured Item Carousel error on script when not show buttons.. 29-11-2010 14:56:14 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
In fact I have sent you a new version of the scrollpane.js script, I think it should solve your problem, if it does not, please let me know.
IP Logged
susan subway boggler
 Subject :Re:Featured Item Carousel error on script when not show buttons.. 29-11-2010 16:15:56 
ngarasan
Fresher
Joined: 18-11-2010 13:44:10
Posts: 5
Location
Hi,

I have tried your new scrollpane.js and it works fine. No error script issue anymore.

It would be great if you can tell me what you have done with it.

Anyway, thanks for your quick support..

regards
IP Logged
 Subject :Re:Featured Item Carousel error on script when not show buttons.. 29-11-2010 17:22:46 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
great, glad the problem is fixed, the change was very simple, just change

if(this.backButton.hasClass('backButton_disabled'))


to

if(this.backButton && this.backButton.hasClass('backButton_disabled'))

that way it tests first to see if the button exists before trying to call the method hasClass(), so if it does not exist then no error is generated.

There were several places where the change had to be made, apart from that it was very simple.
IP Logged
susan subway boggler
Page # 


Powered by ccBoard


 
 

VirtueMart Featured Products Grid

Switch View

A featured items module that shows selected entries from the SOBI2 business index.

£12.00


*****Now compatible with Joomla 1.6******* A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children. Compatible with Joomla 1.5 and Joomla 1.6.

£10.00


This module can be used as a replacement for the Virtuemart featured products, top products, random products or recent products modules. It displays product images as a 3 Dimensional Flash slideshow.

£15.00


*****Now compatible with Joomla 1.6******* A module extension for the the Joomla 1.5 + 1.6 CMS. It displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£10.00



 
 

fitness