Dropdown Menu Widget - Version 1.6.2

Version Description

  • Fixed: Stylesheet causing widgets go behind widget containers. (Thanks to Antonio Capone for reporting the issue)
Download this release

Release Info

Developer mattsay
Plugin Icon wp plugin Dropdown Menu Widget
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

Files changed (4) hide show
  1. css/admin.css +2 -7
  2. css/widgets.css +2 -0
  3. readme.txt +4 -1
  4. shailan.DropDownMenu.php +11 -10
css/admin.css CHANGED
@@ -15,14 +15,12 @@
15
  .shailan_dm_input textarea{
16
  width:400px; height:150px; }
17
 
18
- #widgets-right .widgets-sortables{ min-height:0px; }
19
 
20
- .widget-holder{position:relative; zoom:1;}
21
 
22
  #picker{ position:absolute; top:10px; right:10px; }
23
 
24
-
25
-
26
  .sidebar-name{overflow:auto; display:block;}
27
  .sidebar-name h3{float:left;}
28
  .sidebar-name span{float:right;}
@@ -30,9 +28,6 @@
30
  input.selected{border:1px solid #f93}
31
  input.color-error{border:1px solid #f00;}
32
 
33
- #widgets-right .shailan-dropdown, #widgets-left .shailan-dropdown .widget-top{ border-color: #F90; }
34
- #widgets-right .shailan-dropdown-multi, #widgets-left .shailan-dropdown-multi .widget-top{ border-color: #F90; }
35
-
36
  .ads{
37
  background-color: #F1F1F1;
38
  border: 1px solid #DDDDDD;
15
  .shailan_dm_input textarea{
16
  width:400px; height:150px; }
17
 
18
+ .widget-holder{ position:relative; zoom:1; }
19
 
20
+ #widgets-right .widgets-sortables{ min-height:0px; position:relative; }
21
 
22
  #picker{ position:absolute; top:10px; right:10px; }
23
 
 
 
24
  .sidebar-name{overflow:auto; display:block;}
25
  .sidebar-name h3{float:left;}
26
  .sidebar-name span{float:right;}
28
  input.selected{border:1px solid #f93}
29
  input.color-error{border:1px solid #f00;}
30
 
 
 
 
31
  .ads{
32
  background-color: #F1F1F1;
33
  border: 1px solid #DDDDDD;
css/widgets.css ADDED
@@ -0,0 +1,2 @@
 
 
1
+ #widgets-right .shailan-dropdown, #widgets-left .shailan-dropdown .widget-top{ border-color: #F90; }
2
+ #widgets-right .shailan-dropdown-multi, #widgets-left .shailan-dropdown-multi .widget-top{ border-color: #F90; }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shailan.com/donate
4
  Tags: css, dropdown, menu, widget, pages, categories, multi, jquery, navigation, category list, themes, custom-styles, options-page, animations, effects
5
  Requires at least: 2.8
6
  Tested up to: 3.1
7
- Stable tag: 1.6.1
8
 
9
  This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
10
 
@@ -47,6 +47,9 @@ You can submit errors and bugs using the [online form](http://shailan.com/contac
47
 
48
  == Changelog ==
49
 
 
 
 
50
  = 1.6.1 =
51
  * Fix: Colorscheme background error.
52
  * Fix: jQuery not included when effects are enabled.
4
  Tags: css, dropdown, menu, widget, pages, categories, multi, jquery, navigation, category list, themes, custom-styles, options-page, animations, effects
5
  Requires at least: 2.8
6
  Tested up to: 3.1
7
+ Stable tag: 1.6.2
8
 
9
  This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
10
 
47
 
48
  == Changelog ==
49
 
50
+ = 1.6.2 =
51
+ * Fixed: Stylesheet causing widgets go behind widget containers. (Thanks to Antonio Capone for reporting the issue)
52
+
53
  = 1.6.1 =
54
  * Fix: Colorscheme background error.
55
  * Fix: jQuery not included when effects are enabled.
shailan.DropDownMenu.php CHANGED
@@ -4,13 +4,13 @@ Plugin Name: Dropdown Menu Widget
4
  Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
5
  Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
6
  Tags: dropdown, menu, css, css-dropdown, navigation, widget, dropdown-menu, customization, theme
7
- Version: 1.6.1
8
  Author: Matt Say
9
  Author URI: http://shailan.com
10
  Text Domain: shailan-dropdown-menu
11
  */
12
 
13
- define('SHAILAN_DM_VERSION','1.6.1');
14
  define('SHAILAN_DM_TITLE', 'Dropdown Menu');
15
  define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
16
 
@@ -327,20 +327,21 @@ class shailan_DropdownWidget extends WP_Widget {
327
  function adminMenu(){
328
  global $pluginname, $pluginshortname, $pluginoptions;
329
 
330
- if(is_admin()){
331
- // Styles
332
- wp_admin_css( 'widgets' );
333
- wp_enqueue_style( 'dropdownMenuStyles', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/css/admin.css' );
334
-
335
- // Scripts
336
- wp_enqueue_script( 'admin-widgets' );
337
  wp_enqueue_script( 'dropdown-widgets', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/js/widgets.js', array('jquery') );
338
  };
339
 
340
  if ( isset($_GET['page']) && $_GET['page'] == 'dropdown-menu' ) {
341
 
 
 
342
  wp_enqueue_style('farbtastic');
343
- wp_enqueue_script('farbtastic');
 
 
 
 
344
  wp_enqueue_script( 'dropdown-colorpick', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/js/admin.js', array('jquery') );
345
 
346
  if ( @$_REQUEST['action'] && 'save' == $_REQUEST['action'] ) {
4
  Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
5
  Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
6
  Tags: dropdown, menu, css, css-dropdown, navigation, widget, dropdown-menu, customization, theme
7
+ Version: 1.6.2
8
  Author: Matt Say
9
  Author URI: http://shailan.com
10
  Text Domain: shailan-dropdown-menu
11
  */
12
 
13
+ define('SHAILAN_DM_VERSION','1.6.2');
14
  define('SHAILAN_DM_TITLE', 'Dropdown Menu');
15
  define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
16
 
327
  function adminMenu(){
328
  global $pluginname, $pluginshortname, $pluginoptions;
329
 
330
+ if( is_admin() ){
331
+ wp_enqueue_style( 'dropdown-widget-styles', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/css/widgets.css' );
 
 
 
 
 
332
  wp_enqueue_script( 'dropdown-widgets', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/js/widgets.js', array('jquery') );
333
  };
334
 
335
  if ( isset($_GET['page']) && $_GET['page'] == 'dropdown-menu' ) {
336
 
337
+ // Styles
338
+ wp_admin_css( 'widgets' );
339
  wp_enqueue_style('farbtastic');
340
+ wp_enqueue_style( 'dropdownMenuStyles', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/css/admin.css' );
341
+
342
+ // Scripts
343
+ wp_enqueue_script( 'admin-widgets' );
344
+ wp_enqueue_script( 'farbtastic' );
345
  wp_enqueue_script( 'dropdown-colorpick', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/js/admin.js', array('jquery') );
346
 
347
  if ( @$_REQUEST['action'] && 'save' == $_REQUEST['action'] ) {