Forums / Addon Sideboxes / jScroller Sidebox Package Support Thread

jScroller Sidebox Package Support Thread

Started by clydejones on 21 Jan 2009, 3:30 AM · Views: 46,845

Results 1 to 20 of 167
21 Jan 2009, 3:30 AM
#1
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

jScroller Sidebox Package Support Thread

jScroller Sidebox Package is now available in the downloads section

This contribution uses jScroller2 by Markus Bordihn (markusbordihn.de) to achieve the scrolling effect.
jScroller2 is W3C compatible (no more validation errors) because it does't use the "marquee" tag.

PACKAGE CONTAINS:
bestsellers sidebox (with images)
featured products sidebox
special products sidebox
What's New sidebox

You can use all the boxes or only the one(s) you wish.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Jan 2009, 9:07 AM
#2
evan70 avatar

evan70

New Zenner

Join Date:
Aug 2008
Posts:
13
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Realy nice job Clyde ;) many ThnkZ
evan

21 Jan 2009, 5:35 PM
#3
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Noticed that the font size on the header of the box is different from the default in my template (see the picture). Where do I change that?

21 Jan 2009, 6:48 PM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

dimmyr:

Noticed that the font size on the header of the box is different from the default in my template (see the picture). Where do I change that?

open includes/templates/YOUR_TEMPLATE/css/stylesheet.css

find the following declaration:

h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1.1em;
color: #FFFF00;
}

make sure the highlighted portion (font-size) is the same as the declaration for: h3.leftBoxHeading, h3.leftBoxHeading a

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 Jan 2009, 3:57 AM
#5
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

That was it, thank you. I am not sure why the original css had a different format for sideboxes on the righ side. Kinda asymmetric.

22 Jan 2009, 5:44 AM
#6
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Ok, this one is gonna be more intelligent:

Here is what I am experiencing - in FF the sidebox is collapsed and nothing is showing, in IE6 the sidebox is collapsed, but the new products scroll vertically across the whole screen... Huh?

22 Jan 2009, 7:05 AM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

dimmyr:

Ok, this one is gonna be more intelligent:

Here is what I am experiencing - in FF the sidebox is collapsed and nothing is showing, in IE6 the sidebox is collapsed, but the new products scroll vertically across the whole screen... Huh?

url for your site?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Feb 2009, 3:04 AM
#8
dellonious avatar

dellonious

New Zenner

Join Date:
Jan 2009
Posts:
16
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Did I miss something? Scroller does not pause on mouse over and does not pause between items. Is it supposed to do these things or is that something that was not setup in the mod. If it can be done please point me to the file(s) I need to edit and what to edit.

Otherwise a fantastic mod as it is the only scroller that works properly with my sites template .

Thanks for the respone in advance. Site is on local teat server only so I cannot post the URL, sorry.

Dave

21 Feb 2009, 3:46 AM
#9
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

Dellonious:

Did I miss something? Scroller does not pause on mouse over and does not pause between items. Is it supposed to do these things or is that something that was not setup in the mod. If it can be done please point me to the file(s) I need to edit and what to edit.

Otherwise a fantastic mod as it is the only scroller that works properly with my sites template .

Thanks for the respone in advance. Site is on local teat server only so I cannot post the URL, sorry.

Dave

open which ever sidebox you are using:
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_best_sellers.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_featured.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_specials.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_whats_new.php

find the following line of code:

$content .= '<div class="scroller_container"><div class="jscroller2_up jscroller2_speed-20">' . $sp .'</div></div>';

and replace it with the following:

$content .= '<div class="scroller_container"><div class="jscroller2_up jscroller2_speed-20 jscroller2_ignoreleave jscroller2_mousemove jscroller2_dynamic">' . $fp .'</div></div>';

The box will scroll until you mouseover it

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Feb 2009, 1:49 PM
#10
dellonious avatar

dellonious

New Zenner

Join Date:
Jan 2009
Posts:
16
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Thanks for the fast response to my query. I pasted the line of code as described and the sidebox went blank. I checked the code and noticed that the original had a $sp before the closing DIV tags while the new one had a $fp, i took a shot and changed the $fp to $sp and it works as it is supposed to work now.

I am by no means a coder and PHP is a new code to me but having coded HTML and like for a long time I took a chance and seem to have found a fix to the minor error.

