hello
clik link
http://awfuldarkforest.tripod.com/menutest.zip
html file surce
menutest.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script language="JavaScript">
<!--
// This will resize the window when it is opened or
// refresh/reload is clicked to a width and height of 500 x 500
// with is placed first, height is placed second
window.resizeTo(200,500)
-->
</script>
</head>
<head>
<title>Menu</title>
<SCRIPT LANGUAGE="JavaScript">
function ClipBoard()
{
holdtext.innerText = oPara.innerText;
Copied = holdtext.createTextRange();
Copied.execCommand("Copy");
}
</SCRIPT>
</head>
<body bgcolor="#CCCCCC" scroll=no style="overflow:hidden">
<TEXTAREA ID="holdtext" STYLE="display:none;">
</TEXTAREA>
<BUTTON onClick="ClipBoard();">Copy to Clipboard</BUTTON>
<P ID=oPara>Color</P>
<BUTTON onclick="oPara.innerText='red'">Red</BUTTON><br>
<BUTTON onclick="oPara.innerText='green'">Green</BUTTON><br>
<BUTTON onclick="oPara.innerText='blue'">Blue</BUTTON><br>
</body>
</html>
dbpro code
Rem Project: javascript test
Rem Created: 5/16/2004 9:35:24 AM
rem awfuldarkforest.tripod.com
Rem ***** Main Source File *****
sync on : sync rate 50 : hide mouse
backdrop on
set text font "Verdana"
set text size 20
execute file "menutest.html","",""
do
talk$= get clipboard$()
if talk$="red" then color backdrop rgb(250,0,0)
if talk$="green" then color backdrop rgb(0,250,0)
if talk$="blue" then color backdrop rgb(0,0,250)
ink rgb(255,255,255),0
text 50,50,talk$
sync
loop
hello