1

i have Mobile application in Icenium Graphite.

i have footer with tabs.

but i don't want to show all the tabs at once to user.

on login i want to show some tabs and so on.

i have tried using

                $("#addVehicle").show();
                $("#addVehicle").removeAttr("style");
                $("#addVehicle").attr("style", "display:block");

and style="display:none" at addVehicle but it is not working.

Also i tried data-role="view" and data-bind="invisible: isLoggedIn" but it is not for hiding or showing just a single tab.

Is there any solution for this?

Trupti
  • 597
  • 4
  • 8
  • 17

1 Answers1

0

In the data-show event of the view you are navigating to after login, you should be able to hide/show tabs by id. Have you tried that? If not, please provide a jsfiddle example.

Rob Lauer
  • 3,075
  • 1
  • 32
  • 44
  • @ Rob Lauer I tried following things: 1. Show Hide Anchor Tags using Show/Hide Methods 2. using css 3. using data-bind (it is useful only for
    )
    – Trupti Dec 19 '13 at 07:29
  • I would need to see more of your code to help you here. Can you create a jsfiddle or at least paste the relevant parts here? – Rob Lauer Dec 19 '13 at 13:47