Clear text before/after
Hi guys. Total HTML newbie here. I am trying to create 2 cell phones onscreen having a conversation. I've got the text the way I need it to be. But it puts ALL of the text on the screen and retypes it. I can't figure out how to start with blank screens. I would also like to clear the conversation after about a 30s delay so I can place a graphic on top of the screen area of the phones. Any help would be appreciated.
Here is the link - http://www.cssdesk.com/PqKrQ
Thanks,
Topher
Hi there,
I am just following up on some of the old unanswered questions on the site.
What you could do, is leave the text blank initially, that way when the page loads there will be no text.
Then using JavaScript you could wait a bit and then append the text to the specific div
, eg:
<div id="divID"></div>
<script>
var div = document.getElementById('divID');
div.innerHTML += 'Text to append';
</div>
Hope that this helps anyone that comes across this in the future!
Best,
Bobby