Cwidgets loading issue

Hi, is there a way you can make a widget have a loader? so that it will display the loader instead and not a blank area or a default button/link?

i used cjuibuttons and a datepicker widget as a calendar… but when my page loads the default button(html button and ordinary link) is shown first then after a few mini seconds/seconds… it will show the cjuibutton/link.

is there a way i can prevent this design issue?

thanks!:)