12-15-2012 04:09 PM - edited 12-16-2012 06:24 AM
I found an issue that
onclick event can not be triggered if float:left or float:right used in div, in the simulator, while at the same time the same code works fine in ripple.
I am not sure whether it works fine in the actual machine,
Here are the demo code
<div id="d1" style="float:left;width:35%" onclick="document.getElementById('d1').style.width
<div id="d2" style="float:left;width:65%" onclick="document.getElementById('d2').style.width='78%';"></div>
the onclick was triggered and works fine, in ripple, but does not work on simulator,
Here are the version information:
WebWorks SDK: Gold
Ripple: V0.9.10 Beta
Hope someone could help on this issue.
Appreciate for any valuable information.
12-17-2012 10:15 AM
Have you downloaded the latest simulator? Looks like you're running the old version.
New one should be: 10.0.09.1673
12-17-2012 10:48 AM
Thanks for your reply, I have updated the simulator to the latest version , but this issue remains the same,
I got the information that float attribute of css is supported, from official webworks document.
I think that might be an issue in the simulator, not sure whether it works on the develop alpha and beta machine, could you please help to write a test case and test whether it works or not?
Would like to appreicate for your great help on this.