Scott,

If you're interested in another example of this, look at the Getting Started
Tutorial I just wrote for iUI:
http://www.projectrecon.net/iui/getting-started.html

-- peter

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Remi Grumeau
Sent: Wednesday, June 02, 2010 2:44 AM
To: [email protected]
Subject: Re: Sample

Yes there is a way: integrate the second page in the first document.

<body>
   <div class="toolbar">
       <h1 id="pageTitle"></h1>
       <a id="backButton" class="button" href="#"></a>
   </div>

  <ul id="home" title="iUI Demos" selected="true">
        <li><a href="#sample">sample</a></li>
  </ul>

  <ul id="samples" title="Samples">
        <li><a target="_blank"
href="samples/music/music.html">Music</a></li>
        <li><a target="_blank" href="samples/prefs.html">Prefs</a></li>
        <li><a target="_blank" href="samples/digg/index.html">Digg</a></li>
        <li><a target="_blank" href="samples/theaters/index.html">Theaters</
a></li>
        <li><a target="_blank" href="samples/graphicnav/index.html">Graphic
NavBar</a></li>
        <li><a target="_blank" href="samples/gaelyk/index.gtpl">Gaelyk
Demo</
a></li>
  </ul>
</body>

Otherwise, iUI can't know where to find the #sample content, so it launches
the selected=true element.
(note that you don't have to add selected=true in sample.html, it's only
needed in the html document that contains headers)

http://jqtouch.com/preview/demos/main/#animations
will drive you to
http://jqtouch.com/preview/demos/main/#home

Remi Grumeau
(+33) 663 687 206
http://www.remi-grumeau.com

Le 2 juin 2010 à 04:57, Scott a écrit :

> I was trying the sample code and put the the "ul" in seprate pages.
> When I click the Refresh button, I am redirecred to the firrst page.
> Is this by design? Is there a way to just refresh the second page
> instead of going back to the first page? I'm testing this 0.4
> version.
> 
> Thanks
> 
> index.html
> ==================
> <body>
>    <div class="toolbar">
>        <h1 id="pageTitle"></h1>
>        <a id="backButton" class="button" href="#"></a>
>    </div>
> <ul id="home" title="iUI Demos" selected="true">
> 
>       <li><a href="sample.html">sample</a></li>
> 
> </ul>
> </body>
> ====================
> sample.html
> ======================
> 
> =========<body>
> <ul id="samples" title="Samples" selected="true">
>       <li><a target="_blank"
href="samples/music/music.html">Music</a></li>
>       <li><a target="_blank" href="samples/prefs.html">Prefs</a></li>
>       <li><a target="_blank" href="samples/digg/index.html">Digg</a></li>
>       <li><a target="_blank" href="samples/theaters/index.html">Theaters</
> a></li>
>       <li><a target="_blank" href="samples/graphicnav/index.html">Graphic
> NavBar</a></li>
>       <li><a target="_blank" href="samples/gaelyk/index.gtpl">Gaelyk
Demo</
> a></li>
> </ul>
> </body>
> ==========
> 
> -- 
> 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.

-- 
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