I would say …. just rename index.html to new_index.html ? :)

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

Le 3 juin 2010 à 18:17, Scott a écrit :

> Thanks Peter and Remi. One more question regarding the refresh issue.
> Is there a way to change the base URL in all the subsequent pages?
> 
> For example, on the second page  http://www.mysite/index.html#sample
> is called when the page is refreshed.  I'd like to change the base URL
> from " http://www.mysite/index.html"; to  "http://www.mysite/
> new_index.html", is it possible to accomplish this with making some
> changes to iui.js?
> 
> Scott
> 
> On Jun 2, 11:24 am, "Peter Rust" <[email protected]> wrote:
>> 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 tohttp://jqtouch.com/preview/demos/main/#home
>> 
>> Remi Grumeau
>> (+33) 663 687 206http://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 
>>> athttp://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 
>> athttp://groups.google.com/group/iphonewebdev?hl=en.- Hide quoted text -
>> 
>> - Show quoted text -
> 
> -- 
> 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