Jump to content



Latest News: (loading..)

- - - - -

jQuery Banner Rotator


  • Please log in to reply
154 replies to this topic

#121   mrossi

mrossi
  • Members
  • 72 posts
  • Real Name:Matthew

Posted 04 July 2011 - 07:06 PM

thanks kymation for responding!

I spent all day trying to make this thing center with no avail.

My site is using 100% of the screen and the banner aligns to the left by default.  I have modified the CSS, banner_rotator.php, and a few other things I cant remember.

For some reason everytime I get the thing to center then the banner only shows the right corner.

Im lost, I cant be the first person to want this thing centered but I get lost in CSS.

-matt

#122 ONLINE   kymation

kymation

    Believers

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

Posted 04 July 2011 - 07:12 PM

Sorry, that's all of the tricks I know of.

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

#123   mrossi

mrossi
  • Members
  • 72 posts
  • Real Name:Matthew

Posted 08 July 2011 - 12:17 AM

After 4 days of work got the banner to center on my 100% width site.  For anyone needing this same thing do the following

on index.php go to the <TD> that contains the rotator module execution and add align="center"
then go to
includes/modules/banner_rotator.php and find <div id="bannerRotator"> and add align="left"

All is well and this module rocks!

PS: anyone know how to shrink the size of the navigation bar height? I noticed beacon9.ca navigation is much smaller and looks a bit better.

Edited by mrossi, 08 July 2011 - 12:18 AM.


#124 ONLINE   kymation

kymation

    Believers

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

Posted 08 July 2011 - 12:34 AM

The navigation bar is a set of images. Look in the images/icons/ folder for the images used. You can resize those, modify them, or create your own. If you change the dimensions, don't forget to change the dimensions in the stylesheet.css if appropriate.

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

#125   mrossi

mrossi
  • Members
  • 72 posts
  • Real Name:Matthew

Posted 21 July 2011 - 09:27 PM

anyone know why I cant get more than 3 banners to rotate?  when I added the 4th it ignores it.

Thanks!

#126   Toastgnom

Toastgnom
  • Members
  • 1 posts
  • Real Name:Julian

Posted 27 July 2011 - 01:51 PM

Thanks for this great contribution :)

I'm using it and it works fine except for the navigation buttons. The don't show up. Neither the images nor the buttons. I've imported the images into /images/icons/ and imported the code into the stylesheet.css. But it doesn't work. Does anyone have an idea, what the problem might be?

As said before, everthing else works just fine.

---
Sorry for my english. English isn't my native language :)


View Postmrossi, on 21 July 2011 - 09:27 PM, said:

anyone know why I cant get more than 3 banners to rotate?  when I added the 4th it ignores it.

Thanks!

Did you change "Banner Rotator Max Banners" in the admin-panel? You should find it under something like "configuration/Banner Rotator" - Can't tell the exact location, because my osCommerce is a german version.

Edited by Toastgnom, 27 July 2011 - 01:55 PM.


#127 ONLINE   kymation

kymation

    Believers

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

Posted 27 July 2011 - 04:16 PM

Could be several things. Look at the page in your browser's View Source. Are the paths to the images correct? If you have osCommerce installed in a subdirectory, you may need to add the subdirectory name to the image string in the stylesheet.

While you're in View Source, check the links in the head section to all of the Javascript and stylesheet pages. Are all of the links added in the instructions showing up?

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

#128   cramli

cramli
  • Members
  • 71 posts
  • Real Name:marc
  • Gender:Male
  • Location:Sao Paulo / Brazil

Posted 21 July 2012 - 04:16 PM

Hello
My problem is after installing the Banner Rotator that my admin sector change the size (much bigger). Why this?
Thank you for helping

#129   cramli

cramli
  • Members
  • 71 posts
  • Real Name:marc
  • Gender:Male
  • Location:Sao Paulo / Brazil

Posted 21 July 2012 - 04:33 PM

Because I forgot: here again my questions:


