mazman13 Posted September 26, 2008 Share Posted September 26, 2008 I have three sites on the same server with different domains. I want to put a code on each site that I can activate from time to time with some kinda of special event banner. Something where I can make one or two changes somewhere and it go global. I was thinking something like this for the top of each webpage: <?php include("../promo.php"); ?> My promo.php page would be like this: <img src="somepromo.jpg" id="promo"/> And then on my CSS page it would be like this: #promo { width:760px; margin:0 auto; display:none; /* I can change this to block or something when I want the banner to display on the sites. Other wise it would just be none and the banner wouldn't effect the sites. */ } Would something like that work? Or is there an easy way to do all of this? Quote Link to comment Share on other sites More sharing options...
mazman13 Posted October 1, 2008 Author Share Posted October 1, 2008 Something like that seems to work. I've tested it but I havn't used it for real yet. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.