[Zope] finding URL contents for MS behavior

Mark A. Lilly marq@europa.com
Thu, 21 Mar 2002 06:45:55 -0000


Greetings,
For a project i'm doing, i need to use MS Internet Explorer Behaviors.
Here's a link for the curious.
(http://msdn.microsoft.com/workshop/author/behaviors/behaviors_node_entry.as
p).  They are mostly Javascript libraries that provide certain
functionality.  They are called as shown in the snippet here:

<STYLE>
@media all
{
  IE\:Calendar
  {
    behavior: url(http://192.168.1.1:8080/Sputnik/ProjectHQ/calendar.htc) ;
    width : 33%;
  }
...

The problem is, the code above doesn't work. When i change the url line to
point to my apache on Port 80, it works fine.

    behavior: url(http://192.168.1.1/newsite/calendar.htc) ;

How can i make this work in Zope? I tried saving calendar.htc as a DTML
document and then a method.  Should i use Local File System, or save as a
File object or ???

Any thoughts are welcome.

Thanks,
mark