That's what I was talking about.  iui pushes the "pages" onto  
history.  You have to pop them to get rid of them, but I would  
suggest doing it before reloading.

Chris.

On Apr 5, 2008, at 12:53 AM, Chris Alexander wrote:

> So I have tried making it so that when you push the button it takes  
> you to #home, but if you push the button when you first load the  
> page it causes all kinds of problems. Is there an easy way to hide  
> the button when you first land on the site? I still think it would  
> be great if the page simply reloaded completely erasing the history.
>
> Topher
>
> Sent from my iPhone
>
> On Apr 3, 2008, at 4:14 AM, Chris Van Dusen  
> <[EMAIL PROTECTED]> wrote:
>
>> Going back to the front page is the simple solution (and, may work  
>> in this situation), but be aware that the history will still be  
>> there.  You could use a counter similar to the one implemented  
>> within iui, to navigate back to the "0 index".  Depending on how  
>> you implement the loading of >0 divs/forms/whatevers, you may need  
>> to wipe those out.
>>
>> Chris.
>>
>> On Apr 3, 2008, at 4:12 AM, ade wrote:
>>> Chris Alexander wrote:
>>>>
>>>> Thanks everyone who replied.
>>>>
>>>> I'm using iui to implement an iPod touch tour at the museum that  
>>>> I work at. As you know in the music example for iui there is a  
>>>> search button. I want to be able to provide a quick way to our  
>>>> visitors who get lost inthe tour to start over again. I want to  
>>>> offer a way to restart/refresh the tour and erase the history.   
>>>> I think I am also thinking ahead for when the full screen mode  
>>>> is implemented in 2.0. I want a way that if some thing goes  
>>>> wrong we can refresh the screen.
>>>>
>>>>
>>>>
>>> when you say refresh do you mean go back to index.htm ? ie the  
>>> front page ?
>>>
>>> -- 
>>> ade
>>> .................................................................... 
>>> .......................
>>> www.iphoneibiza.com
>>> www.ibizaA-Z.com &www.ibiza-now.com
>>> www.ibizaa-z.com/blog
>>> Ibiza NOW - The Islands Magazine
>>> Google Map of Office Location: www.ibiza-now.com/location/
>>>
>>>
>>>
>>
>>
>>
>
> >


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