Support » Plugin: WordPress Sliding Drawer Plugin » Error in code

  • I have found an error in the code that was revealed by the web inspector on the Safari browser. Basically there three extra ‘:’ (semi colons) in the file wp-drawer.php. These actually relate to CSS but for some reason are not in the CSS files. There are a few other things in that file also relating to CSS in case anyone has been having a hard time locating some things.

    The relevant code section is below:

    case 'top':
    				$handle_position = "7%;";
    			case 'middle':
    				$handle_position = "40%;";
    			case 'bottom':
    				$handle_position = "93%;";

    That is the uncorrected version, and as you will see there are semi colons after the percent symbols which throw an error. Probably not that serious but it might be one of the reasons IE doesn’t seem to like the plugin. I have had several reports that the drawer stays open in IE but I haven’t been able to test that as I use a Mac!

  • The topic ‘Error in code’ is closed to new replies.