WordPress.org

Plugin Directory

Changeset 143412


Ignore:
Timestamp:
08/06/09 15:41:17 (5 years ago)
Author:
foxinni
Message:

V.1.1

Location:
pop-menus-for-wp-admin/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • pop-menus-for-wp-admin/trunk/pop_menus.php

    r143273 r143412  
    11<?php 
    22/** 
    3  * @package Pop Menus for Wp-Admin 
     3 * @package Pop Menus for WP-Admin 
    44 * @author Foxinni 
    5  * @version 1.0 
     5 * @version 1.1 
    66 */ 
    77/* 
    8 Plugin Name: Pop Menus 
     8Plugin Name: Pop Menus for WP-Admin 
    99Plugin URI: http://foxinni.com 
    1010Description:  Pop menus rock! This simple plugin will be saving you time by creating quick and easy to use pop menus for your WP-Admin sidebar. Powered by jQuery and CSS. 
    1111Author: Foxinni 
    12 Version: 1.0 
     12Version: 1.1 
    1313Author URI: http://foxinni.com 
    1414*/ 
     
    1919    <style type="text/css"> 
    2020     
    21     #adminmenu li { position: relative;} 
     21    #adminmenu { position: fixed;} 
     22    * html #adminmenu { position: static} 
     23    *+html #adminmenu { position: static} 
    2224    #adminmenu li .wp-submenu { width: 220px; margin-top: -20px; position: absolute; display: none;} 
    2325    #adminmenu li .wp-menu-toggle {display: none;} 
    2426    #adminmenu .wp-submenu ul{ border:#e3e3e3 solid!important; border-width:1px 0px 1px 0px; } 
    2527    #adminmenu  .wp-menu-separator {position: static;} 
     28     
     29    /* Folded CSS */ 
     30     
     31    .folded #adminmenu div.wp-submenu-head, .folded #adminmenu li.wp-has-submenu div.sub-open { width: 130px; } 
    2632    
    2733    </style> 
     
    3137         
    3238        jQuery('.wp-submenu').hide(); 
    33              
     39         
     40        if(jQuery('body').hasClass('folded')){  // Folded sidebar 
     41         
     42        jQuery('#adminmenu > li.menu-top').hover( 
     43            function(){ 
     44                if(jQuery.browser.msie) 
     45                    { 
     46                         jQuery(this).children('div.wp-submenu').css('margin-left','35px').animate({marginLeft:0},200).show();   
     47                     } 
     48                     else  
     49                    { 
     50                        jQuery(this).children('div.wp-submenu').css('margin-left','35px').animate({marginLeft:20},200).show();   
     51                    }   
     52            }, 
     53            function(){ 
     54                jQuery(this).children('div.wp-submenu').hide();   
     55            } 
     56        ); 
     57         
     58        } 
     59        else // Normal Action 
     60        {   
    3461        jQuery('#adminmenu > li.menu-top').hover( 
    3562            function(){ 
     
    4067            } 
    4168        ); 
     69         
     70        } 
    4271    }); 
    4372     
  • pop-menus-for-wp-admin/trunk/readme.txt

    r143273 r143412  
    55Requires at least: 2.7 
    66Tested up to: 2.8.3 
    7 Stable tag: 1.0 
     7Stable tag: 1.1 
    88 
    9 Pop menus rock! This simple plugin will be saving you time by creating quick and easy to use pop menus for your WP-Admin sidebar. Powered by jQuery and CSS. 
     9Menus for your WP-Admin sidebar that will save you time. Powered by jQuery and CSS. 
    1010 
    1111== Description == 
     
    2222*  Created with the jQuery library 
    2323 
     24Known Bugs: 
     25 
     26*  Page must be refreshed if menu is collapsed/folded. 
     27*  IE6 - Menus go under Select Boxes and some hover issues. 
     28*  IE - No fixed menu for Intenet Explorer 
     29*  Still to be tested with Opera 
     30 
     31 
    2432== Installation == 
    2533 
     
    3139== Screenshots == 
    3240 
    33 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from 
    34 the directory of the stable readme.txt, so in this case, `/tags/4.3/screenshot-1.png` (or jpg, jpeg, gif) 
    35 2. This is the second screen shot 
     411. Great improvement on usability in the WP-Admin. 
     422. Also compatible when menu is collapsed. 
    3643 
    3744== Changelog == 
     45 
     46= 1.1 = 
     47* Made more compatible with IE6 and IE7. 
     48* Added `position:fixed` to #adminmenu for Cool browsers 
    3849 
    3950= 1.0 = 
Note: See TracChangeset for help on using the changeset viewer.