I am having difficulty getting jscolor to work in 5.3b Build 6629.
Have things changed as far as where I should place the link to the JavaScript file?
I placed the link to the JavaScript file just before the {Begin Body} tag in HTML Mode for the form as instructed in the PHPRunner Manual. Following is a snippit of the code along with the surrounding PHPRunner generated code. My code is in bold:
<BODY {$bodyattrs}>
<script type=text/javascript src="jscolor/jscolor.js"></SCRIPT>
{BEGIN body}{$header}
I also placed the following code in the "JavaScript OnLoad Event" for the form, as required by jscolor.
var ctrlSlideColor = Runner.getControl(pageid, 'SlideColor');
ctrlSlideColor.addCSS('color');
Also the following simple HTML demo page works just fine running from the same directory as the form.
<html>
<head>
<title>jscolor demo</title>
</head>
<body>
<script type="text/javascript" src="jscolor/jscolor.js"></script>
Click here: <input class="color" value="66ff00">
</body>
</html>
This works without a problem in 5.2.
Any ideas would be greatly appreciated.