Hi Brad,


Could you possibly show us more code? Does the script below fall within an Active4D code, or is Active4D generating the script?

Are you using jQuery? I'm not a Javascript expert by any means, and am only familiar with jQuery through recently studying examples, but the naming of jQuery's $() Function might be tripping up Active4D from the error message you describe (it thinks its found an A4D variable).

I am using jQuery, specifically trying to reproduce the Draggable example.

The whole page is here:  http://interface.eyecon.ro/demos/drag.html     

_Jason








Jason T. Slack wrote:

Hi Brad,

What happens if you wrap your script with HTML comments? This was the trick to hide JS code from old browsers.


<script type="text/javascript>
<!--
$(document).ready(
   function()
   {
       $('#drag1').Draggable();
   ........
//-->
</script>

No dice, What I expect to happen is not happening, but again, when served through Apache, everything works.

-Jason

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to