Friday 25 August 06
Getting on better now! I’ve got the presence icon in the forums displaying as a live feed – and updates dynamically when I change my presence state in the MSG client, all I’ve got to sort out now is ensure that the link is active/inactive when the user switches between online and offline states. One thing I’ve noticed is that although I can get the image to update dynamically, I can read the alt text, but I’m unable to edit it dynamically (in FireFox anyway) – I need this done for accessibility, if the alt text starts off as ‘free for chat’ (with corresponding image), then the user switches to away, I need the alt text to switch to ‘away’ too. It’d be a shame if the alt text was read only and can’t be altered dynamically, as it may mean I have to replace the whole <img> tag, rather than just the src and alt attributes.
I’ve also got the number of users online display to update dynamically. With both of these dynamic changes I’ve put config option in the block settings so the time between checking for changes can be altered.










