How to show div if video background's not showing ?

Home Forums Joomla Templates Cashemir – Responsive One Page Joomla Template How to show div if video background's not showing ?

This topic contains 3 replies, has 2 voices, and was last updated by  CTHthemes 8 months, 1 week ago.

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

    etison
    Participant

    Support Expired

    Hi,

    I want to display div/buttons on the slider of the ‘HOME’ section if the image is displayed instead of the video.
    Is the a css class ? or a jquery code to run to test if the video is running or not ?

    Regards,

    #18719

    CTHthemes
    Keymaster

    Hi, you have to use javascript code to create dynamic button: http://prntscr.com/iabcb1

    jQuery('<a href="your_link" class="btn custom-button" target="_blank">Button Text</a>').appendTo('.home-intro-slider')

    #18726

    etison
    Participant

    Support Expired

    Hi,

    It works perfectly !
    It is precisely what I wanted to do 🙂 !

    Thank you for your support.

    #18740

    CTHthemes
    Keymaster

    You are welcome 🙂

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

You must be logged in to reply to this topic.

Hello! CityBook version 1.2.7 was released. Bulk Import Add-On, OpenStreetMapView Details
+