garysam

Background Slideshow responsive

8 posts in this topic

Hi, I have a problem. At change of the sizes of the screen the module works not correctly.

The bt_backgroundslideshow_v2.4.4 version (black edition) works correctly.

The bt_backgroundslideshow_v2.4.10 version works not correctly.

You watch the attached file.

Joomla 3.4.1

Red border is my Wrapper Element.

Excuse for my English.

Thanks.

post-188465-0-76608600-1428059434_thumb.

Share this post


Link to post
Share on other sites

Hi there.

Thanks so much for using our extension.

First, please clear cache of your joomla, browser .

Then give me your URL, i want to see the problem directly.

Thanks

Share this post


Link to post
Share on other sites

Thanks for your answer. I tried to replace in the modules\mod_bt_backgroundslideshow\tmpl\js\default.js file a code in function resizeBackground (index)--> case "auto" from version 2.2.4. And in the modules\mod_bt_backgroundslideshow\tmpl\default.php file --> row 151 removed "$key" in ">...echo $key+1</span>" - at me appeared horizontal scroll. It works for me.

Share this post


Link to post
Share on other sites

Hi

Can you tell me more detail about

I tried to replace in the modules\mod_bt_backgroundslideshow\tmpl\js\default.js file a code in function resizeBackground (index)--> case "auto" from version 2.2.4

?

I don't understand it.

Thanks

Share this post


Link to post
Share on other sites

Hi, excuse me.

File ..modules\mod_bt_backgroundslideshow\tmpl\js\default.js

function resizeBackground (index)

.......

Before------------------------------------------------------

case 'auto':

if (ssSize.width * parseInt(img.height) / parseInt(img.width) < ssSize.height) {

//$B(el).css('cssText','height:'+wHeight+'!important;width:auto');

$B(el).css({'width':'auto','height':wHeight});

hAlign = true;

//vAlign = false;

}else{

//$B(el).css('cssText','width:'+wSize+'!important;height:auto');

$B(el).css({'width':wSize,'height':'auto'});

}

After-------------------------------------------------------

case 'auto':

if (ssSize.width * parseInt(img.height) / parseInt(img.width) < ssSize.height) {

$B(el).css('cssText','height:'+wHeight+'!important;width:auto');

hAlign = true;

vAlign = false;

}else{

$B(el).css('cssText','width:'+wSize+'!important;height:auto');

}

Thanks

Share this post


Link to post
Share on other sites