hi everyone...
i have tried creating an auto updater that will reload a certain div just like on facebooks status/wall refresher, when a user moves the mouse it auto refreshes there wall.
so far i have the code below...but the problem is its just executing my function over and over again. ive tried mouseout/over/hover/move but they all just keep reloading the function forever
<script>
var thewallurl = "<?php echo current_url(); ?> #main-wallinfo";
function loadcomms()
{
$('#main-wallinfo').fadeOut('slow').load(thewallurl).fadeIn("slow");
};
</script>
then i call it here
<div id="main-wallinfo" onmousemove="javascript:loadcomms()">
any help is greatly appreciated
thanks