WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[resolved] [plugin:wp tables-reloaded]Links (3 posts)

  1. Hockeyguy1925
    Member
    Posted 1 year ago #

    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/

  2. Hockeyguy1925
    Member
    Posted 1 year ago #

    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>

  3. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic