Sorry skip!!! I has not attentive and did not knew about this issue!! I'll be more attentive regarding hijacking!!! :p
But if you can help I badly need it!!! this fragments are really killing me slowly. 10x and sorry again, George ________________________________ From: skip <[email protected]> To: iPhoneWebDev <[email protected]> Sent: Thu, December 3, 2009 11:28:36 AM Subject: Re: javascript execution This thread was initially about iPhone screen resizing during drop down selects. You have hijacked the thread to discuss execution of Javascript in fragments, and also changed the title of the thread. At the very least this is unhelpful. If you promise not to hijack anymore discussion threads I will tell you how to make javascripts execute when fragments are loaded - we do it all the time. You haven't helped me to solve my problem at all. Skip On Dec 3, 1:01 am, Bontas George <[email protected]> wrote: > Hello everybody, > > I have another question that keeps me busy!!! I need on loading of some pages > to run a javascript! how can this be done! > example: the javascript is not executed!!! :(( > <div id="graph" title="Graph" > > <fieldset> > <div class="row"> > > <table style="width:290px;height:20px; background-color:#FFF"> > <tr> > <td align="center" bgcolor="#2d3642" style="color:#FFF">50 > min</td> > <td align="center" bgcolor="#2d3642" style="color:#FFF">75 > min</td> > <td align="center" bgcolor="#2d3642" style="color:#FFF">100 > min</td> > </tr> > </table> > > <div id="placeholder" style="width:290px;height:150px; > background-color:#000"></div> > > </div> > <div class="row"> > <p> > <div class="whiteButton" onclick="graph()">View graph</div> > </p> > </div> > </fieldset> > </div> > > <script type="text/javascript"> > $(document).ready(function(){ > var d1 = []; > for (var i = 0; i < 14; i += 0.5) > d1.push([i, Math.sin(i)]); > > var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]]; > > // a null signifies separate line segments > var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]]; > > $.plot($("#placeholder"), [ d1, d2, d3 ]); > > }); -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
