• Resolved federicaleonori

    (@federicaleonori)


    Hello,
    I have created a gallery of videos (gallery lightbox), where each video linked at
    its page. Clicking on the video, he opens a popup, I should hide it and leave only the link to the page.
    Can you help me?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author totalsoft

    (@totalsoft)

    Hello, dear federicaleonori.

    Thank you for your question.

    To solve your problem you need to change some codes from the plugin. Please find the file Total-soft-gallery-video-widget.php. Edit the folder and on the line 3412 find the code

    $ .prettyPhoto.open = function (event) {
    ?????????????????????? if (typeof settings == “undefined”)
    ???????????????????????? {
    ?????????????????????????? settings = pp_settings;
    ?????????????????????????? if ($. browser.msie && $. browser.version == 6) settings.theme = “light_square”;
    ?????????????????????????? _buildOverlay (event.target);
    pp_images = $. makeArray (arguments [0]);
    pp_titles = (arguments [1])? $. makeArray (arguments [1]): $. makeArray (“”);
    pp_descriptions = (arguments [2])? $. makeArray (arguments [2]): $. makeArray (“”);
    isSet = (pp_images.length> 1)? true: false;
    set_position = 0;
    }

    Plugin Author totalsoft

    (@totalsoft)

    The place of this code put this one:

    $ .prettyPhoto.open = function (event) {
    ???????????????????????? return
    ?????????????????????? if (typeof settings == “undefined”)
    ???????????????????????? {
    ?????????????????????????? settings = pp_settings;
    ?????????????????????????? if ($. browser.msie && $. browser.version == 6) settings.theme = “light_square”;
    ?????????????????????????? _buildOverlay (event.target);
    ?????????????????????????? pp_images = $. makeArray (arguments [0]);
    ?????????????????????????? pp_titles = (arguments [1])? $. makeArray (arguments [1]): $. makeArray (“”);
    ?????????????????????????? pp_descriptions = (arguments [2])? $. makeArray (arguments [2]): $. makeArray (“”);
    ?????????????????????????? isSet = (pp_images.length> 1)? true: false;
    ?????????????????????????? set_position = 0;
    ???????????????????????? }

    Thank You.

    Hi there
    I need the popup not to show automatically on desktop, but clicking a button will show it.
    I use display: none and visibility: hidden
    This is the link https://dev.azure-aruba.com/aruba-property-sale-oscard/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hidden popup’ is closed to new replies.