This is a known problem with the pure HTML+JS implementation of the
Introducer. AFAICT, there's no way to automatically cause the drop
down menu to display.
The Introducer spec requires that the Provider selection menu be
displayed immediately upon invoking introduce(). The native
implementation of the Introducer will be faithful to this constraint.
> In my simple prototype, http://semccustomer.appspot.com/, I changed
> the event for the button “Select Image Provider and display image”
> from “onclick” to “onmouseover” giving the effect that the script that
> invokes the introduce method is called when the user just places he
> cursor over the button. Then the provider selection menu pops up when
> the user clicks the button. This looks better for the user but it is
> still a “fix” and does not work well in a mobile device due to the
> delay from the call to the introduce method until the user is able to
> click on the button.
The introducer.js script also uses this trick. See:
http://code.google.com/p/webintroducer/source/browse/html5-implementation/introducer.js#829
> So, why does the provider selection menu not pop up directly when the
> introduce method is called?
There's no API for making a <select> widget display its drop-down
menu. Using a <select> widget is the only way to avoid clickjacking in
current web browsers.
--Tyler
--
"Waterken News: Capability security on the Web"
http://waterken.sourceforge.net/recent.html
--Tyler