Jump to content



Latest News: (loading..)

- - - - -

jQuery Banner Rotator


  • Please log in to reply
154 replies to this topic

#21 ONLINE   kymation

kymation

    Believers

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

Posted 01 July 2010 - 05:31 PM

Your Javascript is not in that file. Look at the page source for that frame in your browser.

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

#22   bhbilbao

bhbilbao
  • Members
  • 291 posts
  • Real Name:BLACKHOLE
  • Gender:Male
  • Location:Spain

Posted 05 July 2010 - 09:12 PM

Thanks Jim,

great and usefull contribution!

But...

1.How to remove the play-stop button over the images??? (I want to remove the button, only images)

2.In banner manager if I insert a link url, then clicking in rotator always goes to the index page.

3.How lo align the diferent images of the rotator banner to the center??? (With diferent images of diferent sizes they are aligned to the left)

Regards.

#23 ONLINE   kymation

kymation

    Believers

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

Posted 06 July 2010 - 02:31 AM

1. Don't do that; you'll annoy your customers, and some may leave.

2. Not on my test site. Look at the URL in your browser -- is it correct? This function uses the osCommerce redirect function; have you made any changes to that? Are you using a URL rewriter?

3. The images have to float left for this to work. I recommend that you make all of them the same size. You can always add to the image width with a graphics program.

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

#24   bhbilbao

bhbilbao
  • Members
  • 291 posts
  • Real Name:BLACKHOLE
  • Gender:Male
  • Location:Spain

Posted 15 July 2010 - 03:47 AM

1. ok. is because the stop-play button sometimes stay infront of the text or the price of the banner and hide them. I will try repositing the button to one corner.
2. Yes, using URL rewrite in httaccess. I will remove the htlm links.
3. normaly using clasic 468px × 60px, but for your new contrib I use an extralarge 650px × 80px bann. I don't want to break your new contrib but i think the stop-play button is a nuisance thing. I will try to changing it more transparent.


Thanks for all.

#25 ONLINE   kymation

kymation

    Believers

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

Posted 15 July 2010 - 06:24 AM

1. Either move the controls or redesign the banners. You can also size the banner box so that the controls sit just below the banner.

2. URL rewriters cause a lot of problems. Any decent rewriter should work with the osCommerce redirect code. You should get rid of the rewriter or use one that works properly.

3. The buttons were a requirement for me. I find the lack of controls to be extremely annoying. If you really want a rotator without controls, there are plenty of scripts out there that you can use.

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

#26   Mort-lemur

Mort-lemur
  • Members
  • 1,197 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 21 July 2010 - 09:59 PM

Hi,

I have a strange problem wit this.

I have the contribution up and running great on one site

On my other site I get errors relating to line 50 of modules/banner_rotator.php
	 tep_update_banner_display_count( $banner['banners_id'] );

Quote

Fatal error: Call to undefined function tep_update_

The banner displays and changes over on the home page, but the remainder of the home page fails to load.

if I comment out the line of code the page loads ok, but then I get errors relating to page re-directs when I click the banner.

Also for some reason I have to comment out line 422 of my application top
$navigation->add_current_page();
after installing the contribution, or nothing loads.

any Ideas?

Thanks

Edited by Mort-lemur, 21 July 2010 - 10:02 PM.

Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#27 ONLINE   kymation

kymation

    Believers

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

Posted 21 July 2010 - 11:32 PM

What are the differences between the two sites? Is the one giving you trouble running an older version of osC?

The $navigation problem could be this session bug. It wouldn't hurt to fix that anyway, if you haven't already.

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

#28   Darkayer

Darkayer
  • Members
  • 13 posts
  • Real Name:Niek Rabelink
  • Gender:Male
  • Location:Zutphen / Netherlands

Posted 24 August 2010 - 08:56 AM

First of all I wanne say its an awsome script!! :D

Allthough I've got some little problems I cannot solve :(
I'm using the banner rotator on several sites and always see a difference in the banner control button (Firefox/IE) In Firefox the edges of the control button box are round shapped while in IE it's a box.

Thats not a very big issue though but well. The second thing is on one of our sites the banner isnt rotating :S

In Firefox it rotates from banner1 to banner2 and then it stops I allso cant control the banner with the little buttons.
In IE nothing happens at all!

I have installed/configured all the files the right way I'm 100% sure of that. Cause well it is working on other sites.

Anyone have any ideas?

Tnx

Edited by Darkayer, 24 August 2010 - 08:57 AM.


#29   verngren

verngren
  • Members
  • 12 posts
  • Real Name:David

Posted 08 September 2010 - 01:02 PM

Hey guys! Awesome script.

Im playing around with it, and wondering.. How can I add two banners after one another?
Ive been trying putting the include again.. that doesnt work tho!!

#30   jolilola

jolilola
  • Members
  • 26 posts
  • Real Name:florian

Posted 21 September 2010 - 04:33 PM

Hi,

i was apply your information but they are no image in my index.php.
can you help me please?

think a lot

florian

#31 ONLINE   kymation

kymation

    Believers

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

Posted 21 September 2010 - 05:46 PM

Sorry, the forum decided to stop notifying me of updates th this thread. Again.

Zutphen: It's probably another Javascript interfering with the jquery script. Try disabling other scripts on the page to check this.

David: Did you mean two rotators on one page? That should work. What happens when you try this?

florian: I can't tell without more information. Can you give me a link to the page?

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

#32   jolilola

jolilola
  • Members
  • 26 posts
  • Real Name:florian

Posted 22 September 2010 - 07:27 AM

hi,

i installed all the html but I have no banner which display on my index.
My link
when i installed your code in index they are no banner.

florian

#33 ONLINE   kymation

kymation

    Believers

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

Posted 22 September 2010 - 03:14 PM

That page is a mess. You are missing both the stylesheet and the Javascript links for the banner rotator. In addition, you have duplicate Javascript functions and Javascript in the body that should be in the head. You need to clean that up if you expect it to 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

#34   jolilola

jolilola
  • Members
  • 26 posts
  • Real Name:florian

Posted 26 September 2010 - 04:32 PM

hi,

I have just redone the complete installation on the site and my banners do not still display.
What is the problem?

Thank you

florian

#35 ONLINE   kymation

kymation

    Believers

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

Posted 26 September 2010 - 06:21 PM

There is no banner rotator anywhere on that page. You need to include the catalog/includes/modules/banner_rotator.php where you want it to appear on the page. See lines 308-312 of the catalog/index.php in the distribution for an example of how to do 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

#36   jolilola

jolilola
  • Members
  • 26 posts
  • Real Name:florian

Posted 27 September 2010 - 11:45 AM

Hi,
i installed all the file.
I installed it in my index.php:
[code]<?php
  } else { // default page
?>
    <td valign="top" height="100%"><table border="0"   cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0"  width="100%"  cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
           <!-- <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>-->
          </tr>
        </table></td>
      </tr>
      
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="0">
          
          <tr>
            <td class="main"><?php echo TEXT_MAIN; ?></td>
          </tr>
          <tr>
            <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
          </tr>
<?php // Start Banner Rotator; ?>
      <tr>
        <td><?php include( DIR_WS_MODULES . FILENAME_BANNER_ROTATOR ); ?></td>
      </tr>
<?php // End Banner Rotator; ?>[/
code]

catalog/includes/modules/banner_rotator.php  is installed to.

I don't understand but when i edit codesource of my index.php my banner not appears.

regards
florian

#37 ONLINE   kymation

kymation

    Believers

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

Posted 28 September 2010 - 03:42 AM

Then there's something interfering with the install. Do you have a template installed? If not, is there some other Addon that bypasses the normal front page?

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

#38   jolilola

jolilola
  • Members
  • 26 posts
  • Real Name:florian

Posted 03 October 2010 - 04:36 PM

hi,

yes i have installed newsdesk, featured sets, header taggs.

kind regards
florian

#39 ONLINE   kymation

kymation

    Believers

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

Posted 04 October 2010 - 02:28 AM

None of those should interfere with the normal front page. I see no reason why this should not 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

#40   kozsar

kozsar
  • Members
  • 12 posts
  • Real Name:Az igazi nevem

Posted 18 November 2010 - 10:33 PM

View Postkymation, on 04 October 2010 - 02:28 AM, said:

None of those should interfere with the normal front page. I see no reason why this should not work.

Regards
Jim

Dear JIM!

Nice contrib! Good work... but...
PLEASE! help me! I thing i'll go crazy...

The banners working good, however it always showing up at wrong place... You can check this out: http://www.topnaramky.sk/catalog
I think I must put this code at the right place in index.php, and actually I am trying to find out where it could be, but it doesn't work... I am going insane...
Here is the code what I'm talking about...
<?php // Start Banner Rotator; ?>
      <tr>
        <td><?php include( DIR_WS_MODULES . FILENAME_BANNER_ROTATOR ); ?></td>
      </tr>
<?php // End Banner Rotator; ?>

So if I want to put the banners somewhere at the top of my page, where and which file I have to modify? (sts_template.html? header.php? index.php?) I've tried everything to find out why no showing up elsewhere...
Thanks for your support!