• A CUSTOM TOOPTIPS

            <pre data-sub="prettyprint:_">
            function showTip(oEvent)
            {
            var oDiv = document.getElementById(“divTip1”);
            oDiv.style.visibility = “visible”;
            oDiv.style.left = oEvent.clientX + 5;
            oDiv.style.top = oEvent.clientY + 5;
            }
            </pre>
    
  • floating setting affected by the structure

            <p>
            We all want to express our document in a semantic way, but some time the structure of the document does affect the css. For example,
            </p>
    
  • Reference assembly generated in asp.net code file

    <%@ Register TagPrefix="msdn" Namespace="MsdnMag" Assembly="__code" %>
    This is the way that asp.net referring to an autocompiled assembly.


    Powered by ScribeFire.

    </div>
  • tagMapping in asp.net

            You can tell the asp.net compile engine to rerount the reqeust to new type.
    
  • xslt parameter

    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:param name="Age" ></xsl:param>
    <xsl:template match="/">
    <html>
    <body>
    <xsl:value-of  select="$Age"/>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>
    
    XmlTextWriter xmlwriter = new XmlTextWriter(writer);
    XsltArgumentList list = new XsltArgumentList();
    list.AddParam("Age", "", "108");
    xslt.Transform(doc, list, xmlwriter);
    

    Parameter of a template

    <xsl:apply-templates select="$castList" mode="DisplayToggle">
                <xsl:with-param name="divID" select="$programID" />
                </xsl:apply-templates>