Click here to Skip to main content
12,242,175 members (43,166 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Samples » Downloads

Stats

31.8K views
423 downloads
41 bookmarked
Posted

xLibrary - Using a custom IHttpHandler to access embedded JavaScript

, 28 Feb 2009 CPOL
This article covers how to make a custom IHttpHandler to use the X Library from www.cross-browser.com embedded in an assembly.
xLibraryDemo
App_Data
Bin
xLibrary.dll
LICENSE
xLibrary
lib
Properties
<?xml version="1.0" encoding="ISO-8859-1"?>

<x_symbol id='xAniXY'>

<sources>
  <src><file>xanixy.js</file><note><![CDATA[Default.]]></note></src>
</sources>

<copyright>Copyright 2006-2007 Michael Foster (Cross-Browser.com)</copyright>
<license>Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL</license>

<groups>
  <grp>Animation</grp>
</groups>

<type>Function</type>

<description><![CDATA[Animate an element's position over a line segment. This is a minimal, time-based implementation - only supports constant velocity.]]></description>

<syntax>xAniXY(e, x, y, t);</syntax>

<parameters>
  <par><name>e</name><note><![CDATA[An Element object reference or an id string.]]></note></par>
  <par><name>x</name><note><![CDATA[The target X coordinate (integer).]]></note></par>
  <par><name>y</name><note><![CDATA[The target Y coordinate (integer).]]></note></par>
  <par><name>t</name><note><![CDATA[The total time for the animation, in milliseconds.]]></note></par>
</parameters>

<dependencies>
  <dep>xGetElementById</dep>
  <dep>xLeft</dep>
  <dep>xTop</dep>
</dependencies>

<demos>
  <demo><url>http://cross-browser.com/x/examples/xanimation.html</url><note><![CDATA[Start page of all xAnimation demos.]]></note></demo>
</demos>

<tests>
</tests>

<comments>
</comments>

<revisions>
  <rev><num>1</num><date>26Apr07</date><author>mf</author><note><![CDATA[Initial inclusion in X.]]></note></rev>
</revisions>

</x_symbol>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Rick Bassham
Software Developer (Senior)
United States United States
I have been a software developer since 2005, focusing on .Net applications with MS SQL backends, and recently, C++ applications in Linux, Mac OS X, and Windows.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 28 Feb 2009
Article Copyright 2007 by Rick Bassham
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid