• Resolved Linuxbs

    (@linuxbs)


    Good evening, I have a problem with the plugin.
    I need to create a pop-up at the click of a field in the table (for example, to display an image).
    is it possible?
    thank you very much

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    thanks for your question.

    Unfortunately, this is not something that TablePress can do directly. You will basically need to find a plugin that allows opening any links in a popup or “Thickbox” or “Lightbox”, and then just use the corresponding links in the tables.

    Regards,
    Tobias

    Thread Starter Linuxbs

    (@linuxbs)

    Thanks for the quick reply,
    so you’re saying that you just need a plugin to generate links in pop-ups?
    After I take a test.
    Thank you.

    Hi,

    yes, you’ll need a plugin that has some JS built-in that will create pop-ups. The plugin will then want a special link code, but you can then just use that in the table.

    Regards,
    Tobias

    Thread Starter Linuxbs

    (@linuxbs)

    I solved with a plugin that manages the tab “a” to make sure they open pop-ups.
    thank you very much

    Hi,

    very nice! 🙂 Great to hear that you found a solution!

    Best wishes,
    Tobias

    Hi,

    How you managed to do this?
    I want to do the same like on this page

    I need the clickable i inside the table.

    Thanks,

    Leosch

    Hi,

    thanks for your question, and sorry for the trouble.

    That page seems to be using some custom JavaScript code to generate the popup.
    Unfortunately, I’m not aware of a directly usable solution here. I suggest that you look for a plugin that can show a popup after inserting a Shortcode.

    Regards,
    Tobias

    Hello Tobias,

    Is it possible to enter custom Javascript into a table by using an extension?
    I tried te following

    <form>
    <input type=”button” onclick=
    “alert(‘There is a message!’)”
    value=”Info”>
    </form>

    But this doesn’t seem to work in a table.

    Regards,

    Leosch

    Hi,

    yes, this is possible, but you will need to be careful with the line breaks. As those get transformed to HTML <br> tags automatically, they usually break the code.
    To fix that, you can extend the table Shortcode:

    [table id=123 convert_line_breaks =false /]

    Regards,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Table Press] Pop-up in a field?’ is closed to new replies.