This is a migrated thread and some comments may be shown as answers.

Programmatically Show / Hide Back Button

2 Answers 251 Views
NavBar
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 14 May 2012, 10:30 AM
Hi,

Was just going to just JQuery show / hide but this CSS code removes the entire navbar?

<div id="header" data-role="layout" data-id="app">
        <header data-role="header">
            <div id="navbar" data-role="navbar">
                <a id="navbar_back" style="display:none" data-role="backbutton" data-align="left">Back</a>
                <span id="viewtitle" data-role="view-title">One Min Changes</span>
            </div> 
        </header>

Thanks
Matt

2 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 15 May 2012, 10:06 AM
Hello Matthew,

Currently the NavBar itself doesn't have height and the title in it is set to position: absolute when there are buttons in there. We will think of a way to improve this in future releases, meanwhile as a workaround you can either set height to the NavBar or use visibility: hidden instead of display: none.

Regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Matt
Top achievements
Rank 1
answered on 15 May 2012, 02:57 PM
Hi Kamen,

I will try height workaround and look out for long term fix :)

Thanks
Matt
Tags
NavBar
Asked by
Matt
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Matt
Top achievements
Rank 1
Share this question
or