[squeak-dev] [Q] How to force Web Browser to refresh Squeak world
Edgar J. De Cleene
edgardec2001 at yahoo.com.ar
Fri Feb 5 13:59:56 UTC 2010
Hi:
I using this as html response
<HTML>
<HEAD>
<TITLE>Squeak's Screen</TITLE>
</HEAD>
<BODY>
<form>
Button:
<br>
<input type="radio" name="button" value="4" checked>Red
<input type="radio" name="button" value="1">Yellow
<input type="radio" name="button" value="2">Blue
<input type="radio" name="button" value="3">Move
<input type="radio" name="button" value="6">Position
<input type="radio" name="button" value="5">Text:
<input size="30" maxlength="100" type="text" name="textIn" value="Input
this Text">
<br>
<input type=image name=point src= /screen
<view-source:http://localhost:8088/screen> ">
</form>
</BODY>
</HTML>
Works, but not refresh Web Browser.
If I add
<meta http-equiv="Refresh" content="5" >
Works , but the flicker is bad
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="EXPIRES" CONTENT="1 Jan 1900 00:00:00 GMT">
Don¹t seems work.
If I try:
<script type="text/javascript"><!--
function abc(){
alert("Hello.");
}
if(document.getElementsByTagName) onload = function(){
document.getElementsByTagName("BODY")[0].onclick = abc;
}
//--></script>
The alert works, but Squeak do not process the event.
Any advice how to do this ?
Edgar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100205/dbb3f171/attachment.htm
More information about the Squeak-dev
mailing list
|