I dont know if I am logically correct,but i have a situation where i have set of web pages sharing same ‘Header’ and ‘Footer’ section.When user is on ‘Home page’ he can click on ‘Gear’ icon present on ‘Header’ section to go to “Settings” page. Once user navigates to “Settings” page I want to hide this ‘Gear’ button as user is already on the ‘Settings’ page. As I am having Common ‘Header’ and ‘Footer’ sections,I am unclear about how to achieve this? can anybody give a hint for achieving the same?
Share
You can assign ids and classes to all the buttons you wish to show or hide.Then on each page, you could use Jquery to hide the buttons.
For example,
$(“#button2”).hide()