Oh yes, there will be another place.  I am also working on a client
side storage of a "Notes" section on each of the second level pages.

So, the app will be:

First page--Long list of drug names.

Tap on one of these and it goes to a document fragment for that
particular drug.  This "page" or div section rather, has a list for
the user to choose to go to the information section about the drug or
to choose a section to perform a calculation about the drug or a 3rd
section that has a place for the user to enter notes about the drug.

For the calculation section, I will need to perform a calculation
after the OnClick of a calculate button.  I will also have a clear
button.  I want to preload some images that will be used for this
section as well.

For the Notes section, I am working on a client side storage of data
that the user enters about that particular drug.

So, my question is if I am using iUI, I need to know where I put a
reference to the javascript for the calculations, preloading images
and for the client side storage of the notes since there is no <head>
section in the 2nd level pages (the ones specific to a particular
drug).

Linda

On Dec 16, 8:11 am, anmldr <[email protected]> wrote:
> Hmm.  I did not know that iUI doesn't support JavaScript.  I thought
> that it did since it has it's own JavaScript file (iui.js).  There are
> two places where there will be javascript in the document fragments.
> One will be in the OnClick of a "Calculate" and "Clear" button.  The
> other area though is in preloading images.
>
> Linda
>
> On Dec 16, 3:05 am, Chrilith <[email protected]> wrote:
>
> > Not sure what you mean but iUI doesn't support javascript code
> > execution on fragement.
> > If it is in onclick attribute it will be ok but of course you script
> > must be in a non AJAX part.
> > <head> is the right place.
>
> > On Dec 16, 6:01 am, anmldr <[email protected]> wrote:
>
> > > I am trying to use iUI but I have a question.  On the first page, I
> > > have a long list of names. These names are linked to level 2 pages
> > > that are document fragments.  Within these level 2 pages there will be
> > > 3 <div>s.  I want to be able to use javascript for calculations in one
> > > of these divs.  Since these are document fragments, there is no
> > > <head></head> section.  Where do I reference or link to the javascript
> > > files for these level 2 pages?  Should it all be in the page 1 <head></
> > > head> section?
>
> > > Thanks,
> > > Linda
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to