> You can't really do this with just JavaScript and CF, within a single
page,
> without using some "tricks". You'll need to send data back to the server,
> and then receive data back from the server. You can do this with a hidden
> frame, or a "GIF pipe" as described at
>
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/GifAs
> Pipe/Index.cfm.

If you can use IE only, you can use the XMLDOM ActiveX Object to load XML
data from the server through JS:

<script>
        var xmlDoc = new ActiveXObject("XMLDOM");
        xmlDoc.load(address_of_xml_file);
</script>

An good example, although a really complex example, is the deeptree DHTML
behavior at Microsoft's MSDN Library.  It's what controls the left hand
navigation:

http://msdn.microsoft.com/library/

It takes some digging through the source code and CSS stylesheet to find it,
but it's there.



Ben Johnson
Hostworks, Inc.

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to