onmouseover in xslt

Discussion in 'ASP .Net' started by Guest, Jul 18, 2006.

  1. Guest

    Guest Guest

    I am using VS2005 and creating a menu control. I have a script section in
    the control (and also in the page itself) which will show a certain set of
    submenus depending on a parameter passed in to the javascript function.

    I am using an xslt file to show the contents of an xml file in the control,
    and in the <th> element I am telling onmouseover to call the function in the
    control (and page). The xslt page looks similar to this:

    <th class="classname" onmouseover="javascript:functionname(param)"> Menu one
    - </th>

    When I run this, the control renders, but the function is not being called.

    Can anyone point me to some good xslt tutorials, or better still, paste a
    little code to show how to call onmouseover from an xslt file.
    Guest, Jul 18, 2006
    1. Advertisements

  2. Guest

    sloan Guest

    I always start with

    You need to watch for "double your pleasure" quotes. Aka, one set is double
    and one set is single.
    sloan, Jul 18, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.