Hello
My problem is after installing the Banner Rotator that my admin sector change the size (much bigger) and also move the columne. Can somebody help me?
And also I like to know if I have to uninstall the frontpage modul after installing the Banner rotator? Becaus nothing is working.
I am using OSC 2.3.1

Thank you for helping

#130 ONLINE   kymation

kymation

    Believers

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

Posted 21 July 2012 - 05:33 PM

The changes to your Admin are probably caused by deleting files that you shouldn't have, particularly the files in catalog/ext/jquery/. Don't do that.

This banner rotator is designed for osCommerce 2.2x. Using it on 2.3.1 is not recommended, and will require a number of code changes to work properly. I recommend that you use the Modular Front Page addon instead, as it has a Banner Rotator module with all of the correct changes.

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

#131   cramli

cramli
  • Members
  • 71 posts
  • Real Name:marc
  • Gender:Male
  • Location:Sao Paulo / Brazil

Posted 21 July 2012 - 06:52 PM

Thank you Jim. One question: What I am doing wrong that my Banner rotator from Frontpage is not working and how can I place the Banner picture in the top of the main page?

Thank you in advance for your help

#132   cramli

cramli
  • Members
  • 71 posts
  • Real Name:marc
  • Gender:Male
  • Location:Sao Paulo / Brazil

Posted 21 July 2012 - 06:55 PM

And how I can make this banner in front page rotating?

Best regards

Cramli

#133 ONLINE   kymation

kymation

    Believers

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

Posted 21 July 2012 - 07:02 PM

I don't know what you are doing wrong. I can't read minds. I suggest you read the instructions and check everything you have done.

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

#134   cramli

cramli
  • Members
  • 71 posts
  • Real Name:marc
  • Gender:Male
  • Location:Sao Paulo / Brazil

Posted 21 July 2012 - 07:03 PM

Hello
It's again me.

What I am triying to do is a banner like on this page: http://www.ascafo.com/shop

Any comment how I can do that?

Thank you for the help

Cramli

#135 ONLINE   kymation

kymation

    Believers

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

Posted 21 July 2012 - 07:25 PM

That site is using the Banner Rotator module in Modular Front Page. You can do the same -- just read the instructions.

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

#136   cramli

cramli
  • Members
  • 71 posts
  • Real Name:marc
  • Gender:Male
  • Location:Sao Paulo / Brazil

Posted 21 July 2012 - 07:36 PM

Thank you.
I was reading all about the modular front page modul, but I don't know where I make the mistake.
Can you help me and explain how to bring up this rotator? Maybe I have to put a rotater group in the admin sector?

Best regards
Cramli

#137 ONLINE   kymation

kymation

    Believers

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

Posted 21 July 2012 - 07:41 PM

I've answered your question. You are not going to get a different answer if you keep asking. I'm going to ignore any more questions, so don't even try.
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

#138   cramli

cramli
  • Members
  • 71 posts
  • Real Name:marc
  • Gender:Male
  • Location:Sao Paulo / Brazil

Posted 21 July 2012 - 08:04 PM

Thank you for the great help!! Without this my osc wouldn't be so NICE!!
Hopefully other people will not have the same problems, because the help from JIM is one of the best here.

Great and thank you

#139   alliemarie

alliemarie
  • Members
  • 1 posts
  • Real Name:Allie

Posted 25 July 2012 - 07:19 AM

Hi Jim,

Is there a way to remove the padding/space that appears to the left of the images? I cannot locate what is causing it. Thanks in advance!

Allison

#140 ONLINE   kymation

kymation

    Believers

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

Posted 25 July 2012 - 06:16 PM

There's no left padding that I'm aware of. The CSS positioning is to the top left corner of the bounding box. Either you have it inside something else that has left padding or you have some other CSS that's overriding the Banner Rotator CSS. Use Firebug or the built-in debugger in Firefox or Chrome to see what the controlling CSS is for that element.

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