SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

Blank Page

Drop this in a Content Editor Web Part on a web part page in a team site and see what happens:

<STYLE TYPE="text/css">
.ms-bannerContainer{Display:none}
.ms-bannerframe{Display:none}
.ms-bodyareaframe{Border:0}
.ms-bodyareapagemargin{Display:none}
.ms-globalbreadcrumb{Display:none}
.ms-globalleft{Display:none}
.ms-globalleft{Display:none}
.msgloballinks{Display:none}
.ms-globalright{Display:none}
.ms-globalTitleArea{Display:none}
.ms-navframe{Display:none}
.ms-pagebottommargin{Display:none}
.ms-pagebottommarginleft{Display:none}
.ms-pagebottommarginright{Display:none}
.ms-pagemargin{Display:none}
.ms-pagetitle{Display:none}
.ms-sitetitle{Display:none}
.ms-titlearea{Display:none}
.ms-titleareaframe{Display:none}
.ms-titlearealeft{Display:none}
.ms-titlearearight{Display:none}
.ms-titleimagearea{Display:none}
</STYLE>
<A href="java*script:MSOLayout_ToggleLayoutMode()" mce_href="java*script:MSOLayout_ToggleLayoutMode()">Toggle Edit</A>

Take the "*" characters out of the word "java*script and don't forget the colon after the work "java*script".

Also, be sure to set the chrome on your CEWP to none.

I find this Interesting.

 -robot


Posted 12-18-2007 9:25 AM by SPRobot

Comments

Geoff G wrote re: Blank Page
on 12-18-2007 9:36 AM

Hmmm....very cool. I think a page like this could come in handy one day. Especially if you wanted to display a page within a page (maybe set the site breadcrumbs with the same 'display:none' as well) or needed maximum real estate for something.

SPRobot wrote re: Blank Page
on 12-18-2007 10:21 AM

Okay, the sitebreadcrumbs class would be another good one to add but they don't show up on web part pages.  Then the meeting sites need the tab nav web part to go away too and you have to get it by it's ID or the rest of your web parts won't display either.

I've used this approach for runtime help screens where I'll call the web part page from a javascript function that make the window open like a smaller popup.

hth!

-robot

Links (12/18/2007) « Steve Pietrek’s SharePoint Stuff wrote Links (12/18/2007) &laquo; Steve Pietrek&#8217;s SharePoint Stuff
on 12-18-2007 8:43 PM

Pingback from  Links (12/18/2007) &laquo; Steve Pietrek&#8217;s SharePoint Stuff

Ocultar elementos de una página WSS « Jorge Dieguez Blog wrote Ocultar elementos de una p&aacute;gina WSS &laquo; Jorge Dieguez Blog
on 12-19-2007 12:45 AM

Pingback from  Ocultar elementos de una p&aacute;gina WSS &laquo; Jorge Dieguez Blog

Jorge Dieguez Blog wrote Ocultar elementos de una página WSS
on 12-19-2007 12:47 AM

En el Blog SharePoint From Scratch he encontrado un interesante truco(yo me lo conocía para SPS2003)

Jorge Dieguez Blog wrote Ocultar elementos de una página WSS
on 12-19-2007 12:48 AM

En el Blog SharePoint From Scratch he encontrado un interesante truco(yo me lo conoc&#237;a para SPS2003)

SharePoint From Scratch wrote The Help Popup
on 12-21-2007 10:30 AM

So we did the blank page a few posts ago. Now, try this: In a site called MySite , create a doc library

anime direct downloads wrote re: Blank Page
on 05-04-2009 10:30 PM
anime extend jinki wrote re: Blank Page
on 05-07-2009 9:59 AM
rent a center miami wrote re: Blank Page
on 05-27-2009 3:46 AM
on 06-14-2009 2:09 PM

astore.amazon.com/.../B001Q1CHV2 <a href=astore.amazon.com/.../B001Q1CHV2>Graco SnugRide 32 Infant Car Seat - Montreal</a>

contempo graco highchair wrote re: Blank Page
on 06-15-2009 8:20 PM
bissel wrote re: Blank Page
on 06-15-2009 9:13 PM
bissel wrote re: Blank Page
on 06-19-2009 10:24 AM

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.