• Resolved AdrianoAgri

    (@adrianoagri)


    I have to insert a popup throught a href link, but i need to use this link adding a dom element dinamically with jquery.
    I have tried the code you mentioned in open popup on click page, but no popup appears.
    the button, that is a hyperlink html tag (<a href="code-of-link">Info</a>) that i add using the append method of jquery. It works perfectly if a use a standard http link, i have tried to use the code that the popup generate if i insert into a standard page throught link button (href="http://[supsystic-show-popup id=100]") also mentioned in the open on click page, but still doesn’t works.
    I have also tried the other solution of the open op click page but none of them works.

    could you help me?

    • This topic was modified 9 years, 1 month ago by AdrianoAgri.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author supsystic

    (@supsysticcom)

    Hello!
    Please try to check this article. If you still will have problems with popup on href link – provide me link to the page where I can check popup. I will check what is wrong.

    Thread Starter AdrianoAgri

    (@adrianoagri)

    Hi.. as i wrote i have also tried to use the link code as described in the article you mentioned (open popup on click page).
    But i am very stubborn, and i’ve tried again.. but i have mistake the number of the popup…
    Infact i have another popup in the page that trigger on 75% scroll of the page..
    that have code 100, meanwhile the popup i try to use have code 101…
    I have to say that the popup with code 100 works also with clicking the link…
    But I cannot undestard why the popup with code 101 doesn’t works…
    if you want to take a look the page is https://www.sardegnavacanzelowcost.it
    Remember that i add the link dinamically with jquery on page load…

    thanks for all your help you can provide to me…

    regards

    Plugin Author supsystic

    (@supsysticcom)

    Hi!
    Please describe where exactly on the page I can find the link with popup?

    Thread Starter AdrianoAgri

    (@adrianoagri)

    It’s the info button in the accomodation list, just after the booking form…

    Thread Starter AdrianoAgri

    (@adrianoagri)

    Hi supsystic, do you have any news for me???

    • This reply was modified 9 years, 1 month ago by AdrianoAgri.
    Plugin Author supsystic

    (@supsysticcom)

    Hello!
    I’m sorry for late reply. We had some difficulties in our support department.
    As I see now everything is okay with popups on your site.
    Has your problem been solved?

    Thread Starter AdrianoAgri

    (@adrianoagri)

    Yes now works because i have located the right file with the segment of code and modified the original file.

    I would have like to leave the original file unchanged and modify the layout throught jquery, because this theme is very complex… now i have to create a child theme to prevent accidental update of theme.

    but if you can give me a solution to have a working link using the append method of jquery i revert the oeration…

    this was the code i was using

    var infobutn = "<a class='button btn-small' href='<?php echo  do_shortcode("[supsystic-show-popup id=101]")?>'>INFO</a>";
    	jQuery('.listing-style1').find('.details .action').append(infobutn);

    thanks

    Plugin Author supsystic

    (@supsysticcom)

    Hello!
    In any case you should load popup from your server. So, if you don’t want to add shortcode to your theme, you can add such shortcode in content of the post – [supsystic-show-popup id="100" load="1"]. This will make popup load from server side. And then you can add popup dynamically there you want.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘popup on href link’ is closed to new replies.