Hello, I need some help to setup a div with onClick and onLoad. I am ready to pay for this. Please PM with your MSN or anything else. Thanks!
I can add something like this to your site for a small fee. PM me if your interested. <html> <head> <style type="text/css"> #test { background-color: #eee; width: 200px; height: 200px; line-height: 200px; text-align: center; } </style> <script type="text/javascript"> function loadDiv() { var div = document.getElementById("test"); div.innerHTML = "<h1>ONLOAD</h1>" } function changeDiv() { var div = document.getElementById("test"); div.innerHTML = "<h1>ONCLICK</h1>" } </script> </head> <body onload="loadDiv()"> <div id="test" onclick="changeDiv()"></div> </body> </html> Code (markup):