Isaac
asked on
Hide SharePoint toolbar
ASKER
OUCH!
The govt agency I work for blocks that download.
Any other suggestions?
The govt agency I work for blocks that download.
Any other suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Probably just a question of refining which DIV or other element is not displayed. Try one further in the markup.
Further, if all else fails you could add some more css to set the display of those particular button elements to 'inline' with the !important attribute to trump your other css that's hiding the bar...
Further, if all else fails you could add some more css to set the display of those particular button elements to 'inline' with the !important attribute to trump your other css that's hiding the bar...
display: inline I mean!
ASKER
Ok.
I view source and it was pretty ugly. I have highletted the buttons. How would I do the inline? The name are long
I view source and it was pretty ugly. I have highletted the buttons. How would I do the inline? The name are long
<td width="99%" class="ms-toolbar" nowrap><IMG SRC="/_layouts/images/blank.gif" width="1" height="18"></td><td class="ms-toolbar" nowrap><a onclick="GoToLink(this); return false;" target="_self" href="../../Lists/Registrations/Register.aspx?CourseID=1&CourseTitle=Action+Officer+Training+Session&CourseStartTime=2012-04-12T18:00:00Z&CourseEndTime=2012-04-12T19:00:00Z&IsAvailableSeating=true"><input type="button" class="ms-ButtonHeightWidth2" [b]value="My Registration" [/b]name="btnFormAction2"></a></td><td class="ms-separator"> </td><td class="ms-toolbar" nowrap align="right">
<TABLE cellpadding=0 cellspacing=0 width=100%><TR><TD align="right" width=100% nowrap>
<input type="button" name="ctl00$m$g_c948d588_d488_486e_91d2_8a335c180cf9$gobackbutton2$ctl00$diidIOGoBack" [b]value="Close"[/b] onclick="STSNavigate('https:\u002f\u002fintranet\u002fciog6\u002fGACKO\u002fptr\u002fLists\u002fCourses\u002fcalendar.aspx');return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$m$g_c948d588_d488_486e_91d2_8a335c180cf9$gobackbutton2$ctl00$diidIOGoBack", "", true, "", "", false, true))" id="ctl00_m_g_c948d588_d488_486e_91d2_8a335c180cf9_gobackbutton2_ctl00_diidIOGoBack" accesskey="C" class="ms-ButtonHeightWidth" target="_self" />
</TD> </TR>
ASKER
JamieMcAllister,
Thanks for your help. It led me to this.
table.ms-toolbar, .ms-toolbarContainer{ display:none}
The above hid the toolbar except the buttons.
Thanks for your help. It led me to this.
table.ms-toolbar, .ms-toolbarContainer{ display:none}
The above hid the toolbar except the buttons.
Use the IE Developer Toolbar to determine the class or id of the markup that surrounds the toolbar, and insert some CSS or JQuery into a content editor webpart to set style of display=none.
If this should be hidden beyond single page, reference the CSS via masterpage instead.
Developer toolbar is opened by pressing F12 in IE. If you dont have it by default it can be downloaded from MS.