Remi
> --
>
> You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
> To post to this group, send email to iphone...@googlegroups.com.
> To unsubscribe from this group, send email to iphonewebdev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
>
>
Remi Grumeau
(+33) 663 687 206
http://www.remi-grumeau.com
Now in the <head> element of the first HTML page of your iUI project
add the following line as the last js declaration:
<script type=\"application/javascript\" src=\"myproject.js\"></script>
But it's not for me. The Google Maps javascript should only be downloaded and parsed by the browser only if and when i decide to.
> --
>
> You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
> To post to this group, send email to iphone...@googlegroups.com.
> To unsubscribe from this group, send email to iphonewebdev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
Remi
> For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
> Thanks for giving this so much consideration Remi. I can see you are
> busy judging by the number of replies you give to everybody else and
> the fact that you mentioned you are changing jobs.
humm … AFAIK, i only mention it twice, when people asked me if i have time to help them further :-/
But I don't really see the point here. If you think my answers are not appropriate, feel free to answer back mail by mail, point by point.
And if you have a personnal problem with me or with what i do, drop me an email but i don't really see the point for a mailing list entry
> The fact is that the <head> doesn't need to be reloaded to download
> the maps.php or the maps.js. The little script in the <head> is
> loaded as an eventListener and just sits there forever waiting for you
> to later load maps.php. When you do so the 738 byte eventListener
> springs into action and executes your "huge" <script> which is
> embedded in your maps.php page. I don't know maps.js but I assume it
> can be embedded entirely in the maps.php page inside a <script> tag??
Sure, that's the whole point.
> The code we use does not access a separate .js file so if the maps
> javascript won't/can't be contained in the maps.php page - You're
> right this is not useful to you. It could certainly be modified to
> download a separate .js file but then it would be bigger than 738
> bytes!
>
> Again thanks for the input.
> Skip
>
>
> On Dec 4, 10:34 pm, Remi Grumeau <remi.grum...@gmail.com> wrote:
>> :)
>> I totally understand the fact that for you it is not a problem. 738 bytes is definitely not a problem.
>> But since the <head> is never reloaded if you're using slides, you can't only load the iUI.js and, only when maps.php is loading, download the maps.js.
>>
>> Remi
>>
>
sorry if i'be been too 'chatty', english is not my native language so probably have been over reacting somehow
remi
Remi
Thank you! That is really a nice little option that I hadn't seen
before. It is reporting a javascript error in the console:
TypeError: Result of expression 'document.forms[0]' [undefined] is not
an object.
I used the javascript code for hooking the beforeinsert as posted
above. I have something like this going on in my html page:
<form id="log" action="postit" method="post">
<input id="EntryDate" />
<input id="Amount" />
<input type="submit" />
</form>
<script>document.forms[0].Amount.focus();</script>
I'm actually trying to set the EntryDate to today's date, too, but the
above should help show the problem easily without adding another js
function to do that.
Again, this works fine on Firefox on my desktop, but results in the
above error on Mobile Safari on the iPhone. Any further ideas?
Thanks again.
Dan
Skip
Skip
Hello everybody,
I have an issue: I am trying to use a jquery chart creator – flot!
I get an error because when I want to try the software. But if I execute at console the function after everything loaded it works. Seems like not everything is really loaded or so!
I even did some changes on the iui.js at function updatePage(page, fromPage) at the end I add the load part to run the script. Here I get a different error saying that the function $.flot does not exist! This is curios cause otherwise it works.
In attach I put the project!
Thank you in advance!
By the way! I cannot put Flot.html in the index.html because it’s going to be flot.php and the data for the chart are retrieved from a sqldatabase!
George
a.
Just a hint: Put it somewhere on the web instead of sending an incomplete
sample. That makes finding the problem way easier.
a.