• hey Jack,

    I’m working on music website/blog when I feature new music and videos from artists and I would like to be able to click the name of the artist and have a custom modal window pop up with a photo of the artist, information and links to other websites in the window.

    I’m under the impression that this is possible, but I haven’t come across a plugin giving me the power to do so, and I’m not too JavaScript/jQuery-savvy.

    Do you think you could help me find a solution for my dilemma?

    Thanks in advance.

    – Gabe

    https://www.ads-software.com/extend/plugins/modal-dialog/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Gabe – did you ever get an answer to that question about getting Modal-Dialog to pop up based on a link. I basically want to do the same thing.

    Thanks —

    Dave Beckerman
    BeckermanPhoto.com

    Found the solution somewhere… This should really be more prominent. Either in the readme file or in the FAQ. Here’s an example from my site: BeckermanPhoto.com

    [code]
    [div class ="add_to_cart_pic"]ROYALTY FREE LICENSE DOWNLOADS / Perfect for Art Buyers / International Buyers / Interior Designers / Anyone that wants to use the image at displayed sizes.
    [a href="#" onClick="openDialog()" rel="nofollow"]ROYALTY FREE DETAILS[/a]
    [script type="text/javascript"]
    function openDialog() {
    jQuery("a#inline").trigger('click')
    }
    [/script]
    [/code]

    You don’t need the div class (I just happen to use it)
    Remove the opening and closing [code] tags
    Change all the "]" brackets into html start end brackets ">"

    When user clicks on the ROYALTY FREE DETAILS link, the box with more instructions pops up, which is all I wanted.

    Also - remember to change number of times to show to 0. You only want the box to popup when clicked, not on any sort of schedule.

    You can see the link (in red) on this page: https://www.beckermanphoto.com/new-york-public-library-infrared-photo.html

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Modal Dialog] Custom Modal from text link’ is closed to new replies.