Support » Plugin: WP-Table Reloaded » [Plugin: WP-Table Reloaded] [plugin:wp tables-reloaded]Links

  • Resolved Hockeyguy1925

    (@hockeyguy1925)


    Member
    Posted 1 day ago #

    I currently have a table with jersey numbers 1-99. I want the jersey numbers to have a link to another table that will list all of the players to have worn that number. For example when a visitor to my site clicks on the number 1 it will have a list of all the players that have worn that jersy. I want the information to appear just below the table. I have included a link to a screen shot of what it looks like and where I want the information to appear.

    It is a dropbox link so it will be a download.

    https://dl.dropbox.com/u/61582742/Untitled-2.jpg

    Thanks

    http://wordpress.org/extend/plugins/wp-table-reloaded/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Below is what I have so far but I am unsure of where to go from here.

    $(function() {

    // get a list of the hidden areas
    // so you can hide them when toggling
    // individual views
    var lists = $(‘.player-list’);

    // find all of the links inside of the
    // table you’re displaying
    $(‘#jerseys’).click(function() {

    // get the link info
    var link = $(#jersey-1)
    , target = link.attr(‘href’);

    // hide all of the lists
    lists.hide();

    // then show the specific list
    $(target).show();

    });
    })
    </script>
    <table id=”.wp-table-reloaded>
    <ul id=”jersey-1″ class=”player-list” >
    <td>player1</td><td>player2</td><td>player3</td>

    </table>

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post.

    From what I can see, this is not really related to tables or WP-Table Reloaded. What you need is JavaScript code to show other content on the page. And you will need a place for all the other data to be stored (the info that you want to show).

    Regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-Table Reloaded] [plugin:wp tables-reloaded]Links’ is closed to new replies.