DEF zx Anchor {
description "factory"
url "javascript:on_factory_click()"
children [
DEF factory1 Transform {
translation 45 0 50
children [
DEF fc Inline{url "factory.wrl"}]}]}
According to your replay,I know how to get the value of parameter--"description",but what I want to do now is that seeing the value of "description" as a parameter of "javascript:on_factory_click()". For example:url "javascript:on_factory_click(description)",but how can I do this?
yours,
Best regards
zhongxi
|
|