Yes,
I'm actually using a jquery plugin called SimpleModal (http://
www.ericmmartin.com/projects/simplemodal) to display a dialog box to
the user. When you call $('#elementId').modal() it is suppose to
display a dialog, and all I really want to do is test if the dialog
has been displayed or not.
I've tried a couple of different things before I reverted to checking
the className to see if it was displayed; for instance I tried
checking the element.style.display property and the
element.style.visibility property, but both didn't yeild a result even
after calling the modal() method on the line directly before it to
rule out any other code problems.
On May 14, 11:19 am,
kenny.ortm...@gmail.com wrote:
> You really shouldn't be worrying about css styles in your javascript testing.
>
> The css styles probably don't work using class names becuase you don't have the css class imported.
>
> What are you trying to do that you want to check the style of an element?
> Sent from my Verizon Wireless BlackBerry
>
> -----Original Message-----
> From: leeand00 <
leean...@gmail.com>
> Date: Fri, 14 May 2010 08:16:10
> To: JsTestDriver<
js-test...@googlegroups.com>
> Subject: CSS Styles only appear to work when you specify them in style
>
> attributes.
>
> It seems that CSS Styles only appear to work when you specify them in
> style attributes of an element. When you specify them as an assigned
> class they seem to have no effect.
>
> --
> You received this message because you are subscribed to the Google Groups "JsTestDriver" group.
> To post to this group, send email to
js-test...@googlegroups.com.
> To unsubscribe from this group, send email to
js-test-drive...@googlegroups.com.
> For more options, visit this group athttp://
groups.google.com/group/js-test-driver?hl=en.
> For more options, visit this group athttp://
groups.google.com/group/js-test-driver?hl=en.