browdesc_0_00.x3d source
<?xml version="1.0" encoding="Shift-JIS"?>
<X3D>
<Scene>
<Viewpoint/>
<NavigationInfo
type='
"EXAMINE"'
/>
<Transform translation='0 1 0'>
<Shape>
<Appearance DEF='Ap'>
<Material emissiveColor='1 1 0'/>
</Appearance>
<Text
string='
"English"'
>
<FontStyle DEF='FS'
justify='
"MIDDLE"'
/>
</Text>
</Shape>
<Shape DEF='Bx'>
<Appearance>
<Material transparency='1'/>
</Appearance>
<Box size='3.5 1 0.1'/>
</Shape>
<TouchSensor DEF='Eng-ThS'/>
</Transform>
<Transform translation='0 -1 0'>
<Shape>
<Appearance USE='Ap'/>
<Text
string='
"Japanese"'
>
<FontStyle USE='FS'/>
</Text>
</Shape>
<Shape USE='Bx'/>
<TouchSensor DEF='Jpn-ThS'/>
</Transform>
<Script DEF='Sc'>
<field accessType='inputOnly' type='SFBool' name='english'/>
<field accessType='inputOnly' type='SFBool' name='japanese'/>
<field accessType='initializeOnly' type='SFString' name='engMessage' value='indicated a message at the status bar of a Web Browser.'/>
<field accessType='initializeOnly' type='SFString' name='jpnMessage' value='Webブラウザーのステータスバーにメッセージを表示してみました。'/>
<![CDATA[ecmascript:
function english () {
Browser.setDescription(engMessage);
}
function japanese () {
Browser.setDescription(jpnMessage);
}
]]>
</Script>
<ROUTE fromNode='Eng-ThS' fromField='isOver' toNode='Sc' toField='english'/>
<ROUTE fromNode='Jpn-ThS' fromField='isOver' toNode='Sc' toField='japanese'/>
</Scene>
</X3D>