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.
                                
                        
                        
                        

Pictured:

                        
                        
                        

Pictured:

                        
                        
                        

Pictured:

CSS Source Code

                        
                        /* Background Slideshow Start*/


.break { clear:both; }

/* HEADER */
#headeroutter2 {
    border-bottom: 1px solid #CFCFCF;
    height: 400px;
}

.headerimg { background-position: center top; background-repeat: no-repeat; width:100%; height:400px; position:absolute; }

#headerinner2 {
    display: table;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    width: 1211px;
}

/* HEADER TEXT */
#headertxt {
    background: url("http://allinonegeek.com/slideshowimages/textbg.png") repeat scroll 0 0 transparent;
    border-radius: 1px 1px 1px 1px;
    float: left;
    margin: 265px auto 0 15px;
    width: 350px;
}

#firstline {
    color: #333333;
    display: block;
    float: left;
    font-size: 16px;
    padding: 4px 13px 7px;
}

#secondline {
    clear: both;
    color: #CD2B3A;
    display: block;
    float: left;
    font-size: 22px;
    padding: 0 13px 10px;
    text-decoration: none;
}

#secondline:hover { 
text-decoration:underline; 
color:#7F000C; 
}

.pictured {
    clear: both;
    color: #000000;
    display: block;
    float: left;
    font-size: 12px;
    margin-top: 10px;
    padding: 9px 16px;
    text-transform: uppercase;
}

.pictured a {
    color: #000000;
    font-size: 16px;
    font-style: italic;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.pictured a:hover { 
text-decoration:underline; 
}

/* CONTROLS */


#back {
    background-image: url("http://allinonegeek.com/slideshowimages/btn_back.png");
    background-position: left center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

#next {
    background-image: url("http://allinonegeek.com/slideshowimages/btn_next.png");
    background-position: right center;
    background-repeat: no-repeat;
	cursor: pointer;
	height: 100%;
    width: 100%;
}
#control { 
	background-image:url("http://allinonegeek.com/slideshowimages/btn_pause.png");
	background-repeat: no-repeat;
    cursor: pointer;
	height: 100%;
    width: 100%;
 }
 
#back, #next {
    background-size: 50px auto;
}

/* HEADER HAVIGATION */


.headerinner2-left {
    float: left;
    height: 400px;
    width: 65px;
}

.headerinner2-right {
    float: right;
    height: 400px;
    width: 65px;
}
/* Background Slideshow End*/                        
                        
                        
                        /* Background Slideshow Start*/


.break { clear:both; }

/* HEADER */
#headeroutter2 {
    border-bottom: 1px solid #CFCFCF;
    height: 400px;
}

.headerimg { background-position: center top; background-repeat: no-repeat; width:100%; height:400px; position:absolute; }

#headerinner2 {
    display: table;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    width: 1211px;
}

/* HEADER TEXT */
#headertxt {
    background: url("http://allinonegeek.com/slideshowimages/textbg.png") repeat scroll 0 0 transparent;
    border-radius: 1px 1px 1px 1px;
    float: left;
    margin: 265px auto 0 15px;
    width: 350px;
}

#firstline {
    color: #333333;
    display: block;
    float: left;
    font-size: 16px;
    padding: 4px 13px 7px;
}

#secondline {
    clear: both;
    color: #CD2B3A;
    display: block;
    float: left;
    font-size: 22px;
    padding: 0 13px 10px;
    text-decoration: none;
}

#secondline:hover { 
text-decoration:underline; 
color:#7F000C; 
}

.pictured {
    clear: both;
    color: #000000;
    display: block;
    float: left;
    font-size: 12px;
    margin-top: 10px;
    padding: 9px 16px;
    text-transform: uppercase;
}

.pictured a {
    color: #000000;
    font-size: 16px;
    font-style: italic;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.pictured a:hover { 
text-decoration:underline; 
}

/* CONTROLS */


#back {
    background-image: url("http://allinonegeek.com/slideshowimages/btn_back.png");
    background-position: left center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

#next {
    background-image: url("http://allinonegeek.com/slideshowimages/btn_next.png");
    background-position: right center;
    background-repeat: no-repeat;
	cursor: pointer;
	height: 100%;
    width: 100%;
}
#control { 
	background-image:url("http://allinonegeek.com/slideshowimages/btn_pause.png");
	background-repeat: no-repeat;
    cursor: pointer;
	height: 100%;
    width: 100%;
 }
 
#back, #next {
    background-size: 50px auto;
}

/* HEADER HAVIGATION */


.headerinner2-left {
    float: left;
    height: 400px;
    width: 65px;
}

.headerinner2-right {
    float: right;
    height: 400px;
    width: 65px;
}
/* Background Slideshow End*/                        
                        
                        
                        /* Background Slideshow Start*/


.break { clear:both; }

/* HEADER */
#headeroutter2 {
    border-bottom: 1px solid #CFCFCF;
    height: 400px;
}

.headerimg { background-position: center top; background-repeat: no-repeat; width:100%; height:400px; position:absolute; }

#headerinner2 {
    display: table;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    width: 1211px;
}

/* HEADER TEXT */
#headertxt {
    background: url("http://allinonegeek.com/slideshowimages/textbg.png") repeat scroll 0 0 transparent;
    border-radius: 1px 1px 1px 1px;
    float: left;
    margin: 265px auto 0 15px;
    width: 350px;
}

#firstline {
    color: #333333;
    display: block;
    float: left;
    font-size: 16px;
    padding: 4px 13px 7px;
}

#secondline {
    clear: both;
    color: #CD2B3A;
    display: block;
    float: left;
    font-size: 22px;
    padding: 0 13px 10px;
    text-decoration: none;
}

#secondline:hover { 
text-decoration:underline; 
color:#7F000C; 
}

.pictured {
    clear: both;
    color: #000000;
    display: block;
    float: left;
    font-size: 12px;
    margin-top: 10px;
    padding: 9px 16px;
    text-transform: uppercase;
}

.pictured a {
    color: #000000;
    font-size: 16px;
    font-style: italic;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.pictured a:hover { 
text-decoration:underline; 
}

/* CONTROLS */


#back {
    background-image: url("http://allinonegeek.com/slideshowimages/btn_back.png");
    background-position: left center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

#next {
    background-image: url("http://allinonegeek.com/slideshowimages/btn_next.png");
    background-position: right center;
    background-repeat: no-repeat;
	cursor: pointer;
	height: 100%;
    width: 100%;
}
#control { 
	background-image:url("http://allinonegeek.com/slideshowimages/btn_pause.png");
	background-repeat: no-repeat;
    cursor: pointer;
	height: 100%;
    width: 100%;
 }
 
#back, #next {
    background-size: 50px auto;
}

/* HEADER HAVIGATION */


.headerinner2-left {
    float: left;
    height: 400px;
    width: 65px;
}

.headerinner2-right {
    float: right;
    height: 400px;
    width: 65px;
}
/* Background Slideshow 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 *