# Problem with Javascript on a module!

**URL:** <https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835>\
**Category:** CMS Development\
**Created:** [November 8, 2017, 4:04pm UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835 "2017-11-08T16:04:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![simona\_pop](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simona_pop/32/31639_2.png) [@simona\_pop](https://community.hubspot.com/u/simona_pop)\
**Post date:** [November 8, 2017, 4:04pm UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/1 "2017-11-08T16:04:06Z")

</div>

Guys, I have an issue with a carousel module, biting into logos as it moves. HS support reckon it’s an issue with how the JavaScript file is loading.

Let me know if you can see this gif.

[https://hubspot-zorse-prod.s3.amazonaws.com/email\_activity/41b82e42-0f5f-48aa-9d26-948f3bc803dc/Image%20cut%20off.gif?AWSAccessKeyId=AKIAJVXOE7T2RH6WGS5A&Expires=1825688622&Signature=Eo1AsLEexg05SuwYj8gf1uUJhiQ%3D](https://hubspot-zorse-prod.s3.amazonaws.com/email_activity/41b82e42-0f5f-48aa-9d26-948f3bc803dc/Image%20cut%20off.gif?AWSAccessKeyId=AKIAJVXOE7T2RH6WGS5A&Expires=1825688622&Signature=Eo1AsLEexg05SuwYj8gf1uUJhiQ%3D)

---

<div class="post-metadata">

**Author:** ![TRooInbound](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/trooinbound/32/89545_2.png) [@TRooInbound](https://community.hubspot.com/u/TRooInbound)\
**Post date:** [November 8, 2017, 6:25pm UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/2 "2017-11-08T18:25:26Z")

</div>

Hi [@simona\_pop](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17952),

I think there is some issue with slide section height.

All slide has different size of the content.

share a page URL we can solve this issue?

Thanks,

Team TRooinbound

---

<div class="post-metadata">

**Author:** ![simona\_pop](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simona_pop/32/31639_2.png) [@simona\_pop](https://community.hubspot.com/u/simona_pop)\
**Post date:** [November 9, 2017, 10:58am UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/3 "2017-11-09T10:58:15Z")

</div>

[https://www.instasupply.com/](https://www.instasupply.com/)

---

<div class="post-metadata">

**Author:** ![TRooInbound](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/trooinbound/32/89545_2.png) [@TRooInbound](https://community.hubspot.com/u/TRooInbound)\
**Post date:** [November 9, 2017, 4:46pm UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/4 "2017-11-09T16:46:14Z")

</div>

Hi, [@simona\_pop](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17952)

there is may be issue with the height you provided in slidesjs plugin. you may be need to increase that height to resolve that issue.

 ![issue.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/9/890b588c05ab145c8975cf01aaf69dbeeb98f016.png)

So please increase the height as highlighted in attached screenshot in plugin code and try to replicate the issue.

Team TRooInbound!

---

<div class="post-metadata">

**Author:** ![TRooInbound](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/trooinbound/32/89545_2.png) [@TRooInbound](https://community.hubspot.com/u/TRooInbound)\
**Post date:** [November 13, 2017, 8:02am UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/5 "2017-11-13T08:02:30Z")

</div>

Hi [@simona\_pop](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17952)

let me know if our given solution is not working?

---

<div class="post-metadata">

**Author:** ![simona\_pop](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simona_pop/32/31639_2.png) [@simona\_pop](https://community.hubspot.com/u/simona_pop)\
**Post date:** [November 14, 2017, 3:32pm UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/6 "2017-11-14T15:32:09Z")

</div>

where do I alter this code? Style sheet?

---

<div class="post-metadata">

**Author:** ![simona\_pop](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simona_pop/32/31639_2.png) [@simona\_pop](https://community.hubspot.com/u/simona_pop)\
**Post date:** [November 14, 2017, 3:37pm UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/7 "2017-11-14T15:37:45Z")

</div>

Found it! done! thank you so much!

---

<div class="post-metadata">

**Author:** ![subin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/subin/32/29904_2.png) [@subin](https://community.hubspot.com/u/subin)\
**Post date:** [November 13, 2017, 8:54am UTC](https://community.hubspot.com/t/problem-with-javascript-on-a-module/3835/8 "2017-11-13T08:54:59Z")

</div>

[@simona\_pop](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17952)

Its not a JS issue its only a height problem, please add the height accrdingly or please check if JS have any place to add height then it will work properly

Thanks
