You mention being able to set the dimensions at 100% but I only see where you can determine the height in pixels? Or does that need to be added to the js code provided above as well?
You mention being able to set the dimensions at 100% but I only see where you can determine the height in pixels? Or does that need to be added to the js code provided above as well?
Got it. Thanks. I was trying to add the images directly through the carousel component (image or html dropdown). Makes sense now.
Is there a way to do this with css or js. Because I'm using the carousel URL to get the image. So, I need the image from the carousel to automatically resize for each device.
Hi David.
You can set width style for every element you need with following code:
pre
jQuery("someselectorToYourImg").css("width", "100%");
/pre
Also: your question is not clear for us. Please clarify it with screen shots and details.
Regards.