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.
CSS Source Code
/****Slide Show with Arrows Start****/
#slider-containeroutter {
border: 1px solid;
height: 275px;
overflow: hidden;
}
#slider-container {
background: none repeat scroll 0 0 #F1F2F3;
border: 11px solid #FFFFFF;
height: 243px;
margin-left: auto;
margin-right: auto;
width: 567px;
}
#slider{}
#slider ul, #slider li{
margin:0;
padding:0;
list-style:none;
}
/*This Controls the width and height of the images in the slide show*/
#slider li{
width:568px;
height:241px;
overflow:hidden;
}
#slider li img{
border:none;
}
#prevBtn {
border: medium none;
display: block;
float: left;
height: 101px;
left: -95px;
position: relative;
top: -155px;
width: 60px;
}
#nextBtn {
display: block;
float: right;
height: 101px;
position: relative;
right: -95px;
top: -155px;
width: 60px;
}
#prevBtn a, #nextBtn a {
background: url("http://ifeanyioluoha.com/wp-content/uploads/2011/11/left.png") no-repeat scroll 0 0 transparent;
color: transparent;
display: block;
height: 100px;
width: 87px;
}
#nextBtn a{
background:url(http://ifeanyioluoha.com/wp-content/uploads/2011/11/right.png) no-repeat 0 0;
}
/****Slide Show with Arrows End****/
/****Slide Show with Arrows Start****/
#slider-containeroutter {
border: 1px solid;
height: 275px;
overflow: hidden;
}
#slider-container {
background: none repeat scroll 0 0 #F1F2F3;
border: 11px solid #FFFFFF;
height: 243px;
margin-left: auto;
margin-right: auto;
width: 567px;
}
#slider{}
#slider ul, #slider li{
margin:0;
padding:0;
list-style:none;
}
/*This Controls the width and height of the images in the slide show*/
#slider li{
width:568px;
height:241px;
overflow:hidden;
}
#slider li img{
border:none;
}
#prevBtn {
border: medium none;
display: block;
float: left;
height: 101px;
left: -95px;
position: relative;
top: -155px;
width: 60px;
}
#nextBtn {
display: block;
float: right;
height: 101px;
position: relative;
right: -95px;
top: -155px;
width: 60px;
}
#prevBtn a, #nextBtn a {
background: url("http://ifeanyioluoha.com/wp-content/uploads/2011/11/left.png") no-repeat scroll 0 0 transparent;
color: transparent;
display: block;
height: 100px;
width: 87px;
}
#nextBtn a{
background:url(http://ifeanyioluoha.com/wp-content/uploads/2011/11/right.png) no-repeat 0 0;
}
/****Slide Show with Arrows End****/
/****Slide Show with Arrows Start****/
#slider-containeroutter {
border: 1px solid;
height: 275px;
overflow: hidden;
}
#slider-container {
background: none repeat scroll 0 0 #F1F2F3;
border: 11px solid #FFFFFF;
height: 243px;
margin-left: auto;
margin-right: auto;
width: 567px;
}
#slider{}
#slider ul, #slider li{
margin:0;
padding:0;
list-style:none;
}
/*This Controls the width and height of the images in the slide show*/
#slider li{
width:568px;
height:241px;
overflow:hidden;
}
#slider li img{
border:none;
}
#prevBtn {
border: medium none;
display: block;
float: left;
height: 101px;
left: -95px;
position: relative;
top: -155px;
width: 60px;
}
#nextBtn {
display: block;
float: right;
height: 101px;
position: relative;
right: -95px;
top: -155px;
width: 60px;
}
#prevBtn a, #nextBtn a {
background: url("http://ifeanyioluoha.com/wp-content/uploads/2011/11/left.png") no-repeat scroll 0 0 transparent;
color: transparent;
display: block;
height: 100px;
width: 87px;
}
#nextBtn a{
background:url(http://ifeanyioluoha.com/wp-content/uploads/2011/11/right.png) no-repeat 0 0;
}
/****Slide Show with Arrows End****/
JavaScript Code

3 Comment
Issac Wise
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.
ReplyHans Down
Thenks Demo User for Wouldn’t it be better practice to use get_the_title.
ReplyHans Down
Dropped a clanger up the kyver easy peasy vagabond victoria sponge Charles tinkety tonk old fruit argy.!
ReplyChauffina Carr
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