Style hint example

Style hint example

Here are is link with hint

Put mouse over to see Hint

Click on buttons to make changes





<html>
<head>
<link href="common_codethat.css" rel="stylesheet" type="text/css">
<script language="javascript1.2" src="codethatsdk.js"></script>
<script language="javascript1.2" src="hint/codethathint.js"></script>
</head>
<body>
<script language="javascript1.2">
<!--

var cthint1_html = "<img src=\"img/norb.gif\" width=103 height=86" +
	" border=0 align=left hspace=5>" +
	"<br> This <br>is <br>Norb!";

var cthint1 = new CT_Hint(
	200, 90, 2, "", true, 10, 10,
	cthint1_html, "lightyellow", "", "test1tree",
	{ width : 1, color : "black" },
	true, 2, "", 0, 400, 0
);

cthint1.create();

//-->
</script>
<form>
 <input type="button" onClick="cthint1.CSS('new');cthint1.show();"
 value="Change css">
 <br><input type="button" onClick="cthint1.bgColor('#cccccc');cthint1.show();"
 value="Change BgColor">
 <br><input type="button" onClick="cthint1.bgImage('img/Pict0005.jpg');cthint1.show();"
 value="Change BgImage">
 <br><input type="button" onClick="<br><center>By Norb!</center>');cthint1.show();"
 value="Change HTML content">
 <br><input type="button"
 onClick="cthint1.appHTML('<br><center>Where are you?</center>');cthint1.show();"
 value="Add HTML content">
</form>
</body>
</html>