Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » Samples » Downloads
 
Add your own
alternative version

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.
xLibrary_demo.zip
xLibraryDemo
App_Data
Bin
xLibrary.dll
xLibrary_src.zip
LICENSE
xLibrary
lib
Properties
<?xml version="1.0" encoding="ISO-8859-1"?>

<x_symbol id='xParentChain'>

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

<copyright>Copyright 2001-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>Debug</grp>
</groups>
<type>Function</type>

<description><![CDATA[Walks up the parent chain building a string suitable for displaying.]]></description>

<syntax>xParentChain(ele, sDelim, bNode)</syntax>

<parameters>
  <par>
    <name>ele</name>
    <note><![CDATA[id string or object reference]]></note>
  </par>
  <par>
    <name>sDelim</name>
    <note><![CDATA[for example: '\n' or '<br>']]></note>
  </par>
  <par>
    <name>bNode</name>
    <note><![CDATA[pass true if you want parentNode, else you get offsetParent]]></note>
  </par>
</parameters>

<return>string</return>

<dependencies>
  <dep>xGetElementById</dep>
  <dep>xName</dep>
</dependencies>

<demos>
  <demo>
    <url>http://cross-browser.com/toys/</url>
    <note><![CDATA[Index of all X demos.]]></note>
  </demo>
</demos>

<revisions>
  <rev>
    <num>2</num><date>5Jun07</date><author>mf</author><note><![CDATA[Removed use of xParent.]]></note>
  </rev>
  <rev>
    <num>1</num><date>12Mar05</date><author>mf</author><note><![CDATA[put in it's own file for use with XC]]></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.
Follow on   Twitter   Google+

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