Hi,

I've found similar problem with Dashcode.

Have you tried to create 2 class (one is btn_hidden the other is
btn_display) and to use visibility rather than display.

Just to swap the className to display and hide the button.

HTH

On Fri, Apr 24, 2009 at 7:57 AM, vivar <[email protected]> wrote:

>
> Hi,
>
> The following takes place on my localhost. I have an extra button
> added to iui. Inside iui.js the following was added to the end of
> function updatePage(page, fromPage):
>
> var extraButton = $("extraButton");
>    if (extraButton)
>    {
>        var label = page.getAttribute("extraLabel");
>        var href  = page.getAttribute("extraHref");
>        if (label && href)
>        {
>            extraButton.style.display = "inline";
>            extraButton.setAttribute( "href", href );
>            extraButton.innerHTML = label;
>        }
>        else
>            extraButton.style.display = "none";
>    }
>
>
> In my html file the following was added to  <div class="toolbar">:
>
>  <a id="extraButton" class="button" href="#">Place-holder</a>
>
> Then this was added to the ul tag (there was also an addition to the
> css which just a copy of the back button but named extraButton):
>
>        <ul id="home" title="Home" selected="true" extraLabel="Back"
>                                extraHref= "
> http://localhost/mysite/test.html";>
>
> Problem: I want to call http://localhost/mysite/test.html which is in
> no way associated with iui, it is a completely separate page with
> completely different content and it's own css & javascript but resides
> on localhost with my iui project. What seems to be happening is that
> the test.html page is being opened within under the iui navigation
> bar.
>
> If I call "http://google.com"; the google page loads perfectly, but any
> page on localhost that I have tried is always being displayed within
> the iui framework. I'm sure there is something really silly that I am
> overlooking here.
>
> Any ideas would appreciated.
>
> Thank-you for your time.
>
> >
>


-- 
Yours,

Felix Jie Rong,
@:[email protected]
T:+61 433 56 2312

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