1 Reply Latest reply on Jul 24, 2011 11:05 PM by Shilpa_

    locked by a template or a translator

    hychen89 Level 1

      Hi,

       

      I created a page from a template. It is wierd that when i try to add widget into the edit region, the error message "Making this change would require changing code that is locked by a template or a translator. The change will be discared." is coming out. Please take a look. Thank you.

       

      Below is the html file:

       

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin template="/Templates/NewSmartHomeTemplate.dwt" codeOutsideHTMLIsLocked="false" -->

       

      <head>

      <!-- INSERT TITLE -->

      <!-- InstanceBeginEditable name="doctitle" -->

      <title>Iowa State University Smart Home Project</title>

      <style type="text/css">

      /* BeginOAWidget_Instance_2141544: #MenuBar */

      /* Settable values for skinning a Basic menu via presets. If presets are not sufficient, most skinning should be done in

      these rules, with the exception of the images used for down or right pointing arrows, which are in the file SpryMenuBasic.css

       

      These assume the following widget classes for menu layout (set in a preset)

      .MenuBar - Applies to all menubars - default is horizontal bar, all submenus are vertical - 2nd level subs and beyond are pull-right.

      .MenuBarVertical - vertical main bar; all submenus are pull-right.

       

      You can also pass in extra classnames to set your desired top level menu bar layout. Normally, these are set by using a preset.

      They only apply to horizontal menu bars:

      MenuBarLeftShrink - The menu bar will be horizontally 'shrinkwrapped' to be just large enough to hold its items, and left aligned

      MenuBarRightShrink - Just like MenuBarLeftShrink, but right aligned

      MenuBarFixedLeft - Fixed at a specified width set in the rule '.MenuBarFixedLeft', and left aligned. 

      MenuBarFixedCentered -  - Fixed at a specified width set in the rule '.MenuBarFixedCentered',

      and centered in its parent container.

      MenuBarFullwidth - Grows to fill its parent container width.

       

      In general, all rules specified in this file are prefixed by #MenuBar so they only apply to instances of the widget inserted along

      with the rules. This permits use of multiple MenuBarBasic widgets on the same page with different layouts. Because of IE6 limitations,

      there are a few rules where this was not possible. Those rules are so noted in comments.

       

      */

       

      #MenuBar  {

      background-color:#cc0000;

      font-family: Arial, Helvetica, sans-serif; /* Specify fonts on on MenuBar and subMenu MenuItemContainer, so MenuItemContainer,

      MenuItem, and MenuItemLabel

      at a given level all use same definition for ems.

      Note that this means the size is also inherited to child submenus,

      so use caution in using relative sizes other than

      100% on submenu fonts. */

      font-weight: bold;

      font-size: 14px;

      font-style: normal;

      padding:0;

      border-color: #ffcc00 #ffcc00 #ffcc33 #ffcc33;

      border-width:2px;

      border-style: solid solid solid solid;

      }

      /* Caution: because ID+class selectors do not work properly in IE6, but we want to restrict these rules to just this

      widget instance, we have used string-concatenated classnames for our selectors for the layout type of the menubar

      in this section. These have very low specificity, so be careful not to accidentally override them. */

       

      .MenuBar br { /* using just a class so it has same specificity as the ".MenuBarFixedCentered br" rule bleow */

      display:none;

      }

      .MenuBarLeftShrink {

      float: left; /* shrink to content, as well as float the MenuBar */

      width: auto;

      }

      .MenuBarRightShrink {

      float: right; /* shrink to content, as well as float the MenuBar */

      width: auto;

      }

      .MenuBarFixedLeft {

      float: left;

      width: 577px;

      }

      .MenuBarFixedCentered {

      float: none;

      width: 577px;

      margin-left:auto;

      margin-right:auto;

      }

      .MenuBarFixedCentered br {

      clear:both;

      display:block;

      }

      .MenuBarFixedCentered .SubMenu br {

      display:none;

      }

      .MenuBarFullwidth {

      float: left;

      width: 100%;

      }

       

      /* Top level menubar items - these actually apply to all items, and get overridden for 1st or successive level submenus */

      #MenuBar  .MenuItemContainer {

      padding: 0px 0px 0px 0px;

      margin: 0; /* Zero out margin  on the item containers. The MenuItem is the active hover area.

      For most items, we have to do top or bottom padding or borders only on the MenuItem

      or a child so we keep the entire submenu tiled with items.

      Setting this to 0 avoids "dead spots" for hovering. */

      }

      #MenuBar  .MenuItem {

      padding: 0px 0px 0px 0px;

      background-color:#cc0000;

      border-width:1px;

      border-color: #cccccc #ffcc00 #cccccc #ffcc00;

      border-style: none solid none solid;

      }

      #MenuBar  .MenuItemFirst {

      border-style: none solid none none;

      }

      #MenuBar .MenuItemLast {

      border-style: none none none solid;

      }

       

      #MenuBar  .MenuItem  .MenuItemLabel{

      text-align:center;

      line-height:1.4em;

      color:#ffffff;

      background-color:#cc0000;

      padding: 6px 15px 6px 15px;

      width: 112px;

       

      }

      .SpryIsIE6 #MenuBar  .MenuItem  .MenuItemLabel{

      width:1em; /* Equivalent to min-width in modern browsers */

      }

       

      /* First level submenu items */

      #MenuBar .SubMenu  .MenuItem {

      font-family: Arial, Helvetica, sans-serif;

      font-weight: bold;

      font-size: 13px;

      font-style: normal;

      background-color:#ffffff;

      padding:0px 2px 0px 0px;

      border-width:1px;

      border-color: #ffcc33 #ffcc33 #ffcc33 #ffcc33;

      /* Border styles are overriden by first and last items */

      border-style: solid solid none solid;

      }

      #MenuBar  .SubMenu .MenuItemFirst {

      border-style: solid solid none solid;

      }

      #MenuBar  .SubMenu .MenuItemFirst .MenuItemLabel{

      padding-top: 6px;

      }

      #MenuBar .SubMenu .MenuItemLast {

      border-style: solid solid solid solid;

      }

      #MenuBar .SubMenu .MenuItemLast .MenuItemLabel{

      padding-bottom: 6px;

      }

      #MenuBar .SubMenu .MenuItem .MenuItemLabel{

      text-align:left;

      line-height:1em;

      background-color:#ffffff;

      color:#333333;

      padding: 6px 12px 6px 5px;

      width: 7em;

      width:auto;

      }

       

      /* Hover states for containers, items and labels */

      #MenuBar .MenuItemHover {

      background-color: #cc3333;

      border-color: #cccccc #ff9900 #cccccc #ff6600;

      }

       

      #MenuBar .MenuItemWithSubMenu.MenuItemHover .MenuItemLabel{

      background-color: #cc3333; /* consider exposing this prop separately*/

      color: #ffffff;

      }

      #MenuBar .MenuItemHover .MenuItemLabel{

      background-color: #cc3333;

      color: #ffffff;

      }

      #MenuBar .SubMenu .MenuItemHover {

      background-color: #cccccc;

      border-color: #ffcc33 #ffcc33 #ffcc33 #ffcc33;

      }

       

      #MenuBar .SubMenu .MenuItemHover .MenuItemLabel{

      background-color: #cccccc;

      color: #333333;

      }

      /* Submenu properties -- First level of submenus */

      #MenuBar .SubMenuVisible {

      background-color: #cc3333;

      min-width:0%;  /* This keeps the menu from being skinnier than the parent MenuItemContainer - nice to have but not available on ie6 */

      border-color: #ffffff #ffffff #ffffff #ffffff;

      border-width:0px;

      border-style: none none none none;

      }

      #MenuBar.MenuBar .SubMenuVisible {/* For Horizontal menubar only */

      top: 100%; /* 100% is at the bottom of parent menuItemContainer */

      left:0px; /* 'left' may need tuning depending upon borders or padding applied to menubar MenuItemContainer or MenuItem,

      and your personal taste.

      0px will left align the dropdown with the content area of the MenuItemContainer. Assuming you keep the margins 0

      on MenuItemContainer and MenuItem on the parent

      menubar, making this equal the sum of the MenuItemContainer & MenuItem padding-left will align

      the dropdown with the left of the menu item label.*/

      z-index:10;

      }

      #MenuBar.MenuBarVertical .SubMenuVisible {

      top: 0px;

      left:100%;

      min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse */

      }

      /* Submenu properties -- Second level submenu and beyond - these are visible descendents of .MenuLevel1 */

      #MenuBar .MenuLevel1 .SubMenuVisible {

      background-color: #cc3333;

      min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse*/

      top: 0px; /* If desired, you can move this down a smidge to separate top item''s submenu from menubar -

      that is really only needed for submenu on first item of MenuLevel1, or you can make it negative to make submenu more

      vertically 'centered' on its invoking item */

      left:100%; /* If you want to shift the submenu left to partially cover its invoking item, you can add a margin-left with a

      negative value to this rule. Alternatively, if you use fixed-width items, you can change this left value

      to use px or ems to get the offset you want. */

      }

      /* IE6 rules - you can delete these if you do not want to support IE6 */

       

      /* A note about multiple classes in IE6.

      * Some of the rules above use multiple class names on an element for selection, such as "hover" (MenuItemHover) and "has a subMenu" (MenuItemWithSubMenu),

      * giving the selector '.MenuItemWithSubMenu.MenuItemHover'.

      * Unfortunately IE6 does not support using mutiple classnames in a selector for an element. For a selector such as '.foo.bar.baz', IE6 ignores

      * all but the final classname (here, '.baz'), and sets the specificity accordingly, counting just one of those classs as significant. To get around this

      * problem, we use the plugin in SpryMenuBarIEWorkaroundsPlugin.js to generate compound classnames for IE6, such as 'MenuItemWithSubMenuHover'.

      * Since there are a lot of these needed, the plugin does not generate the extra classes for modern browsers, and we use the CSS2 style mutltiple class

      * syntax for that. Since IE6 both applies rules where

      * it should not, and gets the specificity wrong too, we have to order rules carefully, so the rule misapplied in IE6 can be overridden.

      * So, we put the multiple class rule first. IE6 will mistakenly apply this rule.  We follow this with the single-class rule that it would

      * mistakenly override, making sure the  misinterpreted IE6 specificity is the same as the single-class selector, so the latter wins.

      * We then create a copy of the multiple class rule, adding a '.SpryIsIE6' class as context, and making sure the specificity for

      * the selector is high enough to beat the single-class rule in the "both classes match" case. We place the IE6 rule at the end of the

      * css style block to make it easy to delete if you want to drop IE6 support.

      * If you decide you do not need IE6 support, you can get rid of these, as well as the inclusion of the SpryMenuBarIEWorkaroundsPlugin.js script.

      * The 'SpryIsIE6' class is placed on the HTML element by  the script in SpryMenuBarIEWorkaroundsPlugin.js if the browser is Internet Explorer 6. This avoids the necessity of IE conditional comments for these rules.

      */

      .SpryIsIE6 #MenuBar .MenuBarView .MenuItemWithSubMenuHover .MenuItemLabel /* IE6 selector  */{

      background-color: #cc3333; /* consider exposing this prop separately*/

      color: #ffffff;

      }

      .SpryIsIE6 #MenuBar .MenuBarView .SubMenu .MenuItemWithSubMenuHover .MenuItemLabel/* IE6 selector  */{

      background-color: #cccccc; /* consider exposing this prop separately*/

      color: #333333;

      }

      .SpryIsIE6 #MenuBar .SubMenu .SubMenu  /* IE6 selector  */{

      margin-left: -0px; /* Compensates for at least part of an IE6 "double padding" version of the "double margin" bug */

      }

       

       

      /* EndOAWidget_Instance_2141544 */

      </style>

      <!-- InstanceEndEditable -->

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

       

      <!-- CHANGE STYLESHEET LINK  -->

      <link rel="stylesheet" media="all" href="styles/isuP.css" />

       

      <!-- INSERT ADDITIONAL STYLESHEET, IF DESIRED -->

       

      <!-- INSERT INLINE STYLES, IF DESIRED -->

      <style type="text/css">

      <!--

      .rphoto125 { float: right; width: 125px; border: 1px solid #000; }

      .lphoto60 { float: left; width: 60px; margin-right: 5px; border: 1px

      solid #000;}

      .lphoto250 { float: left; width: 250px; margin-right: 5px; border: 1px solid #000; }

      #b3 { width: 355px; }

      #c3 { width: 245px; }

      #hilite2 { font-size: x-small; padding: .5em .5em .5em 2.5em;}

      -->

      </style>

       

       

      <!-- INSERT PAGE CONTENT, KEYWORDS -->

      <meta name="description" content="Describe content of page here." />

      <meta name="keywords" content="keyword, keyword, keyword, keyword" />

      <link href="styles/MyStyles.css" rel="stylesheet" type="text/css" />

      <style type="text/css">

      <!--

      .style2 {font-size: 95%}

      -->

      </style>

      <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/includes/jquery-1.4.2.js" type="text/javascript"></script>

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/jQuery/js/jquery.jsocial.js" type="text/javascript"></script>

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/Spry-UI-1.7/includes/SpryMenu.js" type="text/javascript"></script>

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarKeyNavigationP lugin.js" type="text/javascript"></script>

      <script src="file:///Macintosh HD/Users/hongyuchen/Sites/Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarIEWorkaroundsP lugin.js" type="text/javascript"></script>

      <link href="file:///Macintosh HD/Users/hongyuchen/Sites/jQuery/css/style.css" rel="stylesheet" type="text/css" />

      <script type="text/xml">

      <!--

      <oa:widgets>

        <oa:widget wid="2149023" binding="#social" />

        <oa:widget wid="2141544" binding="#MenuBar" />

      </oa:widgets>

      -->

      </script>

      <link href="file:///Macintosh HD/Users/hongyuchen/Sites/Spry-UI-1.7/css/Menu/basic/SpryMenuBasic.css" rel="stylesheet" type="text/css" />

      <style type="text/css">

      /* BeginOAWidget_Instance_2141544: #MenuBar */

      /* Settable values for skinning a Basic menu via presets. If presets are not sufficient, most skinning should be done in

      these rules, with the exception of the images used for down or right pointing arrows, which are in the file SpryMenuBasic.css

       

      These assume the following widget classes for menu layout (set in a preset)

      .MenuBar - Applies to all menubars - default is horizontal bar, all submenus are vertical - 2nd level subs and beyond are pull-right.

      .MenuBarVertical - vertical main bar; all submenus are pull-right.

       

      You can also pass in extra classnames to set your desired top level menu bar layout. Normally, these are set by using a preset.

      They only apply to horizontal menu bars:

      MenuBarLeftShrink - The menu bar will be horizontally 'shrinkwrapped' to be just large enough to hold its items, and left aligned

      MenuBarRightShrink - Just like MenuBarLeftShrink, but right aligned

      MenuBarFixedLeft - Fixed at a specified width set in the rule '.MenuBarFixedLeft', and left aligned. 

      MenuBarFixedCentered -  - Fixed at a specified width set in the rule '.MenuBarFixedCentered',

      and centered in its parent container.

      MenuBarFullwidth - Grows to fill its parent container width.

       

      In general, all rules specified in this file are prefixed by #MenuBar so they only apply to instances of the widget inserted along

      with the rules. This permits use of multiple MenuBarBasic widgets on the same page with different layouts. Because of IE6 limitations,

      there are a few rules where this was not possible. Those rules are so noted in comments.

       

      */

       

      #MenuBar  {

      background-color:#cc0000;

      font-family: Arial, Helvetica, sans-serif; /* Specify fonts on on MenuBar and subMenu MenuItemContainer, so MenuItemContainer,

      MenuItem, and MenuItemLabel

      at a given level all use same definition for ems.

      Note that this means the size is also inherited to child submenus,

      so use caution in using relative sizes other than

      100% on submenu fonts. */

      font-weight: bold;

      font-size: 14px;

      font-style: normal;

      padding:0;

      border-color: #ffcc00 #ffcc00 #ffcc33 #ffcc33;

      border-width:2px;

      border-style: solid solid solid solid;

      }

      /* Caution: because ID+class selectors do not work properly in IE6, but we want to restrict these rules to just this

      widget instance, we have used string-concatenated classnames for our selectors for the layout type of the menubar

      in this section. These have very low specificity, so be careful not to accidentally override them. */

       

      .MenuBar br { /* using just a class so it has same specificity as the ".MenuBarFixedCentered br" rule bleow */

      display:none;

      }

      .MenuBarLeftShrink {

      float: left; /* shrink to content, as well as float the MenuBar */

      width: auto;

      }

      .MenuBarRightShrink {

      float: right; /* shrink to content, as well as float the MenuBar */

      width: auto;

      }

      .MenuBarFixedLeft {

      float: left;

      width: 577px;

      }

      .MenuBarFixedCentered {

      float: none;

      width: 577px;

      margin-left:auto;

      margin-right:auto;

      }

      .MenuBarFixedCentered br {

      clear:both;

      display:block;

      }

      .MenuBarFixedCentered .SubMenu br {

      display:none;

      }

      .MenuBarFullwidth {

      float: left;

      width: 100%;

      }

       

      /* Top level menubar items - these actually apply to all items, and get overridden for 1st or successive level submenus */

      #MenuBar  .MenuItemContainer {

      padding: 0px 0px 0px 0px;

      margin: 0; /* Zero out margin  on the item containers. The MenuItem is the active hover area.

      For most items, we have to do top or bottom padding or borders only on the MenuItem

      or a child so we keep the entire submenu tiled with items.

      Setting this to 0 avoids "dead spots" for hovering. */

      }

      #MenuBar  .MenuItem {

      padding: 0px 0px 0px 0px;

      background-color:#cc0000;

      border-width:1px;

      border-color: #cccccc #ffcc00 #cccccc #ffcc00;

      border-style: none solid none solid;

      }

      #MenuBar  .MenuItemFirst {

      border-style: none solid none none;

      }

      #MenuBar .MenuItemLast {

      border-style: none none none solid;

      }

       

      #MenuBar  .MenuItem  .MenuItemLabel{

      text-align:center;

      line-height:1.4em;

      color:#ffffff;

      background-color:#cc0000;

      padding: 6px 15px 6px 15px;

      width: 112px;

       

      }

      .SpryIsIE6 #MenuBar  .MenuItem  .MenuItemLabel{

      width:1em; /* Equivalent to min-width in modern browsers */

      }

       

      /* First level submenu items */

      #MenuBar .SubMenu  .MenuItem {

      font-family: Arial, Helvetica, sans-serif;

      font-weight: bold;

      font-size: 13px;

      font-style: normal;

      background-color:#ffffff;

      padding:0px 2px 0px 0px;

      border-width:1px;

      border-color: #ffcc33 #ffcc33 #ffcc33 #ffcc33;

      /* Border styles are overriden by first and last items */

      border-style: solid solid none solid;

      }

      #MenuBar  .SubMenu .MenuItemFirst {

      border-style: solid solid none solid;

      }

      #MenuBar  .SubMenu .MenuItemFirst .MenuItemLabel{

      padding-top: 6px;

      }

      #MenuBar .SubMenu .MenuItemLast {

      border-style: solid solid solid solid;

      }

      #MenuBar .SubMenu .MenuItemLast .MenuItemLabel{

      padding-bottom: 6px;

      }

      #MenuBar .SubMenu .MenuItem .MenuItemLabel{

      text-align:left;

      line-height:1em;

      background-color:#ffffff;

      color:#333333;

      padding: 6px 12px 6px 5px;

      width: 7em;

      width:auto;

      }

       

      /* Hover states for containers, items and labels */

      #MenuBar .MenuItemHover {

      background-color: #cc3333;

      border-color: #cccccc #ff9900 #cccccc #ff6600;

      }

       

      #MenuBar .MenuItemWithSubMenu.MenuItemHover .MenuItemLabel{

      background-color: #cc3333; /* consider exposing this prop separately*/

      color: #ffffff;

      }

      #MenuBar .MenuItemHover .MenuItemLabel{

      background-color: #cc3333;

      color: #ffffff;

      }

      #MenuBar .SubMenu .MenuItemHover {

      background-color: #cccccc;

      border-color: #ffcc33 #ffcc33 #ffcc33 #ffcc33;

      }

       

      #MenuBar .SubMenu .MenuItemHover .MenuItemLabel{

      background-color: #cccccc;

      color: #333333;

      }

      /* Submenu properties -- First level of submenus */

      #MenuBar .SubMenuVisible {

      background-color: #cc3333;

      min-width:0%;  /* This keeps the menu from being skinnier than the parent MenuItemContainer - nice to have but not available on ie6 */

      border-color: #ffffff #ffffff #ffffff #ffffff;

      border-width:0px;

      border-style: none none none none;

      }

      #MenuBar.MenuBar .SubMenuVisible {/* For Horizontal menubar only */

      top: 100%; /* 100% is at the bottom of parent menuItemContainer */

      left:0px; /* 'left' may need tuning depending upon borders or padding applied to menubar MenuItemContainer or MenuItem,

      and your personal taste.

      0px will left align the dropdown with the content area of the MenuItemContainer. Assuming you keep the margins 0

      on MenuItemContainer and MenuItem on the parent

      menubar, making this equal the sum of the MenuItemContainer & MenuItem padding-left will align

      the dropdown with the left of the menu item label.*/

      z-index:10;

      }

      #MenuBar.MenuBarVertical .SubMenuVisible {

      top: 0px;

      left:100%;

      min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse */

      }

      /* Submenu properties -- Second level submenu and beyond - these are visible descendents of .MenuLevel1 */

      #MenuBar .MenuLevel1 .SubMenuVisible {

      background-color: #cc3333;

      min-width:0px; /* Do not neeed to match width to parent MenuItemContainer - items will prevent total collapse*/

      top: 0px; /* If desired, you can move this down a smidge to separate top item''s submenu from menubar -

      that is really only needed for submenu on first item of MenuLevel1, or you can make it negative to make submenu more

      vertically 'centered' on its invoking item */

      left:100%; /* If you want to shift the submenu left to partially cover its invoking item, you can add a margin-left with a

      negative value to this rule. Alternatively, if you use fixed-width items, you can change this left value

      to use px or ems to get the offset you want. */

      }

      /* IE6 rules - you can delete these if you do not want to support IE6 */

       

      /* A note about multiple classes in IE6.

      * Some of the rules above use multiple class names on an element for selection, such as "hover" (MenuItemHover) and "has a subMenu" (MenuItemWithSubMenu),

      * giving the selector '.MenuItemWithSubMenu.MenuItemHover'.

      * Unfortunately IE6 does not support using mutiple classnames in a selector for an element. For a selector such as '.foo.bar.baz', IE6 ignores

      * all but the final classname (here, '.baz'), and sets the specificity accordingly, counting just one of those classs as significant. To get around this

      * problem, we use the plugin in SpryMenuBarIEWorkaroundsPlugin.js to generate compound classnames for IE6, such as 'MenuItemWithSubMenuHover'.

      * Since there are a lot of these needed, the plugin does not generate the extra classes for modern browsers, and we use the CSS2 style mutltiple class

      * syntax for that. Since IE6 both applies rules where

      * it should not, and gets the specificity wrong too, we have to order rules carefully, so the rule misapplied in IE6 can be overridden.

      * So, we put the multiple class rule first. IE6 will mistakenly apply this rule.  We follow this with the single-class rule that it would

      * mistakenly override, making sure the  misinterpreted IE6 specificity is the same as the single-class selector, so the latter wins.

      * We then create a copy of the multiple class rule, adding a '.SpryIsIE6' class as context, and making sure the specificity for

      * the selector is high enough to beat the single-class rule in the "both classes match" case. We place the IE6 rule at the end of the

      * css style block to make it easy to delete if you want to drop IE6 support.

      * If you decide you do not need IE6 support, you can get rid of these, as well as the inclusion of the SpryMenuBarIEWorkaroundsPlugin.js script.

      * The 'SpryIsIE6' class is placed on the HTML element by  the script in SpryMenuBarIEWorkaroundsPlugin.js if the browser is Internet Explorer 6. This avoids the necessity of IE conditional comments for these rules.

      */

      .SpryIsIE6 #MenuBar .MenuBarView .MenuItemWithSubMenuHover .MenuItemLabel /* IE6 selector  */{

      background-color: #cc3333; /* consider exposing this prop separately*/

      color: #ffffff;

      }

      .SpryIsIE6 #MenuBar .MenuBarView .SubMenu .MenuItemWithSubMenuHover .MenuItemLabel/* IE6 selector  */{

      background-color: #cccccc; /* consider exposing this prop separately*/

      color: #333333;

      }

      .SpryIsIE6 #MenuBar .SubMenu .SubMenu  /* IE6 selector  */{

      margin-left: -0px; /* Compensates for at least part of an IE6 "double padding" version of the "double margin" bug */

      }

       

       

      /* EndOAWidget_Instance_2141544 */

      </style>

      </head>

       

      <body>

      <div id="container">

       

      <!-- BANNER. DO NOT CHANGE.  -->

      <div id="masthead">

      <div id="nameplate">

      <a href="http://www.iastate.edu/">

      <img src="http://www.iastate.edu/img/04/isu200.gif"

      alt="Iowa State University" width="200" height="15" /></a>

       

      </div>

       

      <div id="index">

        <a href="http://www.iastate.edu/index/alpha/A.shtml" id="indexlabel">INDEX</a>

        <a href="http://www.iastate.edu/index/alpha/A.shtml" class="abc" id="a">A</a>

        <a href="http://www.iastate.edu/index/alpha/B.shtml" class="abc" id="b">B</a>

        <a href="http://www.iastate.edu/index/alpha/C.shtml" class="abc" id="c">C</a>

       

        <a href="http://www.iastate.edu/index/alpha/D.shtml" class="abc" id="d">D</a>

        <a href="http://www.iastate.edu/index/alpha/E.shtml" class="abc" id="e">E</a>

        <a href="http://www.iastate.edu/index/alpha/F.shtml" class="abc" id="f">F</a>

        <a href="http://www.iastate.edu/index/alpha/G.shtml" class="abc" id="g">G</a>

        <a href="http://www.iastate.edu/index/alpha/H.shtml" class="abc" id="h">H</a>

        <a href="http://www.iastate.edu/index/alpha/I.shtml" class="abc" id="i">I</a>

       

        <a href="http://www.iastate.edu/index/alpha/J.shtml" class="abc" id="j">J</a>

        <a href="http://www.iastate.edu/index/alpha/K.shtml" class="abc" id="k">K</a>

        <a href="http://www.iastate.edu/index/alpha/L.shtml" class="abc" id="l">L</a>

        <a href="http://www.iastate.edu/index/alpha/M.shtml" class="abc" id="m">M</a>

        <a href="http://www.iastate.edu/index/alpha/N.shtml" class="abc" id="n">N</a>

        <a href="http://www.iastate.edu/index/alpha/O.shtml" class="abc" id="o">O</a>

       

        <a href="http://www.iastate.edu/index/alpha/P.shtml" class="abc" id="p">P</a>

        <a href="http://www.iastate.edu/index/alpha/Q.shtml" class="abc" id="q">Q</a>

        <a href="http://www.iastate.edu/index/alpha/R.shtml" class="abc" id="r">R</a>

        <a href="http://www.iastate.edu/index/alpha/S.shtml" class="abc" id="s">S</a>

        <a href="http://www.iastate.edu/index/alpha/T.shtml" class="abc" id="t">T</a>

        <a href="http://www.iastate.edu/index/alpha/U.shtml" class="abc" id="u">U</a>

       

        <a href="http://www.iastate.edu/index/alpha/V.shtml" class="abc" id="v">V</a>

        <a href="http://www.iastate.edu/index/alpha/W.shtml" class="abc" id="w">W</a>

        <a href="http://www.iastate.edu/index/alpha/X.shtml" class="abc" id="x">X</a>

        <a href="http://www.iastate.edu/index/alpha/Y.shtml" class="abc" id="y">Y</a>

        <a href="http://www.iastate.edu/index/alpha/Z.shtml" class="abc" id="z">Z</a>

        </div>

       

      <!--  INSERT CONTACT, PHONE, SEARCH BOX -->

        <div id="search">

        <form method="get" action="http://www.google.com/u/iastate">

        <a href="">Contact Us</a> |

        <label for="search">Search  </label>

        <input type="text"

      name="q"

        id="isusearch" size="18" />

        </form>

        </div>

       

      </div>

       

       

      <!-- INSERT PAGE TITLE. USE OR DELETE SUBHEAD -->

      <div id="titlebar">

      <h3>College of Liberal Arts and Sciences </h3>

      <h1><a href="index.html">ISU Smart Home Lab, </a><a href="http://www.cs.iastate.edu/">Department of Computer Science</a> </h1>

      </div>

       

      <table id="main" cellspacing="0">

      <tr>

      <td  id="a3">

      <div id="mainlinks">

      <div class="linkhead"> <h3 class="style2">User Links

      </h3>

      </div>

       

      <ul>

      <li><a href="index.html">Home</a></li>

      <li> <a href="news.html"> News </a></li>

      <li><a>Consumers</a></li>

      <li><a>Educators</a></li>

      <li><a href="new/developer-overview.html">Developers</a></li>

      <li><a href="Researcher_presentation.html"> Researchers </a></li>

      <li><a  href="">Collaborators</a></li>

      <li><a href="labmembers/index.html">Lab Members</a></li>

      </ul>

       

      <div class="linkhead"> <h3>Contact Us </h3></div>

      <ul>

      <li><a href="Comments.html">Feedback/Comments</a></li>

      <li><a href="http://rs-2.cs.iastate.edu:8080/form/SHLVisitor.html">Schedule a Visit</a></li>

      <li><a href="/new/Contacts.html">Email a Lab Member</a></li>

      </ul>

       

      <div class="linkhead"> <h3>About Us</h3>

      </div>

      <ul>

      <li><a href="news.html"></a></li>

      <li><a href="http://www.iastate.edu">Iowa State University </a></li>

      <li><a href="http://cs.iastate.edu">Computer Science </a></li>

      <li><a href="AboutSmartHomeLab.html">ISU Smart Home Lab </a></li>

      </ul>

      <div class="linkhead"> <h3>Follow Us</h3>

      </div>

      <div class="social"></div>

      <script type="text/javascript">

      // BeginOAWidget_Instance_2149023: #social

       

      $('.social').jsocial({

      twitter :  'myID',

      facebook :  'facebook.com/myID',

      linked :  'linkedin.com/in/myID',

      youtube :  'youtube.com/myID',

      center : true,

      inline : true,

      small : false,

      newPage : false

      });

       

       

      // EndOAWidget_Instance_2149023

      </script>

      </div>

       

      <!-- 2ND COLUMN. INSERT COPY -->

      <td >

       

      <!-- InstanceBeginEditable name="mainEditableRegion" -->

      <ul id="MenuBar">

            <li> <a href="#">Health Care</a>

            <ul>

            <li> <a href="#">MISS</a></li>

                  <li> <a href="#">MyHealthSys</a></li>

            </ul>

            </li>

            <li> <a href="#">Automation</a>

              <ul>

                <li> <a href="#">Smart Microwave</a></li>

                <li> <a href="#">Smart Fridge</a></li>

                <li> <a href="#">Smart Blinds</a></li>

              </ul>

            </li>

            <li> <a href="#">Interfaces</a>

            <ul>

              <li> <a href="#">Threee Buttons</a></li>

                  <li> <a href="#">TV/DVD Control</a></li>

                  <li> <a href="#">Voice Interface</a></li>

                  <li> <a href="#">2D Barcode</a></li>

              </ul>

            </li>

            <li> <a href="#">Others</a>

            <ul>

              <li> <a href="#">Retriver</a></li>

              </ul>

            </li>

          </ul>

      <script type="text/javascript">

      // BeginOAWidget_Instance_2141544: #MenuBar

      var MenuBar = new Spry.Widget.MenuBar2("#MenuBar", {

            widgetID: "MenuBar",

        widgetClass: "MenuBar  MenuBarFixedCentered",

        insertMenuBarBreak: true,

            mainMenuShowDelay: 100,

            mainMenuHideDelay: 200,

            subMenuShowDelay: 200,

            subMenuHideDelay: 200

            });

      // EndOAWidget_Instance_2141544

      </script>

      <table width="599" border="1" cellspacing="1" cellpadding="1">

        <tr>

          <td colspan="2"> </td>

          </tr>

        <tr>

          <td> </td>

          <td> </td>

        </tr>

        <tr>

          <td colspan="2"></td>

          </tr>

        <tr>

          <td colspan="2"> </td>

          </tr>

      </table>

      <p> </p>

      <!-- InstanceEndEditable --></td>

      <!-- 3RD COLUMN. INSERT COPY -->

      </tr>

       

      <!-- INSERT HIGHLIGHT OR "COMMENT OUT" -->

      </table>

       

       

      <!-- INSERT CONTACT INFO: UNIT, PHONE, E-MAIL  -->

       

      <div id="footer">

      <div id="copyright">

      <img src="http://www.iastate.edu/img/04/ISUbecoming.gif"

      alt="Becoming the Best" width="200" height="31" />

       

       

      <p>Department of Computer Science, 226 Atanasoff Hall Ames, Iowa 50011 </p>

      <p>Copyright

      &#169; 2005, Iowa State University of Science and

      Technology. All rights reserved.</p>

       

      </div>

      </div>

       

      </div>

      </body>

      <!-- InstanceEnd --></html>