OK, then make the menu a direct child of the body as well, move all of this:
Code:
<!-- begin cascading site menu -->
<div id="siteNav" style="left: 50%; margin-left: -499px;">
<ul id="navigation-1">
<li class="tools">
<a id="ctl00_ctl00_BodyContentPlaceHolder_ctlHeader_Dropdowns_rptTopLevelNodes_ctl00_lnkTopLevelNode"></a>
<a href="/tools.aspx">
TOOLS</a>
<div class="navigation-2 ">
<div c . . .
. . . </ul>
</div>
</div>
</li>
</ul>
</div>
<!-- end cascading site menu -->
To here and add the highlighted style as shown or put its rules in the stylesheet for that element:
Code:
. . . </script>
<!-- End SBD Global Google analytics tracking code -->
<title>
DEWALT | Power Tools, Contractor Tools and Accessories
</title></head>
<body id="ctl00_ctl00_mybody">
<!-- ClickTale Top part -->
<script type="text/javascript">
var WRInitTime = (new Date()).getTime();
</script>
<!-- ClickTale end of Top part -->
<!-- begin cascading site menu -->
<div id="siteNav" style="left: 50%; margin-left: -499px;">
<ul id="navigation-1">
<li class="tools">
<a id="ctl00_ctl0 . . .
Alternate Method:
Or you can skip all that and just add this script as shown:
Code:
<!-- consolidated root.Master js -->
<script type="text/javascript" src="../assets/js/rootMaster.js"></script>
<script type="text/javascript">
jQuery(function($){
$('body').prepend($('#siteNav').css({left: '50%', marginLeft: -499}));
});
</script>
<!-- CSS: jQuery-UI: core + effects + theme -->
<link type="text/css" href="../assets/lib/jquery-ui/jquery-ui-1.7.2.css" rel="stylesheet" />
Bookmarks