[X3D-Public] Web3D.org Front Page

Joe D Williams joedwil at earthlink.net
Tue Jun 23 07:56:55 PDT 2009


I used the following if it will help.
Joe

// hypermultimediaX3D.js rev 20061109


// loads X3D Player and Scene
function LoadLogoObjx3d() {
  document.write('<div class="smallLogobox"><br>');
//  document.write('<div 
class="divhidden"><small>..&lt;=&gt;...</small></div>');
if (window.ActiveXObject)
{
// browser supports ActiveX/IE API and specifies FluxPlayer
  document.write('<object id="objx3d" class="smallLogoX3d" 
type="model/x3d+xml"');
  document.write('classid="clsid:918B202D-8E8F-4649-A70B-E9B178FEDC58"');
  document.write('codebase="http://mediamachines.com/download/SetupFluxPlayer.exe">');
  document.write('<param name="src" value="Logo/logo10.x3dv">');
  document.write('<param name="DASHBOARD" value="0">');
  document.write('<param name="BGCOLOR" value="0xaaaaaa">');
  document.write('<div>Got .X3D?</div>');
  document.write('</object>');
}
else
{
// browser supports Firefox/Netscape Plugin API.
  document.write('<object id="objx3d" class="x3dscene2" 
type="model/x3d+xml"');
  document.write('codebase="http://mediamachines.com/download/SetupFluxPlayer.exe">');
  document.write('<param name="src" value="Logo/logo10.x3dv">');
  document.write('<param name="DASHBOARD" value="0">');
  document.write('<param name="BGCOLOR" value="0xaaaaaa">');
  document.write('<div>Got .X3D?</div>');
  document.write('</object><br>');
}
  document.write('<a class="linkhidden" href="main0.htm" 
title="HyperMultiMedia htm/x3d/css/js main page.">HyperMultiMedia 
Main</a>');
} 




More information about the X3D-Public mailing list