Once again great mod and even better now that it pauses on mouseover. THANKS!

Dave

21 Feb 2009, 3:45 PM
#11
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

Dellonious:

Thanks for the fast response to my query. I pasted the line of code as described and the sidebox went blank. I checked the code and noticed that the original had a $sp before the closing DIV tags while the new one had a $fp, i took a shot and changed the $fp to $sp and it works as it is supposed to work now.

I am by no means a coder and PHP is a new code to me but having coded HTML and like for a long time I took a chance and seem to have found a fix to the minor error.

Once again great mod and even better now that it pauses on mouseover. THANKS!

Dave

You were working on the specials sidebox. $sp is the variable for the sidebox content.

each of the sideboxes would have its own variable.

I'll add the mouseover to the next updated version.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Feb 2009, 6:30 PM
#12
dellonious avatar

dellonious

New Zenner

Join Date:
Jan 2009
Posts:
16
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Excellent!! Thanks for the feedback. I kinda figured it wasn't a mistake on your part as I have previously stated I am no coder and rarely that lucky!

Thanks again!

Dave

27 Feb 2009, 4:32 AM
#13
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

it is a good package. I installed it, but just bestseller scroll, and the new products, featured products, special product sidebox can't scroll.

Could someone help me?

27 Feb 2009, 4:37 AM
#14
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

samhuang:

it is a good package. I installed it, but just bestseller scroll, and the new products, featured products, special product sidebox can't scroll.

Could someone help me?

URL for your site

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Feb 2009, 5:01 AM
#15
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

27 Feb 2009, 5:21 AM
#16
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

samhuang:

it is a good package. I installed it, but just bestseller scroll, and the new products, featured products, special product sidebox can't scroll.

Could someone help me?

You don't appear to be using the sidebox files that were included with the package.

Your sideboxes appear to be made up of tables and the only one that contains the code to effect the scrolling is the bestsellers sidebox. (<div class="scroller_container"><div class="jscroller2_up jscroller2_speed-20"> </div></div>)

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Apr 2009, 7:18 AM
#17
phoeuth avatar

phoeuth

New Zenner

Join Date:
Dec 2008
Posts:
28
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Thanks for the great mod. I was wondering if there is a way to change the speed of the scrolling effect. Thanks in Advance.

8 Apr 2009, 3:53 PM
#18
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

phoeuth:

Thanks for the great mod. I was wondering if there is a way to change the speed of the scrolling effect. Thanks in Advance.

Open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_WHATEVER.php

Find the following section of code and change the highlighted portion.

<div class="scroller_container"><div class="jscroller2_up jscroller2_speed-20 jscroller2_mousemove">

Save the file and upload to your server

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2009, 9:53 AM
#19
dellonious avatar

dellonious

New Zenner

Join Date:
Jan 2009
Posts:
16
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Well all was working and now it is not. I was using the specials scroller then disabled the special sidebox about a month ago. I wanted to use the What's New scroller so I made the changes to the file as suggested before that worked and it will not scroll at all.
I even re-uploaded the entire package, re-made the changes and still nothing.

Site URL is https://www.kennebecgiftsnmore.com

Thanks for the help!

10 Apr 2009, 3:20 PM
#20
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: jScroller Sidebox Package Support Thread

Dellonious:

Well all was working and now it is not. I was using the specials scroller then disabled the special sidebox about a month ago. I wanted to use the What's New scroller so I made the changes to the file as suggested before that worked and it will not scroll at all.
I even re-uploaded the entire package, re-made the changes and still nothing.

Site URL is https://www.kennebecgiftsnmore.com

Thanks for the help!

A check of the page source indicates that you're missing the actual call to the scroller in that sidebox

<h3 class="leftBoxHeading" id="whatsnewHeading"><a href="http://kennebecgiftsnmore.com/index.php?main_page=products_new">New Products</a></h3>
<div class="sideBoxContent centeredContent">

it should look like this:

<h3 class="leftBoxHeading" id="whatsnewHeading"><a href="http://kennebecgiftsnmore.com/index.php?main_page=products_new">New Products</a></h3>
<div class="sideBoxContent centeredContent"><div class="scroller_container"><div class="jscroller2_up jscroller2_speed-20 jscroller2_mousemove">

Make sure you've renamed the YOUR_TEMPLATE folders to match the name of your custom template.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.