Home Forums Porto Template Two revoution carousel slider problem.

This topic contains 3 replies, has 2 voices, and was last updated by  Support2 2 months ago. This post has been viewed 142 times

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10027573

    tradek
    Participant

    Hi Guys,

    please help me.
    I want to have two Revolution Slider carousel like on portfolio-single-carousel.html demo page – on one page.
    Simple copy-paste of html code won’t work. For other revolution slider (not carousel) that method works.
    Is it possible for it to work?

    Thanks in advance
    Radek


    #10027576

    Support2
    Keymaster

    Hello, thanks for your purchase 🙂

    You need replicate the current rev slider carousel code with different ID. First duplicate the HTML code:
    https://pastebin.com/raw/QZpxYwqD
    * Note the ID’s.

    Then replicate the JS code in (js/examples/examples.portfolio.js):
    https://pastebin.com/raw/N0qQixwm
    * Note that just changed the ID selector.

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10027581

    tradek
    Participant

    It works:)

    Thank you so much for help.

    One off topic question. Is there a metod to protect files in subdirectiories from view online? Anybody can view .js, .json files.
    Is this secure?

    Kind Regards,
    Radek


    #10027582

    Support2
    Keymaster

    Hello,

    Great! 🙂

    Regarding the JS files this is impossible since JS runs trough client side (browser).
    For the JSON our suggestion is read and return the data using a server side language like PHP.

    Hope it helps.

    Kind Regards,

    Rodrigo.


Viewing 4 posts - 1 through 4 (of 4 total)