Changeset 1391


Ignore:
Timestamp:
03/04/2010 04:27:04 AM (2 years ago)
Author:
zhongzhen
Message:

Help Extention Style Change

Location:
branches/omcollab_zhongzhen2/wiki/extensions/Help
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/omcollab_zhongzhen2/wiki/extensions/Help/HelpExtention.css

    r1389 r1391  
    1313 
    1414#helpArea { 
    15         width: 30%;  
    16         float: right;  
    17         display: none; 
     15        width: 100%;  
     16        position: relative; 
     17    border: 1px solid #AEAEAE; 
     18    left: -5px;  
     19    top: -5px; 
     20    background-color: #FFFFFF; 
     21    font-size: 11px; 
     22} 
     23 
     24#shadow { 
     25    background-color: #EFEFEF; 
     26    float: right;  
     27    display: none; 
     28    margin: 5px; 
     29    width: 30%; 
    1830} 
    1931 
     
    2234#editpage-copywarn {clear: both;} 
    2335 
    24 .help_menu_ul {list-style-type: none; margin: 0px; padding: 5px 5px 0px 5px; background-color: #EEEEEE; border-top: 1px solid #AEAEAE; border-left: 1px solid #AEAEAE; border-right: 1px solid #AEAEAE;} 
     36.help_menu_ul {list-style-type: none; margin: 0px; padding: 5px 5px 0px 5px; background-color: #EEEEEE; } 
    2537.help_menu_ul li {display: inline; text-align: center; padding: 3px; font-size: 10px; margin-right: 3px;} 
    2638.tab_active {background-color: #FFFFFF; border-left: 1px solid #AEAEAE; border-top: 1px solid #AEAEAE; border-right: 1px solid #AEAEAE; border-bottom: 1px solid #FFFFFF; color: #000000;} 
    2739.tab_normal {color: #666666; cursor: pointer;} 
    2840 
    29 .button_class {float: right; padding-right: 10px;} 
     41.button_class {float: right; text-align: center; width: 7%;} 
    3042.help_content {padding: 10px; display: none;} 
    3143 
  • branches/omcollab_zhongzhen2/wiki/extensions/Help/Help_Guide.php

    r1389 r1391  
    2222                                        if (source.search('button_help') > -1) { 
    2323                                                obj.src = 'extensions/Help/images/button_hide.gif'; 
    24                                                 $('#helpArea').css('display', 'block'); 
    25                                                 $('#wpTextbox1').css('width', '63%'); 
     24                                                $('#shadow').css('display', 'block'); 
     25                                                $('#wpTextbox1').css('width', '60%'); 
    2626                                        } 
    2727                                        else { 
    2828                                                obj.src = 'extensions/Help/images/button_help.gif'; 
    29                                                 $('#helpArea').css('display', 'none'); 
     29                                                $('#shadow').css('display', 'none'); 
    3030                                                $('#wpTextbox1').css('width', '92%'); 
    3131                                        } 
     
    6666                 
    6767        //Help content area 
    68         $editPage->editFormTextBeforeContent .= '<div id="helpArea">' . $html . '</div>';  
     68        $editPage->editFormTextBeforeContent .= '<div id="shadow"><div id="helpArea">' . $html . '</div></div>';  
    6969                // Help button 
    7070                $editPage->editFormTextBeforeContent .= '<div class="button_class"><img src="extensions/Help/images/button_help.gif" style="cursor: pointer;" onclick="changeIcon(this)"/></div>';  
Note: See TracChangeset for help on using the changeset viewer.