drop down control

  • Thread starter Thread starter seep
  • Start date Start date
S

seep

Hello,
Does anyone have an idea on how I can provide a drop down
or a popup control when the user places their mouse over a
button.

Thanks,
seep
 
To declare a button
<INPUT onmouseover="func()" type="button" value="Button">


<script type=text/javascript>
function func()
{
//you could put anything here, e.g. opening a window etc.
alert('Hi');
}
</script>

hope its help

weichung
 
seep said:
Hello,
Does anyone have an idea on how I can provide a drop down
or a popup control when the user places their mouse over a
button.

Javascript: onMouseover event triggers the population of the list. How you
populate the client-side list is the question. You would normally supply an
array of variables when you render the form. If the list varies according
to which button you hover over, then you need to trigger a postback. This
can be done using an Iframe, but this can be browser specific.

And all of that is better answered in a JavaScript newsgroup.


Glenn
 
Back
Top