Jump to content



Latest News: (loading..)

- - - - -

jQuery Banner Rotator


  • Please log in to reply
154 replies to this topic

#141   blonde_one

blonde_one
  • Members
  • 10 posts
  • Real Name:Amanda
  • Gender:Female
  • Location:Orange County, CA

Posted 31 July 2012 - 03:35 AM

Hi Jim,   I have installed the Banner Rotator and it functions perfectly and looks beautiful on the site, thanks so much for this great contribution! I did notice however that it isn't outputting any alt text. The language id is set to 1 and there is text entered in both the banners_title and banners_html_text but neither is being output for any of the banners. Thanks in advance for your help, it is greatly appreciated!


Best Regards,

~ Mandy

#142 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,695 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 31 July 2012 - 03:48 AM

The text in banners_html_text should show up. The banner rotator uses the stock osCommerce image function for this, so if the banner images show up the text should show as well. Perhaps the Javascript rotator is interfering. I don't know what's wrong so I can't suggest a fix.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#143   blonde_one

blonde_one
  • Members
  • 10 posts
  • Real Name:Amanda
  • Gender:Female
  • Location:Orange County, CA

Posted 31 July 2012 - 05:05 AM

Hi Jim, Thanks for the quick repy! In banner_rotator.php I changed the following:

echo tep_image(DIR_WS_IMAGES . $banner['banners_image']);

to this:
echo tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_html_text']);

And now it outputs the alt and the title tags :) Is this the correct way of doing it?
Thanks again!

Best Regards,

~ Mandy

#144 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,695 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 31 July 2012 - 05:09 AM

You changed the code to the way it is in Version 1.2. Where did you get one without that code? And yes, that's the way it should be.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#145   blonde_one

blonde_one
  • Members
  • 10 posts
  • Real Name:Amanda
  • Gender:Female
  • Location:Orange County, CA

Posted 31 July 2012 - 05:24 AM

Oh, great I thought I was using the latest version, I downloaded 1.2.1 from the contributions
http://addons.oscommerce.com/info/7461

...which I now see was not posted by you, not good, I think I will download v.1.2 that you posted and compare all my code just to be sure that isn't my only issue! Thanks so much!

Best Regards,

~ Mandy

#146   khoking

khoking
  • Members
  • 216 posts
  • Real Name:KOH KHO KING
  • Gender:Male
  • Location:Malaysia

Posted 21 August 2012 - 11:43 PM

Managed to install this contribution successfully! Thank you very much for the wonderful and simple to use contribrition! I have been looking for one for SOoooo long!

One problem. On my computer / PC and Mac, no problem for the banner to display properly.

http://shashinki.com/shop/

However, when browse using ipad, the banners are not stacked up, but displayed all out vertically. Has anyone tested on iPad?

(Tried on Android phone, no problem.)
Best regards,
Koh Kho King

#147 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,695 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 21 August 2012 - 11:53 PM

That sounds like the Javascript is not working. Many mobile browsers have a problem with this.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#148   khoking

khoking
  • Members
  • 216 posts
  • Real Name:KOH KHO KING
  • Gender:Male
  • Location:Malaysia

Posted 22 August 2012 - 04:28 PM

View Postkymation, on 21 August 2012 - 11:53 PM, said:

That sounds like the Javascript is not working. Many mobile browsers have a problem with this.

Regards
Jim

Hi Jim,

No problem on Android phone, but on iPad no good.

Any solution to that?
Best regards,
Koh Kho King

#149 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,695 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 22 August 2012 - 04:40 PM

Maybe upgrade the jQuery file to the latest version? osCommerce 2.2x is no longer supported, so I doubt this will ever be fixed. Upgrade to 2.3.3 and it should work.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#150   khoking

khoking
  • Members
  • 216 posts
  • Real Name:KOH KHO KING
  • Gender:Male
  • Location:Malaysia

Posted 23 August 2012 - 01:00 PM

View Postkymation, on 22 August 2012 - 04:40 PM, said:

Maybe upgrade the jQuery file to the latest version? osCommerce 2.2x is no longer supported, so I doubt this will ever be fixed. Upgrade to 2.3.3 and it should work.

Regards
Jim

Hi Jim,

I just noticed the same problem using IE.

Fine on FireFox, but IE no good. :wacko:

I have upgraded my jquery to the latest 1.8.0 version, still same problem.

http://shashinki.com/shop/
Best regards,
Koh Kho King

#151   khoking

khoking
  • Members
  • 216 posts
  • Real Name:KOH KHO KING
  • Gender:Male
  • Location:Malaysia

Posted 23 August 2012 - 02:34 PM

Can someone help? I can pay USD10 via PayPal for the solution. The solution can be posted for all to use.
Best regards,
Koh Kho King

#152   khoking

khoking
  • Members
  • 216 posts
  • Real Name:KOH KHO KING
  • Gender:Male
  • Location:Malaysia

Posted 25 August 2012 - 03:19 PM

I have found the problem in the CSS part.

#bannerRotator ul {
  list-style: none;
  padding: 0;
  position: relative;
}

Change to:

#bannerRotator ul {
  list-style-type: none;
  padding: 0;
  position: relative;
}
Best regards,
Koh Kho King

#153 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,695 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 25 August 2012 - 04:49 PM

That's the kind of thing I would expect from Internet Explorer's poor CSS implementation, not from a modern browser. Good catch. Thanks for posting the fix.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#154   zediks

zediks
  • Members
  • 10 posts
  • Real Name:alex

Posted 04 November 2012 - 11:57 AM

Hi,

My website is www.thevine.be
Banner rotator is working perfect. But only in Firefox and Chrome. It bugs in IE. Does anyone have an idea?


edit//  OK, I didn't read las post. sorry. I'll try the css fix

edit// no the css doesn't fix it. In IE the banner doesn't center itself

Edited by zediks, 04 November 2012 - 12:07 PM.


#155 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,695 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 05 November 2012 - 02:28 AM

The banner rotator does not center the banners. You need to make your banners the correct size to fit the rotator.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support