WordPress.org

Ready to get started?Download WordPress

Forums

Custom Tables
[Plugin: custom tables] 2 questions to know if it's possible (8 posts)

  1. fquiquet
    Member
    Posted 2 years ago #

    2 questions to know if it's possible

    1. How to highlight a line when the mouse goes over ? with the overlay function ?

    2. How to display the 5th field of the 6th entry ? with [wcteid] ?

    Thank's in advance for your help and for your time

    Fran├žois

    http://wordpress.org/extend/plugins/custom-tables/

  2. Stefan M.
    Member
    Plugin Author

    Posted 2 years ago #

    1. How to highlight a line when the mouse goes over ? with the overlay function ?

    You need to use the CSS Class wct-td-hover

    2. How to display the 5th field of the 6th entry ? with [wcteid] ?

    wcteid will show ONE entry of the database (the Entry setup).
    If you enter in the entry setup only the field5, it will only be displayed. Find the ID of line 5 and add it. Use the Smarttag Generator.

    What do you want to to do? Very strange ^^

  3. fquiquet
    Member
    Posted 2 years ago #

    1. How to use the CSS Class wct-td-hover ? With the PRO version ?

    2. My wish is to extract the picture of each entry and to build a wall with these pictures

    http://www.unmondedaventures.fr/la-base-de-donnees-des-festivals-autour-des-voyages-et-du-monde-de-laventure/

  4. deepbevel
    Member
    Posted 2 years ago #

    I don't think ths css is specific to the plugin, but I could be wrong about that. Most plugins use your theme's style rules, the same it would apply to all instance of hover..
    maybe looks like this:

    #wct-td-hover {
    color:#999999
    }

    I don't know if the link you posted is your site or an example of what you want, in any case I can't find a table. otherwise I could probably find the css.

  5. fquiquet
    Member
    Posted 2 years ago #

  6. deepbevel
    Member
    Posted 2 years ago #

    this appears to be the global hover code for a links

    a, a:link, a:hover {
        color: #CC0000;
        text-decoration: none;
    }

    but as I frequently find when I look at code in Firebug, it's crossed out and not applied to the instance in the table. I don't understand why that is the case, one of the thngs about Firebug I've yet to understand.

    Change the color number and put it at the bottom of style.css, see if it works. it will most likely effect hover color on your whole site.

  7. Stefan M.
    Member
    Plugin Author

    Posted 2 years ago #

    Attention, I work with Classes and not the ID !

    #wct-td-hover is for ID id="wct-td-hover"

    I work with class="wct-td-hover" which is in the CSS:

    .wct-td-hover {
    color:#999999
    }

  8. deepbevel
    Member
    Posted 2 years ago #

    I didn't know what you meant before, but yes, that's the way to do it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic