there's a default place for typing in javascript, which is a file that's placed on a server.
limited success with this. my server is now returning something other than what i asked for - which basically amounts to exactly nothing - and won't tell me why.
<html><body>
<a href="javascript:dtt()"><div id="ttd" style="position:fixed;left:20%;top:80%;height:100px;width:100px;background-color:lightpink"></div></a>
<script type="text/javascript">
function dtt() {
var ttdwidthandheight = document.getElementByID("ttd").style.width
document.getElementByID("ttd").style.width = ttdwidthandheight*1.25 + "px"
document.getElementByID("ttd").style.height = ttdwidthandheight*1.25 + "px"
}</script>
</body></html>
if this is correct, and this is all that's in a file on the server, when someone asks the server for that file, with a browser, their browser should display a soft pink blob in the lower left of the window, and that blob should get bigger when it's clicked.
No comments:
Post a Comment