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 161 to 167 of 167
19 Nov 2010, 10:55 PM
#161
clydejones avatar

clydejones

Deceased

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

jScroller Sidebox Package Support Thread

rufusclc:

Thanx for prompt response - my wife loves the scroll on the front of her site
I meant a different choice of product ie some way to choose what gets displayed
did not mean direction of scroll
Rufus

No, they are random selections

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

10 Jan 2011, 1:30 AM
#162
donn avatar

donn

Zen Follower

Join Date:
Oct 2007
Posts:
241
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

clydejones:

open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_best_sellers.php

find the following section of code:

$bsl .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a><br /><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' .  zen_image(DIR_WS_IMAGES . $bestsellers_list[$i]['image'], $bestsellers_list[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) .'</a><br /></li>' . "\n";
> 
> AND replace it with the following:
> ```php
    $bsl .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a><br /><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' .  zen_image(DIR_WS_IMAGES . $bestsellers_list[$i]['image'], $bestsellers_list[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) .'</a><br /><hr /></li>' . "\n";

I like the Horizontal Line idea. It looks cool in this mod.

You can also add more <BR /> tags before and after the HR to add even more space between the products.

4 Feb 2011, 4:54 PM
#163
donn avatar

donn

Zen Follower

Join Date:
Oct 2007
Posts:
241
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Hello fellow zen carters!

I did install this mod on a 1.3.8A cart, and it works 100%.

BUT--if you try viewing the site with a cell phone browser, once you scroll down to the part with the jScroller, you cant get any further, as more images just keep scrolling up....you can't get past it... :(

So, how do i avoid this? Is there a way to turn off the jScroller if the browser type is a cell phone??

4 Feb 2011, 6:58 PM
#164
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

Donn:

Hello fellow zen carters!

I did install this mod on a 1.3.8A cart, and it works 100%.

BUT--if you try viewing the site with a cell phone browser, once you scroll down to the part with the jScroller, you cant get any further, as more images just keep scrolling up....you can't get past it... :(

So, how do i avoid this? Is there a way to turn off the jScroller if the browser type is a cell phone??

You could try adding an @media query to includes/templates/YOUR_TEMPLATE/css/stylesheet.css

@media all and (max-width: 480px) {
#navColumnOne, #navColumnTwo {
width:0 !important;
display:none;
}
}

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

21 Sep 2011, 7:27 PM
#165
vescera avatar

vescera

New Zenner

Join Date:
Sep 2010
Posts:
24
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Great mod but not working with Image Handler 3 so I remove it.
Is someone manage to make it work with IH3?

30 Oct 2011, 3:03 PM
#166
ms402 avatar

ms402

New Zenner

Join Date:
Oct 2011
Location:
Italy
Posts:
8
Plugin Contributions:
0

Re: jScroller Sidebox Package Support Thread

Hi, I installed sidebox_for_list_manufacturers_logos and I would apply jscroll to scroll through the pictures (of course excluding random). How can I do?:cry:
Thank you.
Zencart 1.3.9H

28 Jan 2012, 2:39 AM
#167
andrewnguyen avatar

andrewnguyen

New Zenner

Join Date:
Mar 2011
Location:
VIC, AU
Posts:
64
Plugin Contributions:
2

Re: jScroller Sidebox Package Support Thread

Great mod Clyde. Its perfect on my 1.3.9h.
Thanks heaps.