Hi bbobb!
Thanks for the prompt reply but as I said in my original post I've manage to do the stored procedure no problem.
My issue is with the div box scroll behaviour. Everytime you make a post the scroll bar defaults to the top. Obviously the new messages are now at the bottom :wink: so you don't see them.
I need a way for the scroll bar to be positioned at the bottom after a post.
I've seen many solutions on the net that supposedly not only handle Ajax but also Repeater objects that the Shoutbox use, such as setting the div elements scrollTop property to 0, but none seem to work!
What am I missing about the shoutbox that could be stopping this?
I've have noticed that onload it runs a JS scroll behavior method which I thought might be overriding it but I've remmed that out and it made no difference.
I've had at least 15 people on my board ask for this change as they use it like a chatroom and its scroll the opposite way to how they (and I) expect. :cheesy:
Thanks