On 7/23/10 10:04 AM, nunocosta wrote:
I copyed this msg from iUI dev group posted by myself.


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

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