Use the "cover" parameter in intro object to add a picture to the message box. As the value specify the path to the image.
Recommended image width: 320px
<script src="../js/jquery-3.1.1.min.js"></script>
<link rel="stylesheet" href="../css/iGuider.css">
<script src="../js/jquery.iGuider.js"></script>
<link rel="stylesheet" href="../themes/material/iGuider-theme-material.css">
<script src="../themes/material/iGuider-theme-material.js"></script>
<script>
$(window).on('load',function(){
$('.start-tour').on('click',function(){
iGuider({
tourTitle:'intro.cover',
intro:{
cover:'../doc_files/images/hello.gif'
},
steps:[{
title:'Step 1',
content:'Step 1 Description',
target:'el-1'
},{
title:'Step 2',
content:'Step 2 Description',
target:'el-2'
},{
title:'Step 3',
content:'Step 3 Description',
target:'el-3'
}]
});
return false;
});
})
</script>
<p><a class="btn start-tour" href="#">Start Tour</a></p>
<span class="custom-element" data-target="el-1">Element 1 </span>
<span class="custom-element" data-target="el-2">Element 2 </span>
<span class="custom-element" data-target="el-3">Element 3 </span>