WordPress.org

Support

Support » Plugins and Hacks » Link Library » Remove "Go" button from AJAX Switching Method

Remove "Go" button from AJAX Switching Method

  • Hi,
    Thank you for this great plug-in!
    I would like to suggest a small modification to make it even great and user friendly.
    When we choose the AJAX option for the category “Swithing Method”, it gives a dropdown list of categories with a “Go” button.
    My sugestion is to remove the “Go” button, and replace it with the dropdown change event. That would save visitors that useless click on the “Go” button.
    Thank you,
    Cheers,
    Ricardo Pinho

    http://wordpress.org/extend/plugins/link-library/

Viewing 2 replies - 1 through 2 (of 2 total)
  • If someone interested on this, just edit your: link-library.php
    and add onchange=’showcategory()’ on line 497 to make it like this:
    $output .= "<form name='catselect'><select onchange='showcategory()' name='catdropdown' class='catdropdown'>";
    Then remove or comment line 663, like this:
    // $output .= "<button type='button' onclick='showcategory()'>" . __('Go!', 'link-library') . "</button>";
    Save the link-library.php file, and off with that ugly and useless “Go” button.
    Hope that can be included on the next version.
    Cheers,
    Ricardo

    Good suggestion, but the button can prevent people selecting categories like crazy, causing more server load.

    So, display or hide the button should be optional.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove "Go" button from AJAX Switching Method’ is closed to new replies.
Skip to toolbar