WordPress.org

Ready to get started?Download WordPress

Forums

Link Library
Remove "Go" button from AJAX Switching Method (3 posts)

  1. ricardodepinho
    Member
    Posted 1 year ago #

    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/

  2. ricardodepinho
    Member
    Posted 1 year ago #

    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

  3. yezzz
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.