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