Yeah, iPhoneWebDev is a much better place to ask this type of question.
> It's possible hide an toolbar link, when I'm already in the slide?
You might want to take a look at Vic Hudson's TbBMod (Toolbar Button
Modification) extension:
http://code.google.com/p/iui/source/browse/#hg/web-app/iui/ext-sandbox/TbBMod
Demo here:
http://www.iui-js.org/iui/ext-sandbox/TbBMod/index.html
You'll have to get the code out of Mercurial as it hasn't been released
yet. You can also check the Issue DB for other approaches (I know of at
least one) for modifying the toolbar buttons based upon which
slide/view/"page" is currently active.
> So, if i'm already in this slide that is (id="menu") I wanted hide the
> "<a class="menu" href="#menu">Menu</a>" from toolbar, because if I
> click again in the link (if i'm already in slide Menu) the slide
> disappears.
Clicking on a link to the currently active page is a bug that has been
fixed along with another bug.
See Issue #191:
http://code.google.com/p/iui/issues/detail?id=191
The code is here:
http://code.google.com/p/iui/source/detail?r=6d775eba42500dbaf70192ab32290a0111251789
But if you make the button go away (a better UI approach) you shouldn't
have to worry about a link back to the current page.
-- Sean
The fix in Issue #7 Comment #4 is not the right fix for this issue. It
needs to be fixed in showPage (or equivalent) because external
JavaScript can call showPage, etc. Fixing it in the click handler won't
fix all cases.
The fix has been made here and will be in the next release:
http://code.google.com/p/iui/source/detail?r=6d775eba42500dbaf70192ab32290a0111251789
-- Sean
p.s. Please don't cross-post to both iPhoneWebDev and iui-developers.
Almost everyone (that answers questions) on iui-developers is also on
this list.
-- Sean
If you can't make your URL public, I highly recommend creating a simple
(static HTML if possible) test case that you can make available
publicly. It may even help you find and fix the problem before you get
to the point of publishing it...
-- Sean