Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to make the browser not to wait if the counter is in a table?

browser counter Table wait
0
Posted

How to make the browser not to wait if the counter is in a table?

0

You probably noticed if the counter is in a table, the browser does not display the page until it finished getting the counter digits. This is annoying if you’re on a slow link. You can use the image compositing feature of the counter to avoid this problem. First create a strip of image with the same color of your page. Decide on the width and height of the strip, it will depend on the type of the digit styles. For example size of an individual digit in digit style is A is 15×20. So it’s safe to create a base image say base.gif of size 150×22. Copy the image base.gif to digit style A directory. Now composite the counter on the image, and specify width and height of the image.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123