Image Opacity

More
10 years 5 months ago #23529 by hhammer
Image Opacity was created by hhammer
Hi,

is it possible to give the left and the right image in carousel an opacity from 0.5 and the center image an opacity from 1? So that looks like a focus on center image.

best regards

hhammer

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #23531 by ced1870
Replied by ced1870 on topic Image Opacity
Hi
you can change the opacity by editing the JS file in the module
for now the option is not in the module admin
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #23532 by hhammer
Replied by hhammer on topic Image Opacity
Hi Ced,

thank you for your fast answer. I have changed the opacity in carouselck.js
Line 138 and 146.
Now wenn the carousel first load all 3 images has opacity 1. When i use the carousel left and right image has opacity 0.5.
Is it possible to set the opacity left and right image to 0.5 when the carousel load first?

See example here:

s521815900.online.de/joomla/JoomlaNeu/in...h/cnc-techniken.html

Thank you and best regards

hhammer

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #23533 by ced1870
Replied by ced1870 on topic Image Opacity
Right ! I have never seen before that the first time the images have all opacity 1
it is the same on my demo :)

try to change
Code:
$(newImg).css({ 'position': 'absolute', 'height': tmpImgh[i], 'width': tmpImgw[i], 'left': tmpImgleft[i], 'top': tmpImgtop[i], 'z-index': tmpImgzindex[i], 'opacity': imgopacity });
with
Code:
$(newImg).css({ 'position': 'absolute', 'height': tmpImgh[i], 'width': tmpImgw[i], 'left': tmpImgleft[i], 'top': tmpImgtop[i], 'z-index': tmpImgzindex[i], 'opacity': tmpImgopacity[i] });

Joomlack Webmaster and Developer
The following user(s) said Thank You: hhammer

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #23536 by hhammer
Replied by hhammer on topic Image Opacity
Hi Ced,

it works fine.

Thank you very much.

Best regards

hhammer

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #23624 by kao
Replied by kao on topic Image Opacity
Hi,

I have a problem with this module, i want image opacity change to image blur, how can i do?

Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.211 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 807 guests and no members online