Hi Menno,
I know it's doable somehow, but I don't think your suggestion will work, since I cannot use php if statements in the templates to check the variables I assigned in the php code.
My initial attempt was to write something like this in a template:
if ($variable==this) {run javascript/animation}
Since this cannot be done (thanks for clarifying this), next I wonder if I can pass those vB variables to the javascript itself. Is there a way of doing that?
<SCRIPT language=JavaScript1.2>
<!--
var jsvar=$vBvar; <-- ??
..
// -->
</SCRIPT>
|