I'm far from good at jQuery, to start with. I have read these two questions that deal with the subject:
- With jQuery, how can I implement a "page loading" animation?
- How can I create a "Please Wait, Loading…" animation using jQuery?
But I wonder how I can manage to show a "Loading text/image" when I press a link which is internal on my site? I have a link running a curl fetching function in PHP which take a while to be run.
The above example (links) deals with the subject if you have a Ajax function to it. Not just a link, which I wan't.
How am I able to accomplish this?