Great example!
I have a solution to add printers since before using WSH embedded in HTML
like this. But I will take a look at your code since it's more compact and
versatile.
--
Best Regards, Jimmy B
CAD and Database Developer Manager at www.pharmadule-emtunga.com
Take a look at the trial version of SmartPurger (now for AutoCAD 2004) or
download some freeware at www.jtbworld.com
More on AutoCAD 2004;
www.jtbworld.com/autocad2004.htm
www.jtbworld.com/autocad2004tips.htm
"Mathews" wrote in message
news:C24D5F373D2C15EB61ED4D4907A1FC52@in.WebX.maYIadrTaRb...
> The attached ZIP file has an HTML file and a DWF. Open the HTML file to
see
> a demo of connecting DWF hyperlinks to JavaScript calls and for having
> JavaScript control the DWF viewer.
>
> This demo would be a starting point for a "People Finder" application
where
> you connect an Employee Phone database to a set of DWF facilities
floorplan
> drawings.
>
> The DWF contains:
> - Hyperlinks that invoke a Javascript function called "officeclick()" that
> gets passed an office number as a parameter.
> - Named views: one per office so that the Javascript can animate zooming
> into a particular named view. You could change the HTML page to have an
URL
> parameter passed in that tells the code which office to zoom into. If you
> have an Employee Phone Directory, you could make hyperlinks to this page
> with the room number as an option.
> - Layers: each office function is on its own color coded layer. You could
> modify the script to let you locate specific office types (such as vacant
> hotel offices) by using Javascript to flash those layers on and off.
>
> Make sure to see the HTML source code.
>
> Brian Mathews
> Autodesk
>
>