Changeset 1312

Show
Ignore:
Timestamp:
12/30/08 01:53:45 (15 months ago)
Author:
pazu2k@…
Message:

updated accordion and datepicker markup. changed demos/index.html so it looks for .demos-nav rather than #container within individual widget demo indexes.

Location:
trunk/demos
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/demos/accordion/index.html

    r1310 r1312  
    66</head> 
    77<body> 
    8         <div id="container"> 
     8        <div class="demos-nav"> 
    99                <h4>Accordion</h4> 
    1010                <ul> 
  • trunk/demos/datepicker/index.html

    r1289 r1312  
    77<body> 
    88 
    9 <dl class="demos-nav"> 
    10         <dt>Datepicker</dt> 
    11                 <dd><a href="default.html">Default datepicker</a></dd> 
    12                 <dd><a href="dropdown_month_year.html">Month & year menus</a></dd> 
    13                 <dd><a href="buttonbar.html">Today & Done button bar</a></dd> 
    14                 <dd><a href="multiple_calendars.html">3 month view</a></dd> 
    15                 <dd><a href="inline.html">Inline datepicker</a></dd> 
    16 </dl> 
     9<div class="demos-nav"> 
     10        <h4>Datepicker</h4> 
     11        <ul> 
     12                <li><a href="default.html">Default datepicker</a></li> 
     13                <li><a href="dropdown_month_year.html">Month & year menus</a></li> 
     14                <li><a href="buttonbar.html">Today & Done button bar</a></li> 
     15                <li><a href="multiple_calendars.html">3 month view</a></li> 
     16                <li><a href="inline.html">Inline datepicker</a></li> 
     17        </ul> 
     18</div> 
    1719 
    1820</body> 
  • trunk/demos/demos.css

    r1311 r1312  
    6565/* Demos */ 
    6666 
    67 .demos-nav, .demos-nav dt, .demos-nav dd { 
     67.demos-nav, .demos-nav dt, .demos-nav dd, .demos-nav ul, .demos-nav li { 
    6868        margin: 0; 
    6969        padding: 0 
     
    7676} 
    7777 
    78 .demos-nav dt { 
     78.demos-nav dt, 
     79.demos-nav h4 { 
    7980        margin: 0; 
    8081        padding: 0; 
     
    8485} 
    8586 
    86 .demos-nav dt { 
     87.demos-nav dt, 
     88.demos-nav h4 { 
    8789        margin-top: 1.5em; 
    8890        margin-bottom: 0.7em; 
     
    9092} 
    9193 
    92 .demos-nav dd a { 
     94.demos-nav dd a, 
     95.demos-nav li a { 
    9396        border-bottom: 1px solid #F4F4F4; 
    9497        display:block; 
     
    101104 
    102105.demos-nav dd a:hover, 
    103 .demos-nav dd a:focus { 
     106.demos-nav dd a:focus, 
     107.demos-nav li a:hover, 
     108.demos-nav li a:focus { 
    104109        background: #EAEAEA; 
    105110        border-color: #BBBBBB; 
     
    121126#demo-frame { float:left; width:520px; height:300px; border:1px solid #ddd; } 
    122127 
    123 #demo-config-menu { float:right; width:150px; } 
     128#demo-config-menu { float:right; width:200px; } 
    124129#demo-config-menu h4 { font-size:13px; color:#666; font-weight:normal; border:0; padding-left:18px; } 
    125130 
  • trunk/demos/index.html

    r1311 r1312  
    3131                                        .append('<iframe id="demo-frame" name="demo-frame" width="520" height="314" scrolling="auto" frameborder="0" src="'+ section +'/default.html"></iframe><div id="demo-config-menu"></div>') 
    3232                                        .find('#demo-config-menu') 
    33                                                 .load(this.href + ' #container', function(){ 
     33                                                .load(this.href + ' .demos-nav', function(){ 
    3434                                                        $('#demo-config-menu a').each(function(){ 
    3535                                                                this.setAttribute('href', section + '/' + this.getAttribute('href'));