hi,
i made an new skin but now we have an site that doesn''t uses the right content and sometimes it uses the left content. but my mojoportal instalation alwas says that the center content got a right an a left margin and it also creates a right en a left content div but they are empty does any one know how to fix this?
my layout.master:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<portal:StyleSheetCombiner id="StyleSheetCombiner" runat="server" JQueryUIThemeName="cupertino" UseIconsForAdminLinks="false" AlwaysShowLeftColumn="false" AlwaysShowRightColumn="false"/>
<portal:IEStyleIncludes id="IEStyleIncludes1" runat="server" IncludeHtml5Script="true" />
<portal:MetaContent id="MetaContent" runat="server" />
<script language="JavaScript" src="/data/sites/1/Scripts/Flash.js"></script>
<!--[if lt IE 7]>
<link rel="stylesheet" href="/Data/Sites/1/skins/Finatics/ie7.css" type="text/css" id="IEMenuCSS" />
<![endif]-->
<!--[if IE]>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" /><meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />
<![endif]-->
<meta name="viewport" content="width=670, initial-scale=0.45, minimum-scale=0.45"/>
<portal:Favicon id="Favicon1" runat="server" />
<portal:ScriptLoader id="ScriptLoader1" runat="server" />
</head>
<body class="pagebody">
<form id="frmMain" runat="server">
<asp:SiteMapDataSource ID="SiteMapData" runat="server" ShowStartingNode="false" />
<asp:SiteMapDataSource ID="PageMapDataSource" runat="server" ShowStartingNode="false" />
<asp:SiteMapDataSource ID="ChildPageSiteMapData" runat="server" ShowStartingNode="false" />
<asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server" />
<div id="site">
<div id="header">
<script language="JavaScript" type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
'width', '100%',
'height', '171',
'src', '/data/sites/1/Flash/Voetbal',
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer_nl',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'exactfit',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'Golf',
'bgcolor', '#ffffff',
'name', 'Golf',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', '/data/sites/1/Flash/Voetbal',
'salign', ''
); //end AC code
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="100%" height="171" id="Voetbal" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="/data/sites/1/Flash/Voetbal.swf" /><param name="quality" value="high" /><param name="scale" value="exactfit" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /> <embed src="/data/sites/1/Flash/Voetbal.swf" quality="high" scale="exactfit" wmode="transparent" bgcolor="#ffffff" width="100%" height="171" name="Econe" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer_nl" />
</object>
</noscript>
</div>
<div id="menu">
<portal:SiteMenu id="SiteMenu1" runat="server"
UseTreeView="false" UseSpanInLinks="true" HideMenuOnSiteMap="false"
Direction="Horizontal" TopLevelOnly="true"></portal:SiteMenu>
</div>
<div id="content">
<asp:Panel id="divLeft" runat="server" cssclass="leftside" visible="True" SkinID="pnlPlain">
<portal:PageMenu id="PageMenu1" runat="server" UseTreeView="true" TreeViewShowExpandCollapse="true" />
<asp:contentplaceholder ID="leftContent" runat="server"></asp:contentplaceholder>
</asp:Panel>
<asp:Panel id="divCenter" runat="server" visible="True" cssclass="center-rightandleftmargins" SkinID="pnlPlain">
<portal:Breadcrumbs id="Breadcrumbs" runat="server"></portal:Breadcrumbs>
<portal:ChildPageMenu id="ChildPageMenu" runat="server" CssClass="txtnormal"></portal:ChildPageMenu>
<asp:ContentPlaceHolder ID="mainContent" runat="server"></asp:ContentPlaceHolder>
</asp:Panel>
<asp:Panel id="divRight" runat="server" visible="True" cssclass="rightside" SkinID="pnlPlain">
<asp:contentplaceholder ID="rightContent" runat="server"></asp:contentplaceholder>
</asp:Panel>
<div id="footer">
<a href="disclaimer.aspx">disclaimer</a> <a href="algemene-voorwaarden.aspx">algemene voorwaarden</a>
</div>
</div>
</div>
<script type="text/javascript">
function HideMenuToolbar(){ $("#toolbar").fadeOut(); $("#toolbarbut").fadeIn("slow");}
function ShowMenuToolbar(){ $("#toolbar").fadeIn(); $("#toolbarbut").fadeOut("slow");}
$(document).ready(function(){
$("span.downarr a").click(function() {HideMenuToolbar(); Set_Cookie('openstate', 'closed')});
$("span.showbar a").click(function() {ShowMenuToolbar(); Set_Cookie('openstate', 'open') });
$("span.downarr a, span.showbar a").click(function() { return false; });
var openState = Get_Cookie('openstate');
if(openState != null){ if(openState == 'closed'){HideMenuToolbar();} if(openState == 'open'){ShowMenuToolbar();}}
});
</script>
<portal:AutoHidePanel ID="ah1" runat="server">
<div id="toolbarbut">
<span class="showbar"><a href="#">show bar</a></span>
</div>
<div id="toolbar">
<div class="toolbarleft">
</div>
<div class="toolbarright">
<span class="downarr">
<a href="#"></a>
</span>
<portal:AdminMenuLink id="lnkAdminMenu" runat="server" />
<portal:FileManagerLink id="lnkFileManager" runat="server" />
<portal:NewPageLink id="lnkNewPage" runat="server" />
<portal:PageEditFeaturesLink id="lnkPageContent" runat="server" />
<portal:PageEditSettingsLink id="lnkPageSettings" runat="server" />
<asp:ContentPlaceHolder ID="pageEditContent" runat="server"></asp:ContentPlaceHolder>
</div>
</div>
</portal:AutoHidePanel>
<portal:mojoGoogleAnalyticsScript ID="mojoGoogleAnalyticsScript1" runat="server" />
<portal:Woopra ID="woopra11" runat="server" />
</form>
</body>
</html>
Thanks
Laurence Mommers