topical media & game development

talk show tell print

#web3d-connect.cfg / cfg



  

script


  
  <script language="javascript">
  
      function send(node, field, value)
      {
          var browser;
          browser = document.getElementById("CC3D");
          alert("event: " +  node + " " + field + " " + value );
          browser.setNodeEventIn(node, field, value);
          return false;
      }
      function click(value)
      {
          send('SWITCH', 'set_whichChoice', value);
      }
  </script>
  
  

vrml


  
  
  <object id="CC3D " width="80%" height="50%">
  <param name="src" value="@vr-web3d-world.wrl">
  <embed type=application/x-cc3d" nojava="" name="CC3D" src="@vr-web3d-world.wrl" width="80%" height="50%" allowScriptAccess="sameDomain" />
  </object>
  
  

html


  
  <ul>
  <li><a href="javascript:click(0);">box</a></li>
  <li><a href="javascript:click(1);">sphere</a></li>
  <li><a href="javascript:click(2);">object</a></li>
  </ul>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.