i'm trying to load an page into my site using
href="javascript:ajaxpage('page.html', 'containerdiv');
while the external page is loading is it possible to show some loading animation in tht div
Please help me!!!
i'm trying to load an page into my site using
href="javascript:ajaxpage('page.html', 'containerdiv');
while the external page is loading is it possible to show some loading animation in tht div
Please help me!!!
try something like this:
<image id="loading_animation" src="animation.gif" style="display:none"/>
onclick="document.getElementById('loading_animation').style.display='block';"
thank you for replying
but this is not working properly it changes the visibility of a div on click .. after loading it dosnt disappear
what i need was to show the loading animation inside the div in which we are loading the external page. just till the time the page loads
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.