Timecircles doesn't work in bs4


Topic: Timecircles doesn't work in bs4

Chris Sweeney pro premium asked 6 years ago

Hi

I'm upgrading some charity sites I run and the 'timecircles' countdown timer doesn't work.

Working bootstrap 3: https://www.rotary-ribi.org/districts/homepageOLD.php?DistrictNo=1160#main

Not showing, bs 4 +mdb: https://www.rotary-ribi.org/districts/homepage.php?DistrictNo=1160#main

Any suggestions?

Thanks

Chris


Piotr Glejzer staff commented 6 years ago

Hi,

you don't have a 'timecircles'  plugin in your latest site.  

Best,

Piotr


Piotr Glejzer staff answered 6 years ago

Hi,

I took CSS and JavaScript code about that plugin from your site and everything is working well.

The reason is not working is probably fact that you are using timecirlces.js before loaded jQuery script. That plugin requires jQuery. 

Link to working TimeCirlces 

Best,

Piotr


Chris Sweeney pro premium answered 6 years ago

Hi Piotr

My apologies - I sent the wrong link!

https://www.rotary-ribi.org/districts/homepageT.php?DistrictNo=1160

Thanks

Chris


Piotr Glejzer staff commented 6 years ago

I'm not sure why it is not working. Did you try move script taq with timecircles below mdb.min.js script tag?

Best,

Piotr


Chris Sweeney pro premium commented 6 years ago

Hi Piotr

Yes, tried it in a variety of places!

Cheers

Chris


Chris Sweeney pro premium answered 6 years ago

Thanks Piotr

I moved it below and everything works fine now.

Thanks again

Chris


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.14
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: Yes
Tags