I would think adding a contentplaceholder which is replaced by your home 
page's page layout would be a better option, as this means the banner would 
only be downloaded to the client on the home page, not every page and then 
hidden on most of them by javasscript or css

From: [email protected]
To: [email protected]
Subject: RE: suggestions to solve a banner problem
Date: Sat, 12 Feb 2011 10:10:04 +1000








Thanks Guys, some great suggestions, I’ll definitely try them out on Monday! 
 
From: [email protected] [mailto:[email protected]] On Behalf Of 
Dan Sheedy
Sent: Friday, 11 February 2011 10:15 PM
To: ozMOSS
Subject: Re: suggestions to solve a banner problem
 
2 options. Add some javascript on the master page to check the url and either 
hide/display the banner element. 

 

https://developer.mozilla.org/en/DOM/window.location

 


Or again, have the banner element in the master page, hide it by default in 
your custom.css and use a content editor web part to override the display 
property when needed.

 

http://www.endusersharepoint.com/2010/01/29/style-a-page-using-the-content-editor-web-part-and-css/

 

Both ways you can leave the element in the master page and not worry about the 
other pages. 


 

On Fri, Feb 11, 2011 at 7:59 PM, ken zheng <[email protected]> wrote:

you can just embed the JQeury into your front page to change the image

 



From: [email protected]
To: [email protected]

Subject: RE: suggestions to solve a banner problem
Date: Fri, 11 Feb 2011 17:28:17 +1000


 

Are you suggesting something like having the banner in a div tag, and changing 
the style sheet to display:none if it’s not the site root? I could look into 
that…
 


From: [email protected] [mailto:[email protected]] On Behalf Of 
ken zheng
Sent: Friday, 11 February 2011 3:58 PM
To: [email protected]
Subject: RE: suggestions to solve a banner problem
 
have you considered using Javscript/JQuery to change the style sheet?

Ken



From: [email protected]
To: [email protected]
Subject: suggestions to solve a banner problem
Date: Fri, 11 Feb 2011 14:48:45 +1000

Hey all,
 
Wondering if anyone can suggest a solution to this problem.
 
The client wants a banner on the front page (preferably only the front page but 
could be at the top level of the site if that is the easiest way).
 
I can create a custom master page, but I do not want this master page used on 
any new subsites created. 
 
I have considered everything from a custom placeholder on the page (don’t know 
if this would work) or using a custom layout?? Going round in circles and hoped 
somebody out there has had this issue before. I figure there has to be an easy 
way to solve this – I think I’m looking too hard…
 
Any suggestions?
 
Maxine Harwood | Solutions Architect
Red Box IT 
0410 525 989 | 07 3056 1725 (VoIP)
www.redboxit.com.au
ABN: 96 189 767 742 | ACN: 125 489 278
 
 

_______________________________________________ ozmoss mailing list 
[email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss 

_______________________________________________ ozmoss mailing list 
[email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss 

_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
 
_______________________________________________ ozmoss mailing list 
[email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss         
                              
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to