OK so we can't see what the functions called by them do, but it does
look like there are 4 events getting defined.. have you tried using
code to fire one of the events ("onmousedown" seems the most obvious
candidate) to see if that makes the list appear?
odds are after the mousedown, you're going to then have to fire some
kind of mouseover event for a list item perhaps followed by another
mousedown, or mouseup ..
but without interacting with the site it's hard to tell (is it
designed to click on the list, then click on the item, or as a click-
drag-release?)
just as a guess I'd expect the meat of the work to be done by
mousedown events, while mouseover and others that seem to be calling
'_onmouse' are probably just causing it to change colors for the
illusion of focus being on the thing under the mouse.
So if that's not enough to get you going in the right direction,
please post a larger section of the page code (or point us at a
similar page that is publically available) as Wesley requested.
On Nov 24, 10:35 am, maven999 <[EMAIL PROTECTED]> wrote:
> Hi Chuck,
>
> Here is the preceding html which I should have included in my original
> question:
>
> <tr class="dijitReset">
> <td class="dijitReset dijitRight dijitButtonNode dijitDownArrowButton
> dijitArrowButtonActive" width="0%"
> dojoattachevent="onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseen-ter:_onMouse,onmouseleave:_onMouse"
> dojoattachpoint="downArrowNode">
> <div class="dijitDownArrowButtonInner" wairole="presentation"
> role="presentation">
> <div class="dijitDownArrowButtonChar">▼</div>
> </div>
> </td>
> </tr>
>
> Thanks!
>
> On Nov 24, 12:44 pm, Chuck vdL <[EMAIL PROTECTED]> wrote:
>
>
>
> > is there anything in the html that is defining something like an
> > 'onclick' for that thing? all I see in the code above is basically
> > just text.. and normal text isn't clickable as far as I know.
> > maybe there's some other object that's actually overlapping that
> > button
>
> > On Nov 21, 11:30 am, maven999 <[EMAIL PROTECTED]> wrote:
>
> > > Hi all,
>
> > > I have a drop down menu that can only be accessed by clicking on a
> > > down arrow character (▼) on the combo box. The html for the click
> > > location is pasted below:
>
> > > <div class="dijitDownArrowButtonInner" wairole="presentation"
> > > role="presentation">
> > > <div class="dijitDownArrowButtonChar">▼</div>
> > > </div>
>
> > > Flashing the button works:
>
> > > $ie.div(:class, 'dijitDownArrowButtonInner').flash
>
> > > But clicking it does not work:
>
> > > $ie.div(:class, 'dijitDownArrowButtonInner').click
>
> > > Any ideas? Also, since it is not a traditional select_list, how do I
> > > select an item when I do get the drop-down list to appear?
>
> > > Thanks!- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---