Orgins Posted October 22, 2009 Posted October 22, 2009 (edited) /edit look below for new one. Edited October 23, 2009 by Orgins I'm a newbie.Sorry if I don't reposed to your replays very fast.
jvanegmond Posted October 22, 2009 Posted October 22, 2009 _IEGetObjById and _IEAction with a "click" parameter. github.com/jvanegmond
Orgins Posted October 22, 2009 Author Posted October 22, 2009 Yah it works. You'er my herrooo. I'm a newbie.Sorry if I don't reposed to your replays very fast.
jvanegmond Posted October 22, 2009 Posted October 22, 2009 All you needed was a little memory jolt. It was my pleasure. : ) github.com/jvanegmond
Orgins Posted October 22, 2009 Author Posted October 22, 2009 (edited) /edit Keep looking below for new one. Edited October 23, 2009 by Orgins I'm a newbie.Sorry if I don't reposed to your replays very fast.
Orgins Posted October 22, 2009 Author Posted October 22, 2009 I get that I need to click id="gameMapDiv3" but how do I tell it which onclick="clickMap('xx')" I want? I'm a newbie.Sorry if I don't reposed to your replays very fast.
jvanegmond Posted October 22, 2009 Posted October 22, 2009 You can run javascript directly by "navigating" to it. _IENavigate to "javascript:clickMap(""214"")" github.com/jvanegmond
Orgins Posted October 22, 2009 Author Posted October 22, 2009 Think I can finish it now. Thanks. I'm a newbie.Sorry if I don't reposed to your replays very fast.
Orgins Posted October 23, 2009 Author Posted October 23, 2009 (edited) How would one do checkboxs? <div class="jgzs_lbox"> <table width="273" border="0" cellpadding="1" cellspacing="0" class="data_table"> <tr> <td width="20" rowspan="2" align="center"><div> <input maxtime="15462812" curnum="351" totalnum="375" onclick="updateHeroGoList();" name="heroid[]" value="123" type="checkbox" /> ;curnum is total number of troops;totalnum is max number of troops;value is my heros ID number </div></td> <td colspan="2"><div><b> HP</b>:1550/1550</div></td> <td colspan="5" width="160" align="center"><div><b>Number of soldiers</b> <!-- <a href="#" class="l_blue">分配士兵</a> --></div></td>;my hero display below </tr> <tr> <td width="43" height="40" align="center"><div><a href="heroDetail.do?heroid=123"><img src="images/hero/h_3_8_m.png" width="32" height="32" class="avatar" /></a></div></td> <td width="78" align="center"><div><span class="hero_quality6">Bob the man!</span></div></td> ;my troop display below <td width="28" align="center"><div class="itembox"><img src="images/soldier/3/3.gif" alt="Gunner" /></div><div class="itemnum">351</div></td> </tr> </table> </div>From bold line below it repeats for each hero (up to 6).I though there was a command just for this but I'm not seeing it. Edited October 23, 2009 by Orgins I'm a newbie.Sorry if I don't reposed to your replays very fast.
Juvigy Posted October 23, 2009 Posted October 23, 2009 There are several ways. Check IEFormElementCheckBoxSelect ( ByRef $o_object, $s_string [, $s_name = "" [, $f_select = 1 [, $s_mode = "byValue" [, $f_fireEvent = 1]]]] )
Orgins Posted October 23, 2009 Author Posted October 23, 2009 I should of looked harder at the help file I overlooked that one. Thanks, I got everything done and working now. I'm a newbie.Sorry if I don't reposed to your replays very fast.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now