Do you mean the loading gif keeps running even after the "blank" page is loaded, or just for a brief second? There is no way to individually turn off the "loading" image when fetching select Ajax content- it's all or nothing.
Do you mean the loading gif keeps running even after the "blank" page is loaded, or just for a brief second? There is no way to individually turn off the "loading" image when fetching select Ajax content- it's all or nothing.
when click the [x] button, the tab content area can close, but the loading gif and the loading message re-apprears, it won't stop until click a tab.
Hmm make sure "blank.htm" actually exists, so you're not loading a non existent blank page. Another way to create a close button is actually just to empty out the contents of the content DIV, something like:
You'll need to change whatever to the ID of the content DIV:Code:<p><a href="javascript:document.getElementById('whatever').innerHTML=''">Close</a></p>
Code:<div id="countrydivcontainer" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px"> //Optional default content here. </div>
thanks mate! any advice to get rid of the loading gif, when the tab content area is closed?
Bookmarks