> After the tech talk, I logged about 12 different issues.  They said  
> feature
> requests should be filed under the bug reporter as well...so report  
> away.

You might want to use this link, which describes best practices and  
login info:

http://developer.apple.com/bugreporter/

-- Dr. E.

On Aug 24, 2007, at 2:02 PM, Randy Walker wrote:

>
> Chuck,
> When I was at the Apple tech talk in LA, I brought up that issue and  
> they
> told me to go log any issues I can think of with the Apple bug  
> reporter.
> It's a known "issue," but the more people log reports, the more weight
> something receives.  Everyone agreed that we need a way to  
> programmatically
> hide both the top and bottom bars in Safari.
>
> Here's a link to the bug reporter:
> https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/wa/signIn
>
> After the tech talk, I logged about 12 different issues.  They said  
> feature
> requests should be filed under the bug reporter as well...so report  
> away.
> -=Randy
>
>
> On 8/24/07 1:19 PM, "mobilezebra" <[EMAIL PROTECTED]> wrote:
>
>>
>> Christopher,
>>
>> Are you at the Apple tech talk today? Can you bring up the issue of
>> hiding the URL bar to Apple as a topic that needs to be addressed? If
>> Apple wants people to develop web apps for iPhone then developers
>> should have an improved way to maximize screen space. What do you
>> think?
>>
>> A web app doesn't really need the top or the bottom bar in Safari.  
>> I'd
>> like to see some kind of auto-hide feature much like the Mac OS X  
>> Dock
>> can auto-hide to create more screen space for apps.
>>
>> Chuck
>>
>> On Aug 24, 11:27 am, "Christopher Allen"
>> <[EMAIL PROTECTED]> wrote:
>>> Most people on this list are using the iPhone script that hides the
>>> URL bar based on this example:
>>>
>>> <script type="application/x-javascript">
>>>
>>>   addEventListener("load", function()
>>>   {
>>>       setTimeout(hideURLbar, 0);
>>>   }, false);
>>>
>>>   function hideURLbar()
>>>   {
>>>       window.scrollTo(0, 1);
>>>   }
>>>
>>> </script>
>>>
>>> However, the problem with this technique is that URLs that have name
>>> references ( i.e.http://company.com/file.html#name) which should
>>> change the window.scrollTo to the <a name="name" /> tag, will fail  
>>> to
>>> work. This is because the window will be scrolled to the name before
>>> the page is fully loaded, and then the hideURLbar will be called  
>>> that
>>> will return the page to 0,1.
>>>
>>> I've changed the example script for this for now so that this  
>>> function
>>> is only called when running on the iPhone:
>>>
>>> <script type="application/x-javascript">
>>>
>>>   if (navigator.userAgent.indexOf('iPhone') != -1)
>>>   {
>>>       addEventListener("load", function()
>>>       {
>>>       setTimeout(hideURLbar, 0);
>>>       }, false);
>>>   }
>>>
>>>   function hideURLbar()
>>>   {
>>>       window.scrollTo(0, 1);
>>>   }
>>>
>>> </script>
>>>
>>> A better solution might be to look at the URL being loaded and if it
>>> contains a #name reference, it should not hide the URL bar. Or maybe
>>> there is some way to hide the URL bar and then move to the reference
>>> anchor.
>>>
>>> I'd like to update the iPhoneWebDev examples page on this topic,  
>>> so if
>>> anyone wants to write a better script, I would welcome it.
>>>
>>> -- Christopher Allen
>>
>>
>>>
>
>
>
> >


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