Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
225 views
in Q2A Core by

I'm working on creating a theme for my Q2A and so far it's going well.

I've noticed some weird HTML code at the bottom of my Q2A page though, it is:

 

<DIV STYLE="position:absolute; left:-9999px; top:-9999px;">
<SPAN ID="qa-waiting-template" CLASS="qa-waiting">...</SPAN>
</DIV>
 

What is this for? It seems to serve no purpose at all? Does it have a purpose?

 

1 Answer

+4 votes
by
selected by
 
Best answer

It contains the spinning waiting indicator which is then copied elsewhere on the page when it's needed.

See qa_show_waiting_after(...) in qa-page.js

by
Ah, gotcha! Makes sense. Thanks.
...