facebook

How to hide/show a panels within a page, if a page contains

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #333477 Reply

    leesam
    Member

    How to hide/show a panels within a page, if a page contains more than 1 panels? I’ve been trying to use .css(‘visibility’, ‘hidden’), but it’s does not work at all. Hope someone can help.

    #333479

    WaylandDavis
    Member

    This is what I use:

    $(“#m1-splitcheck-calcpanel”).hide(); // Hide the calculator panel
    $(“#m1-splitcheck-calcpanel”).show(); // show the calculator panel

    As Wayne says below:

    $(“#m1-testpanel-panel1”).css(“visibility”, “hidden”); // Hide the panel
    $(“#m1-testpanel-panel1”).css(“visibility”, “visible”); // Show the panel

    These work too and are more universal between platforms.

    wildwex

    #333490

    support-michael
    Keymaster

    Instead of show()/hide() set the css directly on the top level <div> of the panel widget. Here are a couple of snippets that should work:

        $('#m1-test-panel').css('visibility', 'visible');
        $('#m1-test-panel').css('visibility', 'hidden'); 
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to hide/show a panels within a page, if a page contains

You must be logged in to post in the forum log in