-
AuthorPosts
-
reders Friend
reders
- Join date:
- December 2007
- Posts:
- 127
- Downloads:
- 3
- Uploads:
- 13
- Thanks:
- 9
- Thanked:
- 4 times in 1 posts
January 4, 2009 at 8:27 pm #136714Please help,
I have made Virtuemart my homepage on this template so that the categories for VM are on the home page.When you click into a category, JA VM Product Slider is still working OK, BUT when you click a specific product JA VM Product Slider does not work, is there a way to make this work??
You can view my site at http://www.webdesignerblackburn.com/WebProofs/safetywarehousedirect.co.uk/
Kindest Regards,
Sean R.Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 7, 2009 at 10:17 am #285080hi,
I checked your website and saw an error:
$(this.options.wrapper).setStyle is not a functionPlease send me your admin account via PM so that i want to check your configuration.
wooohanetworks Friendwooohanetworks
- Join date:
- September 2008
- Posts:
- 1239
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 148
- Thanked:
- 138 times in 41 posts
January 7, 2009 at 2:53 pm #285175Don’t forget to place your site when it is ready into the Joomlart.com Member Showcase. This is actually the first site I see that I really like when it comes to simply utilizing the Larix Template just with some custom color and a perfectly fitting header…without the heavy customization work that also can be done….Well done!;)
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 8, 2009 at 7:15 am #285332hi reders,
For this case, please see my guide:
+ Open mod_ja_vmproductslide.php file in modules folder, find following script:
<script type="text/javascript">
var options={
w: <?php echo $xwidth; ?>,
h: <?php echo $xheight; ?>,
num_elem: <?php echo $numElem; ?>,
mode: '<?php echo $mode; ?>', //horizontal or virtical
direction: '<?php echo $direction; ?>', //horizontal: left or right; virtical: up or down
total: <?php echo $total; ?>,
url: '',
wrapper: 'ja-slider-center',
duration: <?php echo $animationtime; ?>,
interval: <?php echo $delaytime; ?>,
running: false,
auto: <?php echo $auto; ?>
};var jsslider = null;
</script><script type="text/javascript">
//<!--.innerHTML, i);
}
jsslider.setPos(null);
if(jsslider.options.auto){
jsslider.nextRun();
}
}jaAddEvent(window, 'load', sliderInit);
function setDirection(direction,ret){
jsslider.options.direction = direction;
if(jsslider.options.auto){
if(ret){
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
}
jsslider.options.interval = <?php echo $delaytime; ?>;
jsslider.options.duration = <?php echo $animationtime; ?>;
}
else{
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
}
jsslider.options.interval = 800;
jsslider.options.duration = 500;
jsslider.nextRun();
}
}
else{
if(ret){
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
}
jsslider.options.auto = 1;
}
else{
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
}
jsslider.options.interval = 500;
jsslider.options.duration = 500;
jsslider.options.auto = 1;
jsslider.nextRun();
}
}
}
//]]-->
</script>and change to:
<script type="text/javascript">
var jsslider = null;
</script><script type="text/javascript">
//<!--.innerHTML, i);
}
jsslider.setPos(null);
if(jsslider.options.auto){
jsslider.nextRun();
}
}jaAddEvent(window, 'load', sliderInit);
function setDirection(direction,ret){
jsslider.options.direction = direction;
if(jsslider.options.auto){
if(ret){
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
}
jsslider.options.interval = <?php echo $delaytime; ?>;
jsslider.options.duration = <?php echo $animationtime; ?>;
}
else{
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
}
jsslider.options.interval = 800;
jsslider.options.duration = 500;
jsslider.nextRun();
}
}
else{
if(ret){
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
}
jsslider.options.auto = 1;
}
else{
if(direction == 'left'){
$('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
}else {
$('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
}
jsslider.options.interval = 500;
jsslider.options.duration = 500;
jsslider.options.auto = 1;
jsslider.nextRun();
}
}
}
//]]-->
</script>Hope it helps.
1 user says Thank You to JA Developer for this useful post
reders Friendreders
- Join date:
- December 2007
- Posts:
- 127
- Downloads:
- 3
- Uploads:
- 13
- Thanks:
- 9
- Thanked:
- 4 times in 1 posts
January 26, 2009 at 7:24 pm #288348Many Thanks mark,
I have a few Larix Templates if your interested in viewing them:-http://www.worldrugsemporium.com
http://www.suitesofashop.comMany Thanks
Reders
wooohanetworks Friendwooohanetworks
- Join date:
- September 2008
- Posts:
- 1239
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 148
- Thanked:
- 138 times in 41 posts
January 27, 2009 at 11:36 am #288442I like the one you presented inhere the most, looks perfect…:D
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by wooohanetworks 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum