Docy

Did You Know?

Elements

Source Code

Welcome to Docy ! Get familiar with the Docy products and explore their features, guides, tips and tools.

HTML Code Blocks

From a group of elements with one parent. Same as first one, but use this method if you are creating a popup from a list of elements in one container. Note that this method does not enable gallery mode, it just reduces the number of click event handlers; each item will be opened as a single popup. If you wish to enable gallery, add the gallery:{enabled:true} option.

                                    For example, <code><section></code> should be wrapped as inline.
                                
                        
                        
                        
  • left
    right
                        
                        
                        
  • left
    right
                        
                        
                        
  • left
    right

CSS Source Code

                        
                        /****News Ticker Start****/	

* { margin:0; padding:0; }

#newsticker-demo {
    border: 1px solid;
    float: left;
    font-family: calibri;
    font-size: 12px;
    margin-right: 20px;
}


#newsticker-demo a {
    color: #8BDB86;
    font-size: 16px;
    text-decoration: none;
}

#newsticker-demo img {
    height: auto;
    max-height: 70px;
    max-width: 70px;
    width: auto;
}

#newsticker-demo .title {
    border-bottom: 1px dashed #6A6A6A;
    color: #B24529;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 5px 5px 0;
    text-align: left;
    text-transform: uppercase;
}

#newsticker-demo, .newsticker-jcarousellite { 
width:470px;
}

.newsticker-jcarousellite li{}

.newsticker-jcarousellite ul li {
    border-bottom: 2px dotted #594F4F;
    color: #FFFFFF;
    display: table;
    font-size: 14px;
    list-style: none outside none;
    padding-bottom: 10px;
    padding-top: 10px;
}

.newsticker-jcarousellite ul li:hover {
background: #494141;
}

.newsticker-left {
    background: none repeat scroll 0 0 #000000;
    border-radius: 1px 1px 1px 1px;
    float: left;
    height: 70px;
    width: 70px;
}

.newsticker-right {
    background: none repeat scroll 0 0 yellow;
    float: left;
    margin-left: 20px;
    margin-top: 7px;
    width: 377px;
}

.newsticker-right span.cat {
    color: #808080;
    display: block;
    font-size: 12px;
}

.clear { clear: both; }

       
	/****News Ticker End****/                        
                        
                        
                        /****News Ticker Start****/	

* { margin:0; padding:0; }

#newsticker-demo {
    border: 1px solid;
    float: left;
    font-family: calibri;
    font-size: 12px;
    margin-right: 20px;
}


#newsticker-demo a {
    color: #8BDB86;
    font-size: 16px;
    text-decoration: none;
}

#newsticker-demo img {
    height: auto;
    max-height: 70px;
    max-width: 70px;
    width: auto;
}

#newsticker-demo .title {
    border-bottom: 1px dashed #6A6A6A;
    color: #B24529;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 5px 5px 0;
    text-align: left;
    text-transform: uppercase;
}

#newsticker-demo, .newsticker-jcarousellite { 
width:470px;
}

.newsticker-jcarousellite li{}

.newsticker-jcarousellite ul li {
    border-bottom: 2px dotted #594F4F;
    color: #FFFFFF;
    display: table;
    font-size: 14px;
    list-style: none outside none;
    padding-bottom: 10px;
    padding-top: 10px;
}

.newsticker-jcarousellite ul li:hover {
background: #494141;
}

.newsticker-left {
    background: none repeat scroll 0 0 #000000;
    border-radius: 1px 1px 1px 1px;
    float: left;
    height: 70px;
    width: 70px;
}

.newsticker-right {
    background: none repeat scroll 0 0 yellow;
    float: left;
    margin-left: 20px;
    margin-top: 7px;
    width: 377px;
}

.newsticker-right span.cat {
    color: #808080;
    display: block;
    font-size: 12px;
}

.clear { clear: both; }

       
	/****News Ticker End****/                        
                        
                        
                        /****News Ticker Start****/	

* { margin:0; padding:0; }

#newsticker-demo {
    border: 1px solid;
    float: left;
    font-family: calibri;
    font-size: 12px;
    margin-right: 20px;
}


#newsticker-demo a {
    color: #8BDB86;
    font-size: 16px;
    text-decoration: none;
}

#newsticker-demo img {
    height: auto;
    max-height: 70px;
    max-width: 70px;
    width: auto;
}

#newsticker-demo .title {
    border-bottom: 1px dashed #6A6A6A;
    color: #B24529;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 5px 5px 0;
    text-align: left;
    text-transform: uppercase;
}

#newsticker-demo, .newsticker-jcarousellite { 
width:470px;
}

.newsticker-jcarousellite li{}

.newsticker-jcarousellite ul li {
    border-bottom: 2px dotted #594F4F;
    color: #FFFFFF;
    display: table;
    font-size: 14px;
    list-style: none outside none;
    padding-bottom: 10px;
    padding-top: 10px;
}

.newsticker-jcarousellite ul li:hover {
background: #494141;
}

.newsticker-left {
    background: none repeat scroll 0 0 #000000;
    border-radius: 1px 1px 1px 1px;
    float: left;
    height: 70px;
    width: 70px;
}

.newsticker-right {
    background: none repeat scroll 0 0 yellow;
    float: left;
    margin-left: 20px;
    margin-top: 7px;
    width: 377px;
}

.newsticker-right span.cat {
    color: #808080;
    display: block;
    font-size: 12px;
}

.clear { clear: both; }

       
	/****News Ticker End****/                        
                        

JavaScript Code

                        
                                                
                        
                        
                                                
                        
                        
                                                
                        

PHP Source Code

3 Comment

  • Issac Wise

    July 3, 2020 at 2:14 pm

    Wouldn’t it be better practice to use get_the_title(..) in this case? directly accessing the post object’s data member would bypass applying filters and enforcing protected and private settings, unless that’s explicitly desired.

    Reply
    • Hans Down

      44 mins ago

      Thenks Demo User for Wouldn’t it be better practice to use get_the_title.

      Reply
    • Hans Down

      44 mins ago

      Dropped a clanger up the kyver easy peasy vagabond victoria sponge Charles tinkety tonk old fruit argy.!

      Reply
  • Chauffina Carr

    04 mins ago

    Wouldn’t it be better practice to use get_the_title(..) in this case? directly accessing the post object’s data member would bypass applying filters and enforcing protected and private settings, unless that’s explicitly desired.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *