Forums

Plugin --> Lightbox popup open (7 posts)

  1. yannou974
    Member
    Posted 1 year ago #

    Hi,

    I'm creating my own plugin, and i'm looking for my answer since 2 days :)

    I'de like to open my new page with a kind of lightbox. Maybe the same as TinyMCE when you want to add media ...

    I have no idea how to do it.

    Can you help please ?

    Yann

  2. M.K.
    Member
    Posted 1 year ago #

    You say you're creating a plugin, and you're asking how to use a JavaScript lightbox? Maybe you need to learn a little bit of JavaScript before you start making your plugin?

    Unless you have a specific question in mind?

  3. yannou974
    Member
    Posted 1 year ago #

    Thanks MK Safi.
    It is easy to use JavaScript lightbox ?

    Can i insert it in my plugin ?

  4. M.K.
    Member
    Posted 1 year ago #

    Yes, it is easy and it is possible. You just need some basic plugin and JavaScript development knowledge.

  5. yannou974
    Member
    Posted 1 year ago #

    Hi,

    I make some research about lightbox, but it's only for images.
    I'd like to open popup with a html or php page.

    Because, i'm not sure wordpress allows me to open popup normally.

  6. M.K.
    Member
    Posted 1 year ago #

    Scroll down on this page. You'll see "Iframe (75% width and height)" Click on that for an example of what you're trying to achieve.

  7. yannou974
    Member
    Posted 1 year ago #

    Thanks very much MK Safi

Topic Closed

This topic has been closed to new replies.

About this Topic