Spinners are cool

January 12, 2013

🕰 Feeling nostalgic? This is a post from 2013, which means I was still a student during this time. Most of my posts from this timeframe are related to school or the fiction I was writing. These might not mean much to you.

I was reviewing what I needed to know for my exam of webdesign, and I found the jQuery .animate() function, which is quite nice. I quickly started googling for nice ideas for my own site when I thought about spinners. I had planned to put a spinner on the site but hadn’t gotten to that yet. I could use Javascript for that, but it would have to run before the DOM has been loaded so that kind of breaks the site. I then stumbled upon an interesting article. I used the code in the article (shameless copy and paste) and voila. A spinner on this site. I also reviewed the code required to load these articles, adjusted it (so the spinner goes away when the first article loads) and now the damn thing is completely functional. I still don’t know what the hell to do with animate on this site, seeing as I don’t find it very necessary to use it. I might experiment with fade-in effects on these pages, who knows.

Tagged as: Programming