Re: [vcl4php-developers] Canvas sample error
Brought to you by:
ttm
|
From: José L. <su...@qa...> - 2008-12-22 16:21:12
|
Gary escribió: > Something in the underlying files must have changed and the sample errors > looking for findObj. > > I had to add > > <script type="text/javascript" src="/vcl-bin/js/common.js"></script> > > to TestCanvas.php Yes, the canvas didn't use findObj before, so I have modified the sample by adding: <script type="text/javascript" src="<?php echo(VCL_HTTP_PATH);?>/js/common.js"></script> At the top. > And fwiw I converted it to be a mini demo for paintbox. The code has been added to the PaintBox demo to show how to paint using javascript. Thanks!!!!! Regards -- José León qadram software C/Juan Ramón Jiménez, 15 Entlo. 2 03203 Elche ALICANTE (SPAIN) T: +34 965 45 48 48 F: +34 965 45 48 48 M: +34 618 28 13 69 http://www.qadram.